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 |
---|---|---|
_ctypes | ||
_sqlite | ||
cjkcodecs | ||
expat | ||
zlib | ||
Setup.config.in | -rw-r--r-- | 406 bytes |
Setup.dist | -rw-r--r-- | 15.1 KB |
_bisectmodule.c | -rw-r--r-- | 5.9 KB |
_bsddb.c | -rw-r--r-- | 166.1 KB |
_codecsmodule.c | -rw-r--r-- | 29.3 KB |
_collectionsmodule.c | -rw-r--r-- | 33.8 KB |
_csv.c | -rw-r--r-- | 42.1 KB |
_curses_panel.c | -rw-r--r-- | 12.3 KB |
_cursesmodule.c | -rw-r--r-- | 79.2 KB |
_elementtree.c | -rw-r--r-- | 70.6 KB |
_fileio.c | -rw-r--r-- | 19.9 KB |
_functoolsmodule.c | -rw-r--r-- | 7.9 KB |
_hashopenssl.c | -rw-r--r-- | 14.7 KB |
_heapqmodule.c | -rw-r--r-- | 17.7 KB |
_localemodule.c | -rw-r--r-- | 17.2 KB |
_lsprof.c | -rw-r--r-- | 23.4 KB |
_randommodule.c | -rw-r--r-- | 13.9 KB |
_sre.c | -rw-r--r-- | 96.9 KB |
_ssl.c | -rw-r--r-- | 42.4 KB |
_struct.c | -rw-r--r-- | 49.8 KB |
_testcapimodule.c | -rw-r--r-- | 28.8 KB |
_tkinter.c | -rw-r--r-- | 69.2 KB |
_typesmodule.c | -rw-r--r-- | 2.5 KB |
_weakref.c | -rw-r--r-- | 3.1 KB |
addrinfo.h | -rw-r--r-- | 5.7 KB |
ar_beos | -rwxr-xr-x | 1.8 KB |
arraymodule.c | -rw-r--r-- | 52.8 KB |
atexitmodule.c | -rw-r--r-- | 6.3 KB |
audioop.c | -rw-r--r-- | 57.8 KB |
binascii.c | -rw-r--r-- | 41.9 KB |
bsddb.h | -rw-r--r-- | 7.7 KB |
bz2module.c | -rw-r--r-- | 48.3 KB |
cStringIO.c | -rw-r--r-- | 19.7 KB |
cmathmodule.c | -rw-r--r-- | 8.0 KB |
config.c.in | -rw-r--r-- | 1.4 KB |
cryptmodule.c | -rw-r--r-- | 1.2 KB |
datetimemodule.c | -rw-r--r-- | 134.9 KB |
dbmmodule.c | -rw-r--r-- | 9.4 KB |
dlmodule.c | -rw-r--r-- | 5.9 KB |
errnomodule.c | -rw-r--r-- | 23.2 KB |
fcntlmodule.c | -rw-r--r-- | 15.3 KB |
fpectlmodule.c | -rw-r--r-- | 10.9 KB |
fpetestmodule.c | -rw-r--r-- | 5.5 KB |
gc_weakref.txt | -rw-r--r-- | 11.2 KB |
gcmodule.c | -rw-r--r-- | 39.3 KB |
gdbmmodule.c | -rw-r--r-- | 14.7 KB |
getaddrinfo.c | -rw-r--r-- | 15.5 KB |
getbuildinfo.c | -rw-r--r-- | 1.0 KB |
getnameinfo.c | -rw-r--r-- | 5.5 KB |
getpath.c | -rw-r--r-- | 20.2 KB |
grpmodule.c | -rw-r--r-- | 4.7 KB |
itertoolsmodule.c | -rw-r--r-- | 63.9 KB |
ld_so_aix | -rwxr-xr-x | 6.0 KB |
ld_so_beos | -rwxr-xr-x | 1.8 KB |
main.c | -rw-r--r-- | 14.9 KB |
makesetup | -rwxr-xr-x | 7.3 KB |
makexp_aix | -rwxr-xr-x | 3.2 KB |
mathmodule.c | -rw-r--r-- | 13.3 KB |
md5module.c | -rw-r--r-- | 14.7 KB |
mmapmodule.c | -rw-r--r-- | 33.3 KB |
nismodule.c | -rw-r--r-- | 9.4 KB |
operator.c | -rw-r--r-- | 17.0 KB |
ossaudiodev.c | -rw-r--r-- | 31.9 KB |
parsermodule.c | -rw-r--r-- | 89.9 KB |
posixmodule.c | -rw-r--r-- | 185.3 KB |
pwdmodule.c | -rw-r--r-- | 4.8 KB |
pyexpat.c | -rw-r--r-- | 60.4 KB |
python.c | -rw-r--r-- | 560 bytes |
readline.c | -rw-r--r-- | 23.8 KB |
resource.c | -rw-r--r-- | 8.6 KB |
rotatingtree.c | -rw-r--r-- | 2.8 KB |
rotatingtree.h | -rw-r--r-- | 901 bytes |
selectmodule.c | -rw-r--r-- | 17.4 KB |
sha1module.c | -rw-r--r-- | 13.8 KB |
sha256module.c | -rw-r--r-- | 21.9 KB |
sha512module.c | -rw-r--r-- | 27.5 KB |
signalmodule.c | -rw-r--r-- | 17.6 KB |
socketmodule.c | -rw-r--r-- | 126.7 KB |
socketmodule.h | -rw-r--r-- | 6.3 KB |
spwdmodule.c | -rw-r--r-- | 4.6 KB |
sre.h | -rw-r--r-- | 2.6 KB |
sre_constants.h | -rw-r--r-- | 2.4 KB |
symtablemodule.c | -rw-r--r-- | 2.4 KB |
syslogmodule.c | -rw-r--r-- | 6.7 KB |
termios.c | -rw-r--r-- | 18.4 KB |
testcapi_long.h | -rw-r--r-- | 4.2 KB |
threadmodule.c | -rw-r--r-- | 18.6 KB |
timemodule.c | -rw-r--r-- | 27.3 KB |
tkappinit.c | -rw-r--r-- | 4.0 KB |
unicodedata.c | -rw-r--r-- | 34.5 KB |
unicodedata_db.h | -rw-r--r-- | 348.9 KB |
unicodename_db.h | -rw-r--r-- | 939.3 KB |
xxmodule.c | -rw-r--r-- | 9.1 KB |
xxsubtype.c | -rw-r--r-- | 7.4 KB |
yuv.h | -rw-r--r-- | 2.5 KB |
yuvconvert.c | -rw-r--r-- | 3.0 KB |
zipimport.c | -rw-r--r-- | 30.3 KB |
zlibmodule.c | -rw-r--r-- | 28.7 KB |
Computing file changes ...