cpython/Lib
Antoine Pitrou 58098a77e6 Issue #13992: The trashcan mechanism is now thread-safe. This eliminates
sporadic crashes in multi-thread programs when several long deallocator
chains ran concurrently and involved subclasses of built-in container
types.

Because of this change, a couple extension modules compiled for 2.7.4
(those which use the trashcan mechanism, despite it being undocumented)
will not be loadable by 2.7.3 and earlier. However, extension modules
compiled for 2.7.3 and earlier will be loadable by 2.7.4.
2012-09-06 00:59:49 +02:00
..
bsddb Merged revisions 86596 via svnmerge from 2010-11-21 13:34:58 +00:00
compiler Issue #15212: fix typo in compiler module (rename SC_GLOBAL_EXPLICT to SC_GLOBAL_EXPLICIT). 2012-07-02 00:01:22 +02:00
ctypes Issue #6493: Fix handling of c_uint32 bitfields with width of 32 on Windows. 2012-07-18 23:51:05 -05:00
curses Issue #5622: Fix curses.wrapper to raise correct exception if curses 2011-03-09 02:36:51 -08:00
distutils Create ~/.pypirc securely (#13512). 2012-07-03 01:23:46 -04:00
email #15232: correctly mangle From lines in MIME preamble and epilogue 2012-07-22 21:55:12 -04:00
encodings Issue #10807: Remove base64, bz2, hex, quopri, rot13, uu and zlib codecs from 2011-01-02 19:50:36 +00:00
hotshot Fix deprecation warnings in test_hotshot.py 2010-08-03 07:03:40 +00:00
idlelib Issue #13052: Fix IDLE crashing when replace string in Search/Replace dialog ended with '\'. 2012-08-04 21:45:23 +03:00
importlib Issue 10899: Remove function type annotations from the stdlib 2011-01-13 19:08:04 +00:00
json #13769: Enhance docs for ensure_ascii semantics in JSON decoding functions 2012-09-01 07:29:06 +03:00
lib-tk Issue #12288: Consider '0' and '0.0' as valid initialvalue for tkinter SimpleDialog. 2012-07-30 20:04:53 +03:00
lib2to3 re.escape os.sep so that \ is interpreted properly in the regex. 2012-02-13 16:45:47 -08:00
logging Closes #15710: accept long in _checkLevel. 2012-08-29 14:33:14 +01:00
msilib Remove duplication. 2011-10-19 10:39:35 +03:00
multiprocessing Issue #15646: Prevent equivalent of a fork bomb when using multiprocessing 2012-08-14 11:41:19 +01:00
plat-aix3
plat-aix4
plat-atheos set svn:executable on all regen scripts 2010-03-04 02:07:55 +00:00
plat-beos5
plat-darwin
plat-freebsd4 Merged revisions 78644 via svnmerge from 2010-03-04 02:11:41 +00:00
plat-freebsd5 Merged revisions 78644 via svnmerge from 2010-03-04 02:11:41 +00:00
plat-freebsd6 Merged revisions 78644 via svnmerge from 2010-03-04 02:11:41 +00:00
plat-freebsd7 Merged revisions 78644 via svnmerge from 2010-03-04 02:11:41 +00:00
plat-freebsd8 Merged revisions 78644 via svnmerge from 2010-03-04 02:11:41 +00:00
plat-generic
plat-irix5 remove executable property from doc files 2010-03-11 21:50:45 +00:00
plat-irix6 Merged revisions 77593,77702-77703,77858,77887,78113-78115,78117,78245,78385-78386,78496,78760,78771-78773,78802 via svnmerge from 2010-03-21 19:29:04 +00:00
plat-linux2
plat-mac Issue #12935: Correct typo in findertools. 2011-09-15 14:07:31 -07:00
plat-netbsd1
plat-next3
plat-os2emx Merged revisions 78644 via svnmerge from 2010-03-04 02:11:41 +00:00
plat-riscos
plat-sunos5 Merged revisions 78678,78680,78682 via svnmerge from 2010-03-05 03:33:11 +00:00
plat-unixware7
pydoc_data update pydoc-topics 2012-02-23 15:18:13 -05:00
site-packages
sqlite3 sqlite3: Fix 64-bit integer handling in user functions on 32-bit architectures 2012-02-21 14:04:46 +02:00
test Issue #13992: The trashcan mechanism is now thread-safe. This eliminates 2012-09-06 00:59:49 +02:00
unittest Issue #8767: Restore building with --disable-unicode. 2012-05-20 10:42:17 +02:00
wsgiref Merged revisions 87797 via svnmerge from 2011-01-06 17:19:05 +00:00
xml #4147: minidom's toprettyxml no longer adds whitespace around a text node when it is the only child of an element. Initial patch by Dan Kenigsberg. 2011-11-18 17:30:28 +02:00
BaseHTTPServer.py Fix issue6085 - Remove the delay caused by fqdn lookup while logging in BaseHTTPRequestHandler 2012-04-29 13:39:16 +08:00
Bastion.py
CGIHTTPServer.py Issue 10484 - Incorporate improvements to CGI module - Suggested by Glenn Linderman. Refactor code and tests 2012-04-12 02:23:23 +08:00
ConfigParser.py Fixes #4686. Reverts redundant picklability code from r74544. 2012-01-23 17:30:53 +01:00
Cookie.py Fix for issue14426 - buildbots here I come 2012-05-20 16:56:24 +08:00
DocXMLRPCServer.py
HTMLParser.py #14538: HTMLParser can now parse correctly start tags that contain a bare /. 2012-04-18 19:08:41 -06:00
MimeWriter.py
Queue.py
SimpleHTTPServer.py merge from 2.5 branch. 2011-03-17 14:23:24 +08:00
SimpleXMLRPCServer.py Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer 2012-02-18 14:30:34 +01:00
SocketServer.py Fix the patch for issue #7978: select() raises select.error before 3.3, not OSError. 2012-04-09 01:41:34 +02:00
StringIO.py raise an ValueError in getvalue() on closed StringIO (closes #12161) 2011-05-26 09:56:41 -05:00
UserDict.py keep UserDict an old-style class 2010-06-22 18:09:02 +00:00
UserList.py
UserString.py
_LWPCookieJar.py
_MozillaCookieJar.py Merged revisions 83392,83426 via svnmerge from 2010-08-01 22:05:31 +00:00
__future__.py #14494: Document that absolute imports became default in 3.0 instead of 2.7. 2012-05-19 18:36:04 +03:00
__phello__.foo.py
_abcoll.py Remove the function annotations from _abcoll.py 2011-01-12 20:46:15 +00:00
_pyio.py Issue #15841: The readable(), writable() and seekable() methods of io.BytesIO 2012-09-05 20:11:49 +02:00
_strptime.py Followup to issue #14157: respect the relative ordering of values produced by time.strptime(). 2012-05-14 19:44:59 +02:00
_threading_local.py Issue #9707: Rewritten reference implementation of threading.local which 2010-09-07 22:06:17 +00:00
_weakrefset.py Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive. 2012-03-04 22:02:17 -06:00
abc.py Use weakrefs to hold onto classes #2521. 2010-08-21 03:03:22 +00:00
aifc.py Issue #13589: Fix some serialization primitives in the aifc module. 2012-01-17 17:13:04 +01:00
antigravity.py
anydbm.py Add docstring to anydbm.open 2011-05-01 02:02:30 +02:00
argparse.py #12776,#11839: call argparse type function only once. 2012-08-31 23:15:28 -04:00
ast.py Issue #11000 ast.parse doc fix (r88172) 2011-01-24 21:48:11 +00:00
asynchat.py
asyncore.py fix #10340: properly handle EINVAL on OSX and also avoid to call handle_connect() in case of a disconnetected socket which is not meant to connect. 2012-03-22 16:06:43 +01:00
atexit.py
audiodev.py
base64.py #1466065: add validate option to base64.b64decode 2010-11-11 20:09:20 +00:00
bdb.py Have Bdb frame_returning in the finally clause 2012-05-01 10:46:59 +08:00
binhex.py Merged revisions 77310-77311 via svnmerge from 2010-08-02 00:24:26 +00:00
bisect.py
cProfile.py Merged revisions 82805-82806,83523-83527,83536,83538,83542,83546-83548,83550-83555,83558,83560 via svnmerge from 2010-10-06 08:26:09 +00:00
calendar.py Merged revisions 85728,85731,85735,85766-85771,85773,85777 via svnmerge from 2010-11-26 08:52:36 +00:00
cgi.py Fix closes Issue12529 - cgi.parse_header failure on double quotes and 2011-10-20 00:52:24 +08:00
cgitb.py Merged revisions 79558 via svnmerge from 2010-08-02 20:26:41 +00:00
chunk.py
cmd.py Issue 15337: help() shown as undocumented 2012-07-16 00:11:05 -07:00
code.py
codecs.py #7475: add (un)transform method to bytes/bytearray and str, add back codecs that can be used with them from Python 2. 2010-12-02 18:06:51 +00:00
codeop.py
collections.py Minor formatting fix=up 2012-06-09 17:27:23 -07:00
colorsys.py
commands.py
compileall.py Clarify compileall command-line options (#10454). 2011-09-01 20:04:50 +02:00
contextlib.py Issue #10859: Make `contextlib.GeneratorContextManager` officially 2011-01-08 09:55:31 +00:00
cookielib.py Use raw strings for docstrings with backslashes in ASCII diagrams 2012-02-26 01:33:22 +01:00
copy.py Merged revisions 84495-84496 via svnmerge from 2010-09-04 17:52:26 +00:00
copy_reg.py
csv.py #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 12:34:31 +02:00
dbhash.py Merged revisions 77310-77311 via svnmerge from 2010-08-02 00:24:26 +00:00
decimal.py Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs. 2012-08-24 20:06:30 +01:00
difflib.py Issue 11747: Fix output format for context diffs. 2011-04-12 15:48:25 -07:00
dircache.py
dis.py As per python-dev discussion with Eli, properly document and publish dis.show_code 2010-09-10 14:08:04 +00:00
doctest.py #12757: Make doctest skipping in -OO mode work with unittest/regrtest -v 2012-03-21 15:02:30 -04:00
dumbdbm.py
dummy_thread.py
dummy_threading.py
filecmp.py Issue 11802: filecmp cache was growing without bound. 2011-06-25 17:14:53 +02:00
fileinput.py #1286: allow using fileinput.FileInput as context manager. 2010-07-31 20:08:15 +00:00
fnmatch.py Re-apply r83871. 2010-08-13 16:26:40 +00:00
formatter.py Merged revisions 77310-77311 via svnmerge from 2010-08-02 00:24:26 +00:00
fpformat.py
fractions.py Make Fraction(-1).__hash__() return -2 rather than -1 (see issue 10356). 2010-11-13 10:27:38 +00:00
ftplib.py Issue #10883: Fix socket leaks in urllib.request. 2011-07-23 15:51:16 +02:00
functools.py Issue #11628: cmp_to_key should use__slots__. 2011-03-22 13:20:59 -07:00
genericpath.py Merged revisions 78018,78035-78040,78042-78043,78046,78048-78052,78054,78059,78075-78080 via svnmerge from 2010-03-14 10:23:39 +00:00
getopt.py remove pointless coding cookies 2010-08-30 14:05:50 +00:00
getpass.py issue11236 getpass.getpass to respond ctrl-c or ctrl-z 2011-04-26 21:02:26 +08:00
gettext.py #11515: fix several typos. Patch by Piotr Kasprzyk. 2011-03-15 18:55:01 +02:00
glob.py Issue #8767: Restore building with --disable-unicode. 2012-05-20 10:42:17 +02:00
gzip.py Issue #13781: Fix GzipFile to work with os.fdopen()'d file objects. 2012-01-19 00:40:46 +02:00
hashlib.py Consistently raise a TypeError when a non str is passed to hashlib.new 2012-07-21 21:22:16 -07:00
heapq.py Issue 13274: Make the pure python code for heapq more closely match the C implementation for an undefined corner case. 2011-10-30 14:29:06 -07:00
hmac.py speed hack can be implemented more cleanly by directly calling __new__ 2010-08-21 02:45:15 +00:00
htmlentitydefs.py
htmllib.py
httplib.py Fix Issue14721: Send Content-length: 0 for empty body () in the http.request 2012-05-19 16:52:21 +08:00
ihooks.py
imaplib.py Issue #1441530: In imaplib, use makefile() to wrap the SSL socket to avoid 2011-05-24 23:10:54 +02:00
imghdr.py
imputil.py Merged revisions 77310-77311 via svnmerge from 2010-08-02 00:24:26 +00:00
inspect.py Revert part of 13f56cd8dec1 (issue #1785) to avoid breaking getmembers() with unbound methods. 2012-01-18 17:39:01 +01:00
io.py remove basically bitrotted XXXs 2012-05-07 22:23:48 -04:00
keyword.py Fix instructions on how to rebuild some modules 2012-02-26 01:26:09 +01:00
linecache.py Issue #10335: Add tokenize.open(), detect the file encoding using 2010-11-09 01:08:59 +00:00
locale.py Issue #8767: Restore building with --disable-unicode. 2012-05-20 10:42:17 +02:00
macpath.py Merged revisions 84701,84784 via svnmerge from 2010-09-13 20:31:34 +00:00
macurl2path.py
mailbox.py #11062: Fix adding a message from file to Babyl mailbox 2012-08-15 14:25:41 +03:00
mailcap.py Merged revisions 80368-80369 via svnmerge from 2010-04-22 13:56:42 +00:00
markupbase.py #13576: add tests about the handling of (possibly broken) condcoms. 2011-12-19 07:28:08 +02:00
md5.py
mhlib.py
mimetools.py
mimetypes.py #15199: Fix JavaScript's default MIME type to application/javascript 2012-08-20 21:28:46 +03:00
mimify.py
modulefinder.py Silence ResourceWarnings in modulefinder by using file context managers. 2010-10-30 00:26:48 +00:00
multifile.py
mutex.py
netrc.py fix regression in netrc comment handling (closes #12009) 2011-06-10 11:32:52 -05:00
new.py
nntplib.py #11515: fix several typos. Patch by Piotr Kasprzyk. 2011-03-15 18:55:01 +02:00
ntpath.py Correction to f1509fc75435 - Issue #11583 2011-06-09 10:00:42 -05:00
nturl2path.py Fix Issue11474 - url2pathname() handling of '/C|/' on Windows 2011-04-14 12:54:35 +08:00
numbers.py Update docstring with more useful text (from the PEP) 2012-02-26 01:37:47 +01:00
opcode.py #4617: Previously it was illegal to delete a name from the local 2010-09-10 21:39:53 +00:00
optparse.py #8158: add missing 'description' description to optparse docstring. 2011-05-04 21:05:52 -04:00
os.py merge 2.6 with hash randomization fix 2012-02-20 21:44:56 -05:00
os2emxpath.py #9018: os.path.normcase() now raises a TypeError if the argument is not str or bytes. 2010-06-25 10:56:11 +00:00
pdb.doc #9279: remove the pdb.doc file, put its contents in pdb.__doc__. Also sync this and the pdb docs, introduce a new directive for pdb commands and a role to link to them. 2010-07-18 10:11:03 +00:00
pdb.py PDB now will properly escape backslashes in the names of modules it executes. Fixes #7750 2011-11-17 18:03:24 -05:00
pickle.py Issue #7689: Allow pickling of dynamically created classes when their 2011-10-04 09:34:48 +02:00
pickletools.py #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 12:34:31 +02:00
pipes.py Remove obsolete comment 2011-09-01 22:06:49 +02:00
pkgutil.py Issue #7367: Fix pkgutil.walk_paths to skip directories whose 2011-10-06 14:17:47 -07:00
platform.py merge from fb225c289bf0 2012-02-01 15:17:39 -06:00
plistlib.py Merged revisions 80279 via svnmerge from 2010-04-20 21:00:34 +00:00
popen2.py
poplib.py fix issue #8807: adds a context parameter to POP3_SSL class. 2010-08-17 16:09:53 +00:00
posixfile.py
posixpath.py #15342: Add clarifying sentence to posixpath.join docstring. 2012-07-21 14:37:29 -04:00
pprint.py Have pprint() respect the order in an OrderedDict. 2010-09-09 12:31:00 +00:00
profile.py fix ws 2011-06-28 21:57:21 -05:00
pstats.py Merge #12417 followup, also removing an extra docstring 2011-07-28 22:32:04 +02:00
pty.py Issue #2489: Fix bug in _copy loop that could consume 100% cpu on EOF. 2012-02-16 00:40:03 -08:00
py_compile.py Add an "optimize" parameter to compile() to control the optimization level, and provide an interface to it in py_compile, compileall and PyZipFile. 2010-12-04 10:26:46 +00:00
pyclbr.py #14798: pyclbr now raises ImportError instead of KeyError for missing packages 2012-05-18 21:54:25 +03:00
pydoc.py #14638: pydoc now treats non-str __name__ as None instead of raising 2012-04-23 13:27:11 -04:00
quopri.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
random.py Code simplification suggested by Sven Marnach. 2011-06-25 11:24:35 +02:00
re.py remove extra zero 2012-02-21 08:08:29 -05:00
repr.py
rexec.py
rfc822.py Remove duplication. 2011-10-19 10:39:35 +03:00
rlcompleter.py Closes #14411: remove outdated comment in rlcompleter docstring. 2012-03-27 07:46:46 +02:00
robotparser.py Merged revisions 83449 via svnmerge from 2010-08-01 22:00:39 +00:00
runpy.py Merged revisions 85398 via svnmerge from 2010-10-13 01:10:16 +00:00
sched.py Remove duplication. 2011-10-19 10:39:35 +03:00
sets.py Merged revisions 77310-77311 via svnmerge from 2010-08-02 00:24:26 +00:00
sgmllib.py
sha.py
shelve.py #7905: Actually respect the keyencoding parameter to shelve.Shelf. 2010-12-04 11:12:43 +00:00
shlex.py Merged revisions 85861 via svnmerge from 2010-10-27 18:54:06 +00:00
shutil.py Fix wrong way of adding Error information in shutil.copytree. 2012-08-25 10:11:57 +02:00
site.py Issue #10881: Fix test_site failures with OS X framework builds. 2012-02-06 00:55:50 +01:00
smtpd.py Issue #9168: now smtpd is able to bind privileged port. 2011-10-20 23:21:58 +02:00
smtplib.py Provide a better diagnosis on socket errors 2011-08-28 01:18:31 +02:00
sndhdr.py Merged revisions 75407,75409-75413,75415,75419-75421 via svnmerge from 2010-08-03 03:19:00 +00:00
socket.py Merged revisions 88622 via svnmerge from 2011-02-25 23:14:08 +00:00
sre.py
sre_compile.py Issue #8990: array.fromstring() and array.tostring() get renamed to 2010-09-01 20:29:34 +00:00
sre_constants.py
sre_parse.py Merged revisions 78729 via svnmerge from 2010-03-06 15:27:04 +00:00
ssl.py Issue #13636: Weak ciphers are now disabled by default in the ssl module 2012-01-03 22:46:48 +01:00
stat.py Issue #8746: Correct faulty configure checks so that os.chflags() and 2011-06-27 23:41:53 -07:00
statvfs.py
string.py #13579: minimize code base drift for 'a' string.Formatter change. 2012-08-19 17:57:29 -04:00
stringold.py
stringprep.py
struct.py Issue #11081: Fixed struct.__all__. Reviewed by Georg Brandl. 2011-01-31 19:27:55 +00:00
subprocess.py Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited. 2012-03-11 19:29:12 +01:00
sunau.py Issue #10265: Close file objects explicitly in sunau. Patch by Brian Brazil. 2010-10-31 21:27:04 +00:00
sunaudio.py
symbol.py Fix instructions on how to rebuild some modules 2012-02-26 01:26:09 +01:00
symtable.py
sysconfig.py Issue #10881: Fix test_site failures with OS X framework builds. 2012-02-06 00:55:50 +01:00
tabnanny.py #1513299: cleanup some map() uses where a comprehension works better. 2010-12-04 10:39:14 +00:00
tarfile.py Issue #14160: TarFile.extractfile() failed to resolve symbolic links when 2012-04-24 22:42:08 +02:00
telnetlib.py Fixes Issue #14635: telnetlib will use poll() rather than select() when possible 2012-07-15 22:16:06 -07:00
tempfile.py Issue #12856: Ensure child processes do not inherit the parent's random seed for filename generation in the tempfile module. 2011-11-25 21:28:15 +01:00
textwrap.py Issue #8767: Restore building with --disable-unicode. 2012-05-20 10:42:17 +02:00
this.py
threading.py Fix #15567. collections.deque wasn't imported 2012-08-09 23:04:42 -05:00
timeit.py Issue 12514: Use try/finally to assure that timeit restores GC when done. 2011-07-28 23:56:38 -07:00
toaiff.py
token.py Fix instructions on how to rebuild some modules 2012-02-26 01:26:09 +01:00
tokenize.py Issue #15054: Fix incorrect tokenization of 'b' and 'br' string literals. 2012-06-16 21:05:50 -05:00
trace.py Fix test failures when Python is compiled without thread support. 2011-08-29 09:37:07 +02:00
traceback.py Merged revisions 80777 via svnmerge from 2010-05-05 12:45:31 +00:00
tty.py
types.py
urllib.py Fix the urllib closing issue which hangs on particular ftp urls/ftp servers. closes issue11199 2012-03-15 13:24:40 -07:00
urllib2.py revert the changes done in d931a3b64fd6 - buildbot failure. 2012-07-08 02:20:27 -07:00
urlparse.py Closes #9374: add back now-unused module attributes; removing them is a backward compatibility issue, since they have a public-seeming name. 2012-08-24 18:17:28 +02:00
user.py
uu.py Merged revisions 86037 via svnmerge from 2010-10-31 16:17:36 +00:00
uuid.py Merged revisions 86192 via svnmerge from 2010-11-05 14:56:16 +00:00
warnings.py Add a new warning gategory, ResourceWarning, as discussed on python-dev. It is silent by default, 2010-10-24 15:11:22 +00:00
wave.py Issue #10783: struct.pack() doesn't encode implicitly unicode to UTF-8 2010-12-28 13:26:42 +00:00
weakref.py Use booleans. 2010-12-03 07:49:09 +00:00
webbrowser.py #12601: fix typo. 2011-07-21 11:18:18 +03:00
whichdb.py Close #13007: whichdb should recognize gdbm 1.9 magic numbers 2011-09-19 16:57:18 +02:00
wsgiref.egg-info
xdrlib.py Issue #9696: Fix exception incorrectly raised by xdrlib.Packer.pack_int when trying to pack a negative (in-range) integer. 2011-03-27 16:15:24 +01:00
xmllib.py
xmlrpclib.py Issue #12931: xmlrpclib now encodes Unicode URI to ISO-8859-1, instead of 2011-09-23 01:15:32 +02:00
zipfile.py #14399: zipfile now correctly handles comments added to empty zipfiles. 2012-04-12 18:42:47 -04:00