Staging
v0.5.1
https://github.com/python/cpython
Revision 709b4c35cc6e6f5db58d9e440b5ca732b7fdb6a2 authored by R. David Murray on 11 February 2010, 00:25:17 UTC, committed by R. David Murray on 11 February 2010, 00:25:17 UTC
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r78139 | r.david.murray | 2010-02-10 19:15:05 -0500 (Wed, 10 Feb 2010) | 15 lines

  Merged revisions 78137 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r78137 | r.david.murray | 2010-02-10 17:42:04 -0500 (Wed, 10 Feb 2010) | 8 lines

    Issue 7835:  Shelve's __del__ method calls its close method, and its
    close method refers to an identifier in the global module namespace.
    This means that when __del__ is called during interpreter shutdown (if,
    for example, the calling program still has a pointer to the shelf),
    sometimes that global identifier would wind up being None, causing
    mysterious 'ignored' exceptions.  This patch checks for the possible None
    value first before using the global, thus avoiding the error messages.
  ........
................
1 parent 5431928
History
Tip revision: 709b4c35cc6e6f5db58d9e440b5ca732b7fdb6a2 authored by R. David Murray on 11 February 2010, 00:25:17 UTC
Merged revisions 78139 via svnmerge from
Tip revision: 709b4c3
File Mode Size
Python-ast.c -rw-r--r-- 267.6 KB
_warnings.c -rw-r--r-- 25.4 KB
asdl.c -rw-r--r-- 1.2 KB
ast.c -rw-r--r-- 100.5 KB
bltinmodule.c -rw-r--r-- 56.3 KB
ceval.c -rw-r--r-- 104.8 KB
codecs.c -rw-r--r-- 25.6 KB
compile.c -rw-r--r-- 100.9 KB
dtoa.c -rw-r--r-- 79.3 KB
dup2.c -rw-r--r-- 685 bytes
dynload_aix.c -rw-r--r-- 4.9 KB
dynload_atheos.c -rw-r--r-- 1.0 KB
dynload_dl.c -rw-r--r-- 564 bytes
dynload_hpux.c -rw-r--r-- 1.3 KB
dynload_next.c -rw-r--r-- 3.4 KB
dynload_os2.c -rw-r--r-- 1023 bytes
dynload_shlib.c -rw-r--r-- 3.2 KB
dynload_stub.c -rw-r--r-- 202 bytes
dynload_win.c -rw-r--r-- 7.8 KB
errors.c -rw-r--r-- 20.3 KB
formatter_unicode.c -rw-r--r-- 537 bytes
frozen.c -rw-r--r-- 1.3 KB
frozenmain.c -rw-r--r-- 2.4 KB
future.c -rw-r--r-- 3.6 KB
getargs.c -rw-r--r-- 47.0 KB
getcompiler.c -rw-r--r-- 366 bytes
getcopyright.c -rw-r--r-- 503 bytes
getcwd.c -rw-r--r-- 1.4 KB
getopt.c -rw-r--r-- 3.1 KB
getplatform.c -rw-r--r-- 130 bytes
getversion.c -rw-r--r-- 290 bytes
graminit.c -rw-r--r-- 35.9 KB
import.c -rw-r--r-- 86.3 KB
importdl.c -rw-r--r-- 2.2 KB
importdl.h -rw-r--r-- 990 bytes
makeopcodetargets.py -rwxr-xr-x 1.3 KB
marshal.c -rw-r--r-- 31.6 KB
modsupport.c -rw-r--r-- 11.8 KB
mysnprintf.c -rw-r--r-- 3.1 KB
mystrtoul.c -rw-r--r-- 6.5 KB
opcode_targets.h -rw-r--r-- 5.4 KB
peephole.c -rw-r--r-- 18.6 KB
pyarena.c -rw-r--r-- 5.8 KB
pyctype.c -rw-r--r-- 7.7 KB
pyfpe.c -rw-r--r-- 623 bytes
pymath.c -rw-r--r-- 6.2 KB
pystate.c -rw-r--r-- 18.3 KB
pystrcmp.c -rw-r--r-- 562 bytes
pystrtod.c -rw-r--r-- 34.0 KB
pythonrun.c -rw-r--r-- 55.1 KB
sigcheck.c -rw-r--r-- 529 bytes
strdup.c -rw-r--r-- 256 bytes
structmember.c -rw-r--r-- 6.9 KB
symtable.c -rw-r--r-- 45.7 KB
sysmodule.c -rw-r--r-- 44.0 KB
thread.c -rw-r--r-- 10.6 KB
thread_atheos.h -rw-r--r-- 6.0 KB
thread_cthread.h -rw-r--r-- 2.7 KB
thread_foobar.h -rw-r--r-- 1.9 KB
thread_lwp.h -rw-r--r-- 3.1 KB
thread_nt.h -rw-r--r-- 8.1 KB
thread_os2.h -rw-r--r-- 5.6 KB
thread_pth.h -rw-r--r-- 5.2 KB
thread_pthread.h -rw-r--r-- 12.1 KB
thread_sgi.h -rw-r--r-- 9.4 KB
thread_solaris.h -rw-r--r-- 3.0 KB
thread_wince.h -rw-r--r-- 4.0 KB
traceback.c -rw-r--r-- 8.3 KB

back to top