cpython/Lib
Gregory P. Smith c8ac03d936 Fixes issue #16140: The subprocess module no longer double closes its
child subprocess.PIPE parent file descriptors on child error prior to
exec().

This would lead to race conditions in multithreaded programs where
another thread opened a file reusing the fd which was then closed out
from beneath it by the errant second close.
2012-11-11 01:38:18 -08:00
..
collections Merge issue #16373: Prevent infinite recursion for ABC Set class operations. 2012-11-01 13:31:12 +02:00
concurrent #15015: Fix accessing an non-existing attribute. 2012-06-11 12:59:07 +10:00
ctypes Issue #16169: Fix ctypes.WinError()'s confusion between errno and winerror 2012-10-09 13:28:10 +01: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 Issue #16116: Now uses corrected include and library paths when building C extensions in a venv. 2012-10-23 20:26:14 +01:00
email #15925: fix regression: return None for null and non-date strings. 2012-09-22 09:59:51 -04:00
encodings Normalize whitespace 2012-06-16 22:50:54 +02:00
html #16245: Fix the value of a few entities in html.entities.html5. 2012-10-23 15:51:27 +02:00
http #15980: merge with 3.2. 2012-09-21 16:31:24 +03:00
idlelib Merge issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu 2012-11-01 22:44:06 +02:00
importlib Issue #6074: Apply an appropriate fix for importlib based imports 2012-10-19 23:32:00 +10:00
json Merge issue #14570: Document json sort_keys parameter properly. 2012-10-28 14:11:00 +02:00
lib2to3 merge 3.2 2012-09-25 11:53:30 -04:00
logging Issue #16244: Merged change from 3.2. 2012-10-16 10:32:13 +01:00
msilib Remove duplication. 2011-10-19 10:58:56 +03:00
multiprocessing #16307: Fix multiprocessing.Pool.map_async not calling its callbacks 2012-10-27 12:53:02 +02:00
plat-aix4
plat-darwin
plat-freebsd4
plat-freebsd5
plat-freebsd6
plat-freebsd7
plat-freebsd8
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
plat-sunos5
plat-unixware7
pydoc_data Update pydoc topics and suspicious markup file. 2012-08-25 12:14:59 +02:00
site-packages
sqlite3 Merge branch '3.2' 2012-02-21 13:59:40 +02:00
test Fixes issue #16140: The subprocess module no longer double closes its 2012-11-11 01:38:18 -08:00
tkinter Issue #15601: fix tkinter test_variables failure with OS X Aqua Tk 8.4 2012-08-09 21:51:21 +03:00
turtledemo #12677: correct turtle orientation in doc 2011-08-07 17:12:19 +02:00
unittest #16433: merge with 3.2. 2012-11-08 11:09:13 +02:00
urllib Fixes issue #16409: The reporthook callback made by the legacy 2012-11-10 13:43:44 -08:00
venv Closes #16340: Handle exception while copying script to venv. 2012-10-28 12:39:39 +00:00
wsgiref Issue #16220: wsgiref now always calls close() on an iterable response. 2012-10-21 14:14:34 +02:00
xml Issue #16089: Allow ElementTree.TreeBuilder to work again with a non-Element element_factory (fixes a regression in SimpleTAL). 2012-10-04 19:53:29 +02:00
xmlrpc Merge 3.2 2012-03-05 16:24:07 +01:00
__future__.py #14494: Document that absolute imports became default in 3.0 instead of 2.7. 2012-05-19 18:36:33 +03:00
__phello__.foo.py
_compat_pickle.py
_dummy_thread.py
_markupbase.py #13576: add tests about the handling of (possibly broken) condcoms. 2011-12-19 07:29:03 +02:00
_osx_support.py Issue #15184: Ensure consistent results of OS X configuration 2012-07-21 05:36:30 -07:00
_pyio.py Issue #15841: The readable(), writable() and seekable() methods of BytesIO 2012-09-05 20:13:48 +02:00
_strptime.py Issue #1667546: On platforms supporting tm_zone and tm_gmtoff fields 2012-06-13 22:15:26 -04:00
_threading_local.py
_weakrefset.py Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive. 2012-03-04 22:15:38 -06:00
abc.py improve abstract property support (closes #11610) 2011-12-15 15:34:02 -05:00
aifc.py #13394: add more tests for the aifc module and use warnings.warn instead of print. Patch by Oleg Plakhotnyuk. 2012-03-12 23:57:18 +02:00
antigravity.py
argparse.py Merge 3.2 fix updates and tests for issue #15906. 2012-09-12 15:31:38 -04:00
ast.py remove ast.__version__ (closes #12273) 2011-07-15 21:10:13 -05:00
asynchat.py asynchat speedup improvement: avoid to use a function mimicking old buffer() builtin behavior; instead use plain slicing 2012-08-04 14:38:16 +02:00
asyncore.py merge 79422b3684f1 in 3.3 branch (issue 10340) 2012-03-22 16:19:45 +01:00
base64.py Speed up base64.urlsafe_{en,de}code(). 2012-06-22 15:16:09 -07:00
bdb.py issue13183 - Fix pdb skipping frames after hitting a breakpoint and running step. Patch by Xavier de Gaye 2012-05-01 10:07:49 +08:00
binhex.py remove unused imports (closes #12432) 2011-06-28 10:25:04 -05:00
bisect.py
bz2.py Issue #16304: Further optimize BZ2File.readlines?(). 2012-10-01 23:05:32 +02:00
calendar.py #15421: fix an OverflowError in Calendar.itermonthdates() after datetime.MAXYEAR. Patch by Cédric Krier. 2012-09-21 17:26:35 +03: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 merge #12890: don't emit <p> tags in text mode when logdir specified. 2012-10-27 14:55:25 -04:00
chunk.py
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 Issue #12643: Respect sys.excepthook in code.InteractiveConsole 2012-08-20 23:02:28 +10:00
codecs.py Issue16097 Fix small typo in comment (patch by Wael Al Jishi) 2012-10-01 16:40:40 +01:00
codeop.py
colorsys.py
compileall.py #10454: a few edits to compileall help messages 2011-09-01 20:00:33 +02:00
configparser.py Fixes #14590: ConfigParser doesn't strip inline comment when delimiter occurs 2012-07-07 18:54:08 +02:00
contextlib.py Close #14969: Improve the handling of exception chaining in contextlib.ExitStack 2012-06-01 22:48:32 +10: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
crypt.py white space cleanup 2012-06-27 15:37:47 +02:00
csv.py
datetime.py Closes #15973: fix a segmentation fault when comparing timezone objects. 2012-09-22 09:23:12 +02:00
decimal.py Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs. 2012-08-24 19:32:13 +01:00
difflib.py Fix comment in difflib. 2011-12-10 13:02:17 +01:00
dis.py Issue #11823: disassembly now shows argument counts on calls with keyword args 2012-06-07 14:28:14 -04:00
doctest.py Merge #14649: clarify DocTestSuite error when there are no docstrings. 2012-09-10 10:16:46 -04:00
dummy_threading.py
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
fractions.py
ftplib.py fix #13563: make use of with statement in ftplib.py where needed 2011-12-10 21:25:04 +01:00
functools.py Separate key creation logic from the sequence class that memoizes its hash value. 2012-06-04 00:21:14 -07:00
genericpath.py
getopt.py
getpass.py Remove redundant imports. 2011-11-04 08:29:17 +01:00
gettext.py Implemented PEP 405 (Python virtual environments). 2012-05-26 03:45:29 +01:00
glob.py Fix closes issue12432 - remove the unused sys from glob.py 2011-07-03 17:21:05 -07:00
gzip.py Issue #15800: fix the closing of input / output files when gzip is used as a script. 2012-08-30 00:30:14 +02:00
hashlib.py Consistently raise a TypeError when a non str is passed to hashlib.new 2012-07-21 21:19:53 -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 Issue #15225: improve error message when hmac is passed a wrong key type. 2012-06-30 17:27:56 +02:00
imaplib.py Issues #11024: Fixes and additional tests for Time2Internaldate. 2012-06-22 21:03:39 -04:00
imghdr.py
imp.py Issue #15828: Restore support for C extension modules in imp.load_module() 2012-09-01 00:13:45 +10:00
inspect.py Issue #15401: Fix typo in inspect.getclosurevars docstring. 2012-07-19 21:33:21 -05:00
io.py merge 3.2 2012-05-07 22:24:05 -04:00
ipaddress.py Issue #15888: fixing problems in ipaddress doctests. Patch by Chris Jerdonek 2012-10-07 07:23:50 -07:00
keyword.py Fix instructions on how to rebuild some modules 2011-11-29 16:45:34 +01:00
linecache.py
locale.py Fix last remaining references to ex-devguide 2011-11-29 16:36:17 +01:00
lzma.py #15546: Fix {GzipFile,LZMAFile}.read1()'s handling of pathological input data. 2012-08-05 02:19:09 +02:00
macpath.py
macurl2path.py
mailbox.py #15222: Merge 3.2 2012-09-25 22:06:07 +03: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 #15199: Fix JavaScript's default MIME type to application/javascript 2012-08-20 21:30:03 +03:00
modulefinder.py Issue #13959: Deprecate imp.get_suffixes() for new attributes on 2012-05-11 12:58:42 -04:00
netrc.py fix regression in netrc comment handling (closes #12009) 2011-06-10 11:32:52 -05:00
nntplib.py #1079: Fix parsing of encoded words. 2012-06-02 17:56:49 -04:00
ntpath.py Correction to 88e318166eaf - Issue #11583 2011-06-09 09:10:38 -05:00
nturl2path.py
numbers.py improve abstract property support (closes #11610) 2011-12-15 15:34:02 -05:00
opcode.py Issue #11823: disassembly now shows argument counts on calls with keyword args 2012-06-07 14:28:14 -04:00
optparse.py Merge 3.2 2011-10-28 14:52:29 +02:00
os.py compare singletons by identity not equality (closes #16712) 2012-10-09 11:16:03 -04:00
os2emxpath.py
pdb.py Close #14210: add command argument completion to pdb: complete file names, global/local variables, aliases 2012-03-10 22:36:48 +01:00
pickle.py Fixes #13842: cannot pickle Ellipsis or NotImplemented. 2012-03-12 19:46:12 +01: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 Close #15386: There was a loophole that meant importlib.machinery and imp would sometimes reference an uninitialised copy of importlib._bootstrap 2012-07-20 23:40:09 +10:00
platform.py merge 3.2 2012-10-12 12:04:32 -04:00
plistlib.py #14835: Make plistlib output empty arrays & dicts like OS X 2012-05-29 12:04:54 +02:00
poplib.py
posixpath.py Merge #15342: Add clarifying sentence to posixpath.join docstring. 2012-07-21 14:34:51 -04:00
pprint.py Issues #10017 and #14998: Fix TypeError using pprint on dictionaries with unorderable key. 2012-07-21 11:17:38 +02:00
profile.py Issue #14428: Use the new time.perf_counter() and time.process_time() functions 2012-04-29 03:01:20 +02:00
pstats.py Merge issue #14900: Add aliases for sorting params for pstat to follow column names from pstat output. 2012-10-07 19:19:17 +03:00
pty.py Issue #2489: Fix bug in _copy loop that could consume 100% cpu on EOF. 2012-02-16 00:29:12 -08: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 #14798: pyclbr now raises ImportError instead of KeyError for missing packages 2012-05-18 21:59:49 +03:00
pydoc.py compare singletons by identity not equality (closes #16712) 2012-10-09 11:16:03 -04:00
queue.py Issue #14428, #14397: Implement the PEP 418 2012-04-29 02:41:27 +02:00
quopri.py
random.py Issue #14926: merge with 3.2 2012-06-02 19:40:20 +02:00
re.py #14236: merge with 3.2. 2012-04-29 13:37:13 +03:00
reprlib.py Avoid pulling threading when _thread is sufficient 2011-10-11 18:51:53 +02:00
rlcompleter.py Closes #14411: remove outdated comment in rlcompleter docstring. 2012-03-27 07:46:46 +02:00
runpy.py Close #15386: There was a loophole that meant importlib.machinery and imp would sometimes reference an uninitialised copy of importlib._bootstrap 2012-07-20 23:40:09 +10:00
sched.py Close #14690: Use monotonic clock instead of system clock in the sched, 2012-05-30 13:30:32 +02:00
shelve.py
shlex.py #9723: refactor regex. 2011-08-16 19:03:41 +03:00
shutil.py merge with 3.2 2012-08-25 10:12:47 +02:00
site.py Issue 15241: Improved site.py documentation relating to venvs. 2012-07-03 16:33:57 +01:00
smtpd.py #8739: upgrade smtpd to RFC 5321 and 1870. 2012-05-26 14:33:59 -04:00
smtplib.py #12448: merge with 3.2. 2011-10-18 13:26:49 +03:00
sndhdr.py
socket.py Issue #15842: the SocketIO.{readable,writable,seekable} methods now raise ValueError when the file-like object is closed. 2012-09-14 17:30:31 +02:00
socketserver.py #11109: clean up docs, add whatsnew entry, and fix Justin's last name. 2012-10-01 21:43:46 -04:00
sre_compile.py #13054: fix usage of sys.maxunicode after PEP-393. 2011-10-04 19:06:00 +03:00
sre_constants.py
sre_parse.py #12759: merge with 3.2. 2012-11-03 20:33:38 +02:00
ssl.py Issue #16357: fix calling accept() on a SSLSocket created through SSLContext.wrap_socket(). 2012-11-11 01:27:33 +01:00
stat.py #14807: move undocumented tarfile.filemode() to stat.filemode(). Add tarfile.filemode alias with deprecation warning. 2012-05-15 15:30:25 +02:00
string.py Merge #13579: teach string.Formatter about 'a'. 2012-08-19 17:45:40 -04:00
stringprep.py
struct.py
subprocess.py Fixes issue #16140: The subprocess module no longer double closes its 2012-11-11 01:38:18 -08:00
sunau.py
symbol.py Fix instructions on how to rebuild some modules 2011-11-29 16:45:34 +01:00
symtable.py
sysconfig.py Issue #15298: refactor previous fix from 66959d419369. 2012-10-17 18:03:24 -04: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 Simplify usage of LZMAFile's fileobj support, like with BZ2File. 2012-06-04 23:34:07 +02:00
telnetlib.py Fixes Issue #14635: telnetlib will use poll() rather than select() when possible 2012-07-15 23:42:26 -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:29:27 +01:00
textwrap.py Close #13857: Added textwrap.indent() function (initial patch by Ezra 2012-06-11 23:07:51 +10:00
this.py
threading.py Issue #14428, #14397: Implement the PEP 418 2012-04-29 02:41:27 +02:00
timeit.py Add an option to timeit to use time.process_time() and mark -t and -c as deprecated. 2012-05-01 11:56:22 +02:00
token.py Issue #9260: A finer-grained import lock. 2012-05-17 18:55:59 +02:00
tokenize.py #16152: merge with 3.2. 2012-11-03 17:46:51 +02:00
trace.py trace: remove unused imports. 2012-07-07 17:03:52 +02:00
traceback.py PEP 415: Implement suppression of __context__ display with an exception attribute 2012-05-14 22:09:31 -07:00
tty.py
turtle.py Issue #13439: Merge branch 3.2 2011-12-02 21:25:39 +02:00
types.py Eric Snow's implementation of PEP 421. 2012-06-03 16:18:47 -04:00
uu.py
uuid.py Issue #15118: Change return value of os.uname() and os.times() from 2012-06-24 04:33:36 -07:00
warnings.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
wave.py
weakref.py Issue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, WeakValueDictionary) to return a better approximation when some objects are dead or dying. 2012-03-01 16:26:35 +01:00
webbrowser.py #15447: Use subprocess.DEVNULL in webbrowser, instead of opening 2012-09-03 12:44:29 -04:00
xdrlib.py Merge: change docstring for xdrlib.Error to use new style exceptions. 2012-11-01 13:43:31 +02:00
zipfile.py On behalf of Nadeem Vawda: issue #10376: micro-optimize reading from a Zipfile. 2012-06-23 16:44:48 +02:00