cpython/Python
Victor Stinner 63c22fac72 Issue #7732: Fix a crash on importing a module if a directory has the same name
than a Python module (e.g. "__init__.py"): don't close the file twice.

PyFile_FromFile() does also close the file if PyString_FromString() failed. It
did already close the file on fill_file_fields() error (e.g. if the file is a
directory).
2011-09-23 19:37:03 +02:00
..
Python-ast.c allow None identifiers 2011-07-22 17:20:58 -05:00
_warnings.c start out this branch always with filename NULL 2011-07-04 22:27:16 -05:00
asdl.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
ast.c Merged revisions 84209, 84214 via svnmerge from 2010-08-19 21:50:08 +00:00
atof.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
bltinmodule.c Improve docstring for divmod() 2011-07-19 11:59:20 -07:00
ceval.c port 8d05f697acd4 (#11627) 2011-07-15 14:15:40 -05:00
codecs.c Issue #1813: Fix codec lookup and setting/getting locales under Turkish locales. 2011-07-24 02:51:01 +02:00
compile.c Fix misindents in compile.c (for Benjamin). 2010-06-22 21:42:05 +00:00
dtoa.c Remove three unneeded variable assignments. 2010-05-05 20:20:19 +00:00
dup2.c Merged revisions 85236 via svnmerge from 2010-10-05 22:21:03 +00:00
dynload_aix.c Merged revisions 88430,88438,88440 via svnmerge from 2011-02-25 11:09:02 +00:00
dynload_atheos.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
dynload_beos.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
dynload_dl.c
dynload_hpux.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
dynload_next.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
dynload_os2.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
dynload_shlib.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
dynload_stub.c
dynload_win.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
errors.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
formatter_string.c Allow core Python build to succeed under WITHOUT_COMPLEX. The module build stage still fails. 2009-10-15 17:45:39 +00:00
formatter_unicode.c
frozen.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
frozenmain.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
future.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
getargs.c Issue #8651: PyArg_Parse*() functions raise an OverflowError if the file 2011-05-03 15:09:24 +02:00
getcompiler.c
getcopyright.c Merged revisions 87607 via svnmerge from 2011-01-01 14:30:24 +00:00
getcwd.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
getopt.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
getplatform.c
getversion.c Merged revisions 83352,83356-83358,83362,83366,83368-83369 via svnmerge from 2010-08-01 19:14:56 +00:00
graminit.c remove dictmaker rule; it's unused 2010-12-11 04:25:57 +00:00
import.c Issue #7732: Fix a crash on importing a module if a directory has the same name 2011-09-23 19:37:03 +02:00
importdl.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
importdl.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
mactoolboxglue.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
marshal.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
modsupport.c Merged revisions 87251 via svnmerge from 2010-12-15 01:36:03 +00:00
mysnprintf.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
mystrtoul.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
peephole.c Issue #5057: fix a bug in the peepholer that led to non-portable pyc files between narrow and wide builds while optimizing BINARY_SUBSCR on non-BMP chars (e.g. u"\U00012345"[0]). 2011-04-15 16:14:04 +03:00
pyarena.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
pyctype.c
pyfpe.c
pymath.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
pystate.c Issue #10517: After fork(), reinitialize the TLS used by the PyGILState_* 2011-04-27 19:20:48 +02:00
pystrcmp.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
pystrtod.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
pythonrun.c Port #6498 fix: fix several misspellings of "SystemExit" as "SystemError". 2011-05-15 08:50:32 +02:00
sigcheck.c
strdup.c
strtod.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
structmember.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
symtable.c Merged revisions 85757 via svnmerge from 2010-10-20 21:28:09 +00:00
sysmodule.c sys.checkinterval() now refreshes the current countdown ticker. 2011-06-01 18:21:42 -07:00
thread.c #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 12:34:31 +02:00
thread_atheos.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
thread_beos.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
thread_cthread.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
thread_foobar.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
thread_lwp.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
thread_nt.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
thread_os2.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
thread_pth.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
thread_pthread.h Issue #9670: Increase the default stack size for secondary threads on 2011-05-28 00:11:54 -07:00
thread_sgi.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
thread_solaris.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
thread_wince.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
traceback.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00