Staging
v0.8.1
v0.8.1
https://github.com/python/cpython
Revision 18c66898b0a14761786161c07d89d65c8f088601 authored by Christian Heimes on 17 February 2008, 13:31:39 UTC, committed by Christian Heimes on 17 February 2008, 13:31:39 UTC
svn+ssh://pythondev@svn.python.org/python/trunk ........ r60850 | amaury.forgeotdarc | 2008-02-16 01:16:50 +0100 (Sat, 16 Feb 2008) | 3 lines mmap.PROT_READ does not exists on win32; Skip this test created by r60830. ........ r60851 | raymond.hettinger | 2008-02-16 02:22:54 +0100 (Sat, 16 Feb 2008) | 1 line Add __all__ to logging module. ........ r60855 | georg.brandl | 2008-02-16 10:37:32 +0100 (Sat, 16 Feb 2008) | 2 lines #2120: broken links in advocacy document. ........ r60860 | amaury.forgeotdarc | 2008-02-16 15:34:57 +0100 (Sat, 16 Feb 2008) | 23 lines Crashers of the day: Py_CLEAR must be used when there is a chance that the function can be called recursively. This was discussed in issue1020188. In python codebase, all occurrences of Py_[X]DECREF(xxx->yyy) are suspect, except when they appear in tp_new or tp_dealloc functions, or when the member cannot be of a user-defined class. Note that tp_init is not safe. I do have a (crashing) example for every changed line. Is it worth adding them to the test suite? Example: class SpecialStr(str): def __del__(self): s.close() import cStringIO s = cStringIO.StringIO(SpecialStr("text")) s.close() # Segfault ........ r60871 | amaury.forgeotdarc | 2008-02-16 21:55:24 +0100 (Sat, 16 Feb 2008) | 3 lines Prevent a crash with nested scopes, again caused by calling Py_DECREF when the pointer is still present in the containing structure. ........ r60872 | brett.cannon | 2008-02-17 02:59:18 +0100 (Sun, 17 Feb 2008) | 4 lines Move test_logging over to doctest. Thanks to Christopher White from GHOP. ........ r60873 | georg.brandl | 2008-02-17 12:33:38 +0100 (Sun, 17 Feb 2008) | 2 lines #2131: note that codecs.open() always opens files in binary mode. ........
1 parent a156e09
Tip revision: 18c66898b0a14761786161c07d89d65c8f088601 authored by Christian Heimes on 17 February 2008, 13:31:39 UTC
Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678,60680-60683,60685-60686,60688,60690,60692-60694,60697-60700,60705-60706,60708,60711,60714,60720,60724-60730,60732,60736,60742,60744,60746,60748,60750-60751,60753,60756-60757,60759-60761,60763-60764,60766,60769-60770,60774-60784,60787-60789,60793,60796,60799-60809,60812-60813,60815-60821,60823-60826,60828-60829,60831-60834,60836,60838-60839,60846-60873 via svnmerge from
Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678,60680-60683,60685-60686,60688,60690,60692-60694,60697-60700,60705-60706,60708,60711,60714,60720,60724-60730,60732,60736,60742,60744,60746,60748,60750-60751,60753,60756-60757,60759-60761,60763-60764,60766,60769-60770,60774-60784,60787-60789,60793,60796,60799-60809,60812-60813,60815-60821,60823-60826,60828-60829,60831-60834,60836,60838-60839,60846-60873 via svnmerge from
Tip revision: 18c6689
File | Mode | Size |
---|---|---|
Python-ast.c | -rw-r--r-- | 116.8 KB |
asdl.c | -rw-r--r-- | 661 bytes |
ast.c | -rw-r--r-- | 97.7 KB |
atof.c | -rw-r--r-- | 815 bytes |
bltinmodule.c | -rw-r--r-- | 47.8 KB |
ceval.c | -rw-r--r-- | 95.2 KB |
codecs.c | -rw-r--r-- | 20.5 KB |
compile.c | -rw-r--r-- | 100.4 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-- | 561 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-- | 1020 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.5 KB |
errors.c | -rw-r--r-- | 19.7 KB |
formatter_unicode.c | -rw-r--r-- | 484 bytes |
frozen.c | -rw-r--r-- | 1.3 KB |
frozenmain.c | -rw-r--r-- | 1.3 KB |
future.c | -rw-r--r-- | 3.3 KB |
getargs.c | -rw-r--r-- | 43.6 KB |
getcompiler.c | -rw-r--r-- | 366 bytes |
getcopyright.c | -rw-r--r-- | 503 bytes |
getcwd.c | -rw-r--r-- | 1.4 KB |
getmtime.c | -rw-r--r-- | 388 bytes |
getopt.c | -rw-r--r-- | 2.8 KB |
getplatform.c | -rw-r--r-- | 130 bytes |
getversion.c | -rw-r--r-- | 290 bytes |
graminit.c | -rw-r--r-- | 35.8 KB |
hypot.c | -rw-r--r-- | 304 bytes |
import.c | -rw-r--r-- | 81.3 KB |
importdl.c | -rw-r--r-- | 2.0 KB |
importdl.h | -rw-r--r-- | 990 bytes |
mactoolboxglue.c | -rw-r--r-- | 13.7 KB |
marshal.c | -rw-r--r-- | 25.3 KB |
memmove.c | -rw-r--r-- | 439 bytes |
modsupport.c | -rw-r--r-- | 14.7 KB |
mysnprintf.c | -rw-r--r-- | 2.6 KB |
mystrtoul.c | -rw-r--r-- | 6.7 KB |
peephole.c | -rw-r--r-- | 17.5 KB |
pyarena.c | -rw-r--r-- | 5.8 KB |
pyfpe.c | -rw-r--r-- | 623 bytes |
pystate.c | -rw-r--r-- | 17.1 KB |
pystrcmp.c | -rw-r--r-- | 473 bytes |
pystrtod.c | -rw-r--r-- | 6.7 KB |
pythonrun.c | -rw-r--r-- | 48.7 KB |
sigcheck.c | -rw-r--r-- | 529 bytes |
strdup.c | -rw-r--r-- | 256 bytes |
strerror.c | -rw-r--r-- | 416 bytes |
strtod.c | -rw-r--r-- | 5.1 KB |
structmember.c | -rw-r--r-- | 6.6 KB |
symtable.c | -rw-r--r-- | 42.9 KB |
sysmodule.c | -rw-r--r-- | 38.7 KB |
thread.c | -rw-r--r-- | 9.5 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-- | 6.6 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-- | 6.8 KB |
Computing file changes ...