cpython/Lib
Gregory P. Smith d635af5a61 Fixes issue #8052: The posix subprocess module's close_fds behavior was
suboptimal by closing all possible file descriptors rather than just
the open ones in the child process before exec().

It now closes only the open fds when it is possible to safely determine what
those are.
2012-01-21 14:39:29 -08:00
..
collections Merge 2011-11-05 13:39:57 -07:00
concurrent Merge with 3.2 for #12364. 2012-01-08 08:42:03 +02:00
ctypes Issue #13380: add an internal function for resetting the ctypes caches 2011-11-25 22:37:44 -06:00
curses (Merge 3.2) Fix curses module for strict SysV implementation (without has_key function) 2011-11-29 00:06:10 +01:00
dbm Close #13007: whichdb should recognize gdbm 1.9 magic numbers 2011-09-19 17:08:18 +02:00
distutils MERGE: And yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name 2012-01-18 05:05:41 +01:00
email Merge 3.2, fix typos. 2011-11-11 19:39:25 +01:00
encodings Speed up IDNA for the common case 2011-11-10 22:49:20 +01:00
html #13358: HTMLParser now calls handle_data only once for each CDATA. 2011-11-18 18:01:49 +02:00
http Issue #13713: fix a regression in HTTP chunked reading after 806cfe39f729 2012-01-04 18:57:22 +01:00
idlelib Merge with 3.2 #6528 None, True, False are keywords in 3.x. Patch by R. Serwy. 2012-01-16 03:22:33 -05:00
importlib Issue #13588: Rename decorators in importlib. 2012-01-16 11:46:22 -05:00
json Implement PEP 393. 2011-09-28 07:41:54 +02:00
lib2to3 merge 3.2 (#13766) 2012-01-15 21:28:13 -05:00
logging Closes #13807: Merged fix from 3.2. 2012-01-20 11:31:46 +00:00
msilib Remove duplication. 2011-10-19 10:58:56 +03:00
multiprocessing Issue #13565: Increase multiprocessing's server socket backlog, to avoid 2011-12-23 19:07:58 +01:00
packaging Update list of trove classifiers 2011-11-20 16:01:35 +01:00
plat-aix4 Rip out 'long' and 'L'-suffixed integer literals. 2007-01-15 16:59:06 +00:00
plat-darwin These are present in the trunk but no longer in 3.x, which causes problems 2009-03-04 23:21:07 +00:00
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-linux Close #12326: sys.platform is now always 'linux' on Linux 2011-08-20 23:39:26 +02:00
plat-netbsd1
plat-next3
plat-os2emx Merged revisions 78644 via svnmerge from 2010-03-04 02:11:41 +00:00
plat-sunos5 Merged revisions 78678,78680,78682 via svnmerge from 2010-03-05 03:33:11 +00:00
plat-unixware7 Merged revisions 55817-55961 via svnmerge from 2007-06-13 18:07:49 +00:00
pydoc_data Regenerate pydoc topics. 2011-09-03 10:37:09 +02:00
site-packages
sqlite3 Issue #10811: Use TestCase.assertRaises() in the new test 2011-05-09 12:50:41 +02:00
test Fixes issue #8052: The posix subprocess module's close_fds behavior was 2012-01-21 14:39:29 -08:00
tkinter Remove redundant imports. 2011-11-04 08:29:17 +01:00
turtledemo #12677: correct turtle orientation in doc 2011-08-07 17:12:19 +02:00
unittest merge from 3.2 testFnNames is assigned twice. 2011-11-25 02:09:24 +08:00
urllib merge from 3.2 2012-01-21 11:55:40 +08:00
wsgiref Merged revisions 87797 via svnmerge from 2011-01-06 17:18:32 +00:00
xml Fix imports in xml.dom. 2011-12-10 21:14:53 +01:00
xmlrpc Closes #2979: add parameter 'use_builtin_types' to the SimpleXMLRPCServer. 2011-12-09 22:35:06 +01:00
__future__.py barry has already been causing test breakage 2009-04-01 20:38:13 +00:00
__phello__.foo.py
_compat_pickle.py Issue #6137: The pickle module now translates module names when loading 2009-06-04 20:32:06 +00:00
_dummy_thread.py Issue #11223: Replace threading._info() by sys.thread_info 2011-04-30 14:53:09 +02:00
_markupbase.py #13576: add tests about the handling of (possibly broken) condcoms. 2011-12-19 07:29:03 +02:00
_pyio.py Issue #12760: Refer to the new 'x' open mode as "exclusive creation" mode. 2012-01-14 11:51:00 +01:00
_strptime.py PEP 8 conformance: class_ -> cls 2010-07-14 13:46:57 +00:00
_threading_local.py Issue #9707: Rewritten reference implementation of threading.local which 2010-09-07 22:06:17 +00:00
_weakrefset.py Merged revisions 86537,86867-86868,86881,86887,86913-86915,86931-86933,86960,86964,86974,86980,86996,87008,87050 via svnmerge from 2011-02-25 09:48:21 +00:00
abc.py improve abstract property support (closes #11610) 2011-12-15 15:34:02 -05:00
aifc.py Issue #13589: Fix some serialization primitives in the aifc module. 2012-01-17 17:13:04 +01:00
antigravity.py Another hidden treasure. 2009-06-03 17:21:17 +00:00
argparse.py Merge 3.2 2011-10-28 14:52:29 +02:00
ast.py remove ast.__version__ (closes #12273) 2011-07-15 21:10:13 -05:00
asynchat.py Normalize the encoding names for Latin-1 and UTF-8 to 2011-02-25 15:42:01 +00:00
asyncore.py asyncore: POLLERR, POLLHUP and POLLNVAL are ignored when passed as input flag 2011-11-05 14:16:01 +01:00
base64.py #1466065: add validate option to base64.b64decode 2010-11-11 20:09:20 +00:00
bdb.py Issue #10492: bdb.Bdb.run() only traces the execution of the code 2011-01-06 00:49:38 +00:00
binhex.py remove unused imports (closes #12432) 2011-06-28 10:25:04 -05:00
bisect.py Per the language summit, the optional fastpath imports should use from-import-star. 2009-03-31 17:51:51 +00:00
bz2.py Issue #13809: Make bz2 module work with threads disabled. 2012-01-18 01:57:14 +02:00
calendar.py Fix closes Issue10087 - fixing the output of calendar display in the html format. Patch by Chris Lambacher. Test Contributed by catherine. 2011-08-11 09:22:52 +08:00
cgi.py Issue #13248: turn 3.2's PendingDeprecationWarning into 3.3's DeprecationWarning (cgi, importlib, nntplib, smtpd). 2011-12-10 11:07:42 +01:00
cgitb.py remove unused imports (closes #12432) 2011-06-28 10:25:04 -05:00
chunk.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
cmd.py Close #13500: Hitting EOF gets cmd.py into a infinite EOF on return loop 2011-12-06 20:46:57 +01:00
code.py Merged revisions 75264,75268,75293,75318,75391-75392,75436,75478,75971,76003,76058,76140-76141,76231,76380,76428-76429 via svnmerge from 2009-11-25 17:46:26 +00:00
codecs.py #13012: use splitlines(keepends=True/False) instead of splitlines(0/1). 2011-09-28 17:37:55 +03:00
codeop.py Merged revisions 75472 via svnmerge from 2009-10-18 00:34:08 +00:00
colorsys.py Merged revisions 68884,68973,68978,69003,69083,69112-69113 via svnmerge from 2009-01-30 03:39:35 +00:00
compileall.py #10454: a few edits to compileall help messages 2011-09-01 20:00:33 +02:00
configparser.py Merge with 3.2. 2011-10-19 11:06:26 +03:00
contextlib.py remove unused imports (closes #12432) 2011-06-28 10:25:04 -05:00
copy.py #11572: improvements to copy module tests along with removal of old test suite 2011-08-05 23:05:35 +02:00
copyreg.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
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
crypt.py A crypt algorithm may not be available by returning None. 2011-02-22 21:55:51 +00:00
csv.py #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
datetime.py Merge with 3.2. 2011-10-19 11:06:26 +03:00
decimal.py Issue #13248, issue #8540: Remove deprecated Context._clamp attribute from Decimal module. 2011-10-24 10:31:52 +01:00
difflib.py Fix comment in difflib. 2011-12-10 13:02:17 +01:00
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 Followup to #7502: add __hash__ method and tests. 2011-12-18 20:22:50 +01:00
dummy_threading.py Rename thread to _thread and dummy_thread to _dummy_thread. Issue #2875. 2008-05-25 13:05:15 +00:00
filecmp.py Issue 11802: filecmp cache was growing without bound. 2011-06-25 17:20:21 +02:00
fileinput.py fileinput: replace this last occurence of codecs.open with builtins.open. 2011-11-07 19:43:07 +01:00
fnmatch.py Fix BytesWarnings in fnmatch 2011-11-08 18:39:15 +01:00
formatter.py Fix formatter usage of filter(). Bug #3800. 2008-09-09 19:31:25 +00:00
fractions.py Make Fraction(-1).__hash__() return -2 rather than -1 (see issue 10356). 2010-11-13 10:27:38 +00:00
ftplib.py fix #13563: make use of with statement in ftplib.py where needed 2011-12-10 21:25:04 +01:00
functools.py Issue #13544: Add __qualname__ to functools.WRAPPER_ASSIGNMENTS. 2011-12-11 22:37:31 -06: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 Issue #11621: fix bootstrap issue with getopt/gettext (following d3e46930ffe9) 2011-03-21 16:04:06 +01:00
getpass.py Remove redundant imports. 2011-11-04 08:29:17 +01:00
gettext.py #11515: Merge with 3.1. 2011-03-15 05:59:46 +02:00
glob.py Fix closes issue12432 - remove the unused sys from glob.py 2011-07-03 17:21:05 -07:00
gzip.py Merge: #13781: Fix GzipFile to work with os.fdopen()'d file objects. 2012-01-18 09:32:25 +02:00
hashlib.py fix whitespace 2011-05-14 15:35:56 -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:32:54 -07:00
hmac.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
imaplib.py Merge 3.2, fix typos. 2011-11-11 19:39:25 +01:00
imghdr.py Merged revisions 65713 via svnmerge from 2008-08-16 16:48:16 +00:00
inspect.py Merge 2011-12-22 01:15:53 +00:00
io.py add myself 2009-05-01 20:45:43 +00:00
keyword.py Fix instructions on how to rebuild some modules 2011-11-29 16:45:34 +01:00
linecache.py Issue #10335: Add tokenize.open(), detect the file encoding using 2010-11-09 01:08:59 +00:00
locale.py Fix last remaining references to ex-devguide 2011-11-29 16:36:17 +01:00
lzma.py Issue #6715: Add module for compression using the LZMA algorithm. 2011-11-30 00:25:06 +02:00
macpath.py Issue #767645: Set os.path.supports_unicode_filenames to True on Mac OS X 2010-09-13 19:41:36 +00:00
macurl2path.py Fixing Issue6711 - macurl2path has typos that raise AttributeError 2009-08-16 06:44:28 +00:00
mailbox.py Fix Maildir initialization so that maildir contents are read correctly. 2011-11-05 09:46:10 +02:00
mailcap.py Fix #9923: mailcap now uses the OS path separator for the MAILCAP envvar. Not backported, since it could break cases where people worked around the old POSIX-specific behaviour on non-POSIX platforms. 2011-08-28 00:17:31 +10:00
mimetypes.py Issue #13640: add application/vnd.apple.mpegurl MIME type; (partial) patch by Hiroaki Kawai 2012-01-01 18:34:29 +01:00
modulefinder.py Fix bug I unwittingly added in 1521d9837d16 (found by Ezio Melotti) 2011-08-01 15:29:07 +02:00
netrc.py fix regression in netrc comment handling (closes #12009) 2011-06-10 11:32:52 -05:00
nntplib.py Issue #13248: turn 3.2's PendingDeprecationWarning into 3.3's DeprecationWarning (cgi, importlib, nntplib, smtpd). 2011-12-10 11:07:42 +01:00
ntpath.py Correction to 88e318166eaf - Issue #11583 2011-06-09 09:10:38 -05:00
nturl2path.py Fix Issue11474 - fix url2pathname() handling of '/C|/' on Windows 2011-04-14 13:16:30 +08:00
numbers.py improve abstract property support (closes #11610) 2011-12-15 15:34:02 -05:00
opcode.py Implement PEP 380 - 'yield from' (closes #11682) 2012-01-13 21:43:40 +10:00
optparse.py Merge 3.2 2011-10-28 14:52:29 +02:00
os.py Issue #11459: A bufsize value of 0 in subprocess.Popen() really creates 2011-03-19 17:04:13 +01: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.py Add display/undisplay pdb commands. 2010-12-04 16:21:42 +00:00
pickle.py Merge 3.2 2011-12-13 13:22:42 -05:00
pickletools.py Merge 3.2 2011-12-13 13:22:42 -05:00
pipes.py Merge doc changes from 3.2 (#10454, #12298) 2011-09-02 00:03:20 +02:00
pkgutil.py Issue #13645: pyc files now contain the size of the corresponding source 2012-01-13 18:52:16 +01:00
platform.py (Merge 3.2) Issue #13545: Fix platform.libc_version() is the SO version is missing 2011-12-15 21:42:28 +01:00
plistlib.py Issue #12452: Plist and Dict are now deprecated 2011-07-04 14:28:45 +02:00
poplib.py Issue 11291: poplib suppresses errors on QUIT. 2011-02-25 22:28:24 +00:00
posixpath.py Merged revisions 85689 via svnmerge from 2010-10-18 13:49:09 +00:00
pprint.py Have pprint() respect the order in an OrderedDict. 2010-09-09 12:31:00 +00:00
profile.py strip trailing ws 2011-06-27 09:18:46 -05:00
pstats.py Remove redundant imports. 2011-11-04 08:29:17 +01:00
pty.py Issue #3782: os.write() must not accept unicode strings 2008-09-15 23:02:56 +00:00
py_compile.py Issue #13645: pyc files now contain the size of the corresponding source 2012-01-13 18:52:16 +01:00
pyclbr.py Issue 11020: command-line pyclbr broken due to missing 2-to-3 conversion. 2011-01-27 00:12:08 +00:00
pydoc.py Issue #1785: Fix inspect and pydoc with misbehaving descriptors. 2011-12-21 09:59:49 +01:00
queue.py Fix nasty typo 2012-01-09 20:02:24 +00:00
quopri.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
random.py Merge 3.2 2011-11-11 09:41:17 -06:00
re.py Merge 3.2 2011-10-28 14:52:29 +02:00
reprlib.py Avoid pulling threading when _thread is sufficient 2011-10-11 18:51:53 +02:00
rlcompleter.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
runpy.py Issue #12451: runpy: run_path() now opens the Python script in binary mode, 2011-07-04 01:45:39 +02:00
sched.py (bug #8684) fix 'fedora without thread buildbot' as per http://bugs.python.org/issue8684 2011-12-19 19:12:01 +01:00
shelve.py #7905: Actually respect the keyencoding parameter to shelve.Shelf. 2010-12-04 11:12:43 +00:00
shlex.py #9723: refactor regex. 2011-08-16 19:03:41 +03:00
shutil.py Issue #9993: When the source and destination are on different filesystems, 2012-01-06 20:16:19 +01:00
site.py Remove redundant imports. 2011-11-04 08:29:17 +01:00
smtpd.py Issue #13248: turn 3.2's PendingDeprecationWarning into 3.3's DeprecationWarning (cgi, importlib, nntplib, smtpd). 2011-12-10 11:07:42 +01:00
smtplib.py #12448: merge with 3.2. 2011-10-18 13:26:49 +03:00
sndhdr.py Merged revisions 82856-82857 via svnmerge from 2010-07-13 23:19:20 +00:00
socket.py Use InterruptedError instead of checking for EINTR 2011-10-23 23:49:42 +02:00
socketserver.py Merge 3.2: issue #13140 2011-11-04 10:22:57 +01:00
sre_compile.py #13054: fix usage of sys.maxunicode after PEP-393. 2011-10-04 19:06:00 +03:00
sre_constants.py #2834: Change re module semantics, so that str and bytes mixing is forbidden, 2008-08-19 17:56:33 +00:00
sre_parse.py Normalize the encoding names for Latin-1 and UTF-8 to 2011-02-25 15:42:01 +00:00
ssl.py Issue #13636: Weak ciphers are now disabled by default in the ssl module 2012-01-03 22:49:08 +01:00
stat.py Issue #8746: Correct faulty configure checks so that os.chflags() and 2011-06-28 00:00:28 -07:00
string.py #13012: use splitlines(keepends=True/False) instead of splitlines(0/1). 2011-09-28 17:37:55 +03:00
stringprep.py Merged revisions 55007-55179 via svnmerge from 2007-05-07 22:24:25 +00:00
struct.py Issue #11081: Fixed struct.__all__. Reviewed by Georg Brandl. 2011-01-31 19:27:55 +00:00
subprocess.py Use InterruptedError instead of checking for EINTR 2011-10-23 23:49:42 +02:00
sunau.py Issue #10265: Close file objects explicitly in sunau. Patch by Brian Brazil. 2010-10-31 21:27:04 +00:00
symbol.py Fix instructions on how to rebuild some modules 2011-11-29 16:45:34 +01:00
symtable.py simplify this expression 2009-06-28 19:30:36 +00:00
sysconfig.cfg Remove inline comment, no longer supported by configparser. 2011-10-05 01:14:02 +02:00
sysconfig.py MERGE: And yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name 2012-01-18 05:05:41 +01:00
tabnanny.py Fix #12811 by closing files promptly in tabnanny.check. Patch by Anthony Briggs. 2011-08-22 16:19:19 +10:00
tarfile.py Issue #5689: Avoid excessive memory usage by using the default lzma preset. 2012-01-18 14:01:17 +01:00
telnetlib.py Merged revisions 87230 via svnmerge from 2010-12-14 14:27:27 +00: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:29:27 +01:00
textwrap.py merge from 3.2 - Fix closes Issue11439 Remove the SVN keywords from the code as it is no longer applicable in hg. Patch Contributed by Neil Muller. 2011-07-28 23:39:08 +08:00
this.py Fix most trivially-findable print statements. 2007-02-09 05:37:30 +00:00
threading.py Issue #13502: threading: Fix a race condition in Event.wait() that made it 2012-01-07 18:26:39 +01:00
timeit.py Merge 3.2 2011-10-28 14:52:29 +02:00
token.py Issue #13629: Renumber the tokens in token.h to match the _PyParser_TokenNames indexes. 2012-01-15 19:15:36 -06:00
tokenize.py Issue #2134: Add support for tokenize.TokenInfo.exact_type. 2012-01-19 00:44:45 -06:00
trace.py Prevent deprecation warning 2011-04-17 16:48:52 +02:00
traceback.py Merged revisions 76573 via svnmerge from 2009-11-28 16:16:09 +00:00
tty.py
turtle.py Issue #13439: Merge branch 3.2 2011-12-02 21:25:39 +02:00
types.py Merged revisions 62194,62197-62198,62204-62205,62214,62219-62221,62227,62229-62231,62233-62235,62237-62239 via svnmerge from 2008-04-09 08:37:03 +00:00
uu.py Merged revisions 86037 via svnmerge from 2010-10-31 16:06:55 +00:00
uuid.py Merged revisions 86192 via svnmerge from 2010-11-05 14:52:43 +00:00
warnings.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02: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 Issue 13620 - Support chrome browser in webbrowser.py module. 2011-12-21 22:20:32 +08:00
xdrlib.py Cleanup code: remove int/long idioms and simplify a while statement. 2011-10-23 22:11:00 +02:00
zipfile.py 3.2 - Fix closes Issue6090 - Raise a ValueError, instead of failing with unrelated 2011-10-20 01:46:00 +08:00