cpython/Lib
Victor Stinner d628496323 Close #12363: fix a race condition in siginterrupt() tests
The previous tests used time.sleep() to synchronize two processes. If the host
was too slow, the test could fail.

The new tests only use one process, but they use a subprocess to:

 - have only one thread
 - have a timeout on the blocking read (select cannot be used in the test,
   select always fail with EINTR, the kernel doesn't restart it)
 - not touch signal handling of the parent process
2011-06-20 23:28:09 +02:00
..
collections merge 2011-06-02 23:49:44 -07:00
concurrent Issue #9205: concurrent.futures.ProcessPoolExecutor now detects killed 2011-06-08 17:21:55 +02:00
ctypes Issue #12045: Avoid duplicate execution of command in ctypes.util._get_soname(). 2011-05-25 18:17:25 +02:00
curses #6771: Move wrapper function into __init__ and eliminate wrapper module 2011-06-18 20:21:09 -04:00
dbm Merge 3.1 2011-04-20 19:24:09 +02:00
distutils Merge ABC and distutils touch-ups from 3.2. 2011-06-04 21:16:42 +02:00
email merge #11584: make Header and make_header handle binary unknown-8bit input 2011-06-18 13:02:42 -04:00
encodings Issue #10807: Remove base64, bz2, hex, quopri, rot13, uu and zlib codecs from 2011-01-02 19:50:36 +00:00
html Merge 3.1 2011-05-25 18:13:49 +02:00
http Close #12289: Fix "is executable?" test in the CGI server 2011-06-20 17:45:54 +02:00
idlelib #12274: use proper escaping for % in IDLE config (merged from 3.2). 2011-06-07 15:20:51 +02:00
importlib Kill dead code in importlib.test.__main__ (#12019, reviewed by Brett Cannon) 2011-06-07 17:58:50 +02:00
json #5723: merge with 3.1. 2011-05-14 06:47:51 +03:00
lib2to3 revert unintended changes 2011-03-26 18:11:54 -05:00
logging Made time formats in Formatter more configurable. 2011-06-09 18:42:19 +01:00
msilib merge #11696 2011-03-27 21:07:13 +02:00
multiprocessing (merge 3.2) Issue #12285: multiprocessing.Pool() raises a ValueError if the 2011-06-20 17:54:03 +02:00
packaging packaging: Add the project directory to sys.path to support local setup hooks. 2011-06-19 21:23:43 +02:00
plat-aix4
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-linux2
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
pydoc_data update pydoc-topics 2011-05-29 16:09:08 -05:00
site-packages
sqlite3 Issue #10811: Use TestCase.assertRaises() in the new test 2011-05-09 12:50:41 +02:00
test Close #12363: fix a race condition in siginterrupt() tests 2011-06-20 23:28:09 +02:00
tkinter remove __version__s dependent on subversion keyword expansion (closes #12221) 2011-05-31 20:52:17 -05:00
turtledemo #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
unittest Issue #10775: assertRaises, assertRaisesRegex, assertWarns, and assertWarnsRegex now accept a keyword argument 'msg' when used as context managers. Initial patch by Winston Ewert. 2011-05-06 15:01:41 +03:00
urllib (Merge 3.2) Issue #12133: fix a ResourceWarning in urllib.request 2011-06-17 14:02:18 +02:00
wsgiref Merged revisions 87797 via svnmerge from 2011-01-06 17:18:32 +00:00
xml remove __version__s dependent on subversion keyword expansion (closes #12221) 2011-05-31 20:52:17 -05:00
xmlrpc #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
__future__.py
__phello__.foo.py
_compat_pickle.py
_dummy_thread.py Issue #11223: Replace threading._info() by sys.thread_info 2011-04-30 14:53:09 +02:00
_markupbase.py Take advantage of the frozenset constant optimization. 2010-09-05 23:15:06 +00:00
_pyio.py Issue #12175: BufferedReader.read(-1) now calls raw.readall() if available. 2011-05-26 00:19:38 +02: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 Allow usage of SomeABC.register as a class decorator. Patch by Edoardo Spadolini (#10868). 2011-02-24 18:03:10 +00:00
aifc.py
antigravity.py
argparse.py #10424: argument names are now included in the missing argument message 2011-06-09 12:34:07 -04:00
ast.py Add missing types to docstring of ast.literal_eval. 2011-04-17 19:10:27 +02:00
asynchat.py Normalize the encoding names for Latin-1 and UTF-8 to 2011-02-25 15:42:01 +00:00
asyncore.py Merged revisions 88726 via svnmerge from 2011-03-03 14:11:46 +00: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 Close #11577: Improve binhex test coverage and fix ResourceWarning 2011-03-16 21:26:40 -04:00
bisect.py
bz2.py Miscellaneous cleanups to bz2 and test_bz2 following issue #1625. 2011-05-30 01:12:24 +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
calendar.py Merged revisions 85728,85731,85735,85766-85771,85773,85777 via svnmerge from 2010-11-26 08:52:36 +00:00
cgi.py cgi: use isinstance(x, list) instead of type(x) == type([]) 2011-01-14 13:08:27 +00:00
cgitb.py
chunk.py
cmd.py Add docstring to cmd.Cmd.do_help() 2010-09-09 03:53:22 +00: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 Revert my commit 3555cf6f9c98: "Issue #8796: codecs.open() calls the builtin 2011-05-27 16:50:40 +02:00
codeop.py
colorsys.py
compileall.py Issue #11169: compileall module uses repr() to format filenames and paths to 2011-05-11 00:36:28 +02:00
configparser.py Merged minor cleanups from 3.2. 2011-04-29 16:17:51 +02:00
contextlib.py Remove trailing whitespace 2011-05-06 00:02:12 +10:00
copy.py Merged revisions 84495-84497 via svnmerge from 2010-09-04 17:49:13 +00:00
copyreg.py
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 Issue #11930: Remove year >= 1000 limitation from datetime.strftime. 2011-05-02 13:14:24 -04:00
decimal.py Issue #12080: Fix a performance issue in Decimal._power_exact that causes some corner-case Decimal.__pow__ calls to take an unreasonably long time. 2011-06-04 18:14:23 +01:00
difflib.py Issue 11747: Fix output format for context diffs. 2011-04-12 15:25:30 -07: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 #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
dummy_threading.py
filecmp.py
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
fractions.py Make Fraction(-1).__hash__() return -2 rather than -1 (see issue 10356). 2010-11-13 10:27:38 +00:00
ftplib.py merge with 3.2 2011-05-07 19:11:06 +02:00
functools.py Sync-up minor code edits with the default branch. 2011-05-05 14:15:12 -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 Issue #11621: fix bootstrap issue with getopt/gettext (following d3e46930ffe9) 2011-03-21 16:04:06 +01:00
getpass.py Fix for issue11236 getpass.getpass to respond ctrl-c or ctrl-z 2011-04-26 20:59:46 +08:00
gettext.py #11515: Merge with 3.1. 2011-03-15 05:59:46 +02:00
glob.py Remove unused import. 2011-03-10 08:44:08 -05:00
gzip.py Remove dead code in gzip. 2011-04-13 18:57:40 +02:00
hashlib.py fix whitespace 2011-05-14 15:35:56 -07:00
heapq.py Merge 3.1 2011-04-20 19:24:09 +02:00
hmac.py speed hack can be implemented more cleanly by directly calling __new__ 2010-08-21 02:45:15 +00:00
imaplib.py Issue #1441530: In imaplib, read the data in one chunk to speed up large 2011-05-24 23:47:49 +02:00
imghdr.py
inspect.py merge 3.2 (#9284) 2011-06-11 15:56:46 -05:00
io.py
keyword.py Use a context manager for some file objects. 2010-09-03 19:52:03 +00:00
linecache.py Issue #10335: Add tokenize.open(), detect the file encoding using 2010-11-09 01:08:59 +00:00
locale.py (merge) Fix #10154 and #10090: locale normalizes the UTF-8 encoding to "UTF-8" instead of "UTF8" 2011-05-17 13:03:54 +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
mailbox.py #11700: proxy object close methods can now be called multiple times 2011-06-17 22:24:05 -04:00
mailcap.py Merged revisions 80368-80369 via svnmerge from 2010-04-22 13:56:42 +00:00
mimetypes.py Fix syntax typo 2010-12-23 23:18:41 +00:00
modulefinder.py merge 11164 2011-05-09 08:10:38 +02:00
netrc.py fix regression in netrc comment handling (closes #12009) 2011-06-10 11:32:52 -05:00
nntplib.py #11515: Merge with 3.1. 2011-03-15 05:59:46 +02: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 Remove the funky function annotation from numbers.py. 2011-01-12 20:54:53 +00: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 Merge #8158: add missing 'description' description to optparse docstring. 2011-05-04 21:08:07 -04: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 remove __version__s dependent on subversion keyword expansion (closes #12221) 2011-05-31 20:52:17 -05:00
pickletools.py #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
pipes.py Merged revisions 81365,81367 via svnmerge from 2010-05-19 21:22:58 +00:00
pkgutil.py Merge 3.2 2011-05-25 18:22:26 +02:00
platform.py Issue #11377: platform.popen() emits a DeprecationWarning 2011-05-24 00:16:16 +02:00
plistlib.py Issue #985064: Make plistlib more resilient to faulty input plists. 2011-05-28 03:02:30 -07: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 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
pstats.py #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 11:05:33 +02:00
pty.py
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 Issue 11020: command-line pyclbr broken due to missing 2-to-3 conversion. 2011-01-27 00:12:08 +00:00
pydoc.py remove __version__s dependent on subversion keyword expansion (closes #12221) 2011-05-31 20:52:17 -05:00
queue.py Issue 10110: Let Queue.put recognize a full queue when the maxsize parameter has been reduced. 2010-10-31 17:57:52 +00:00
quopri.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
random.py Sync-up minor code edits with the default branch. 2011-05-05 11:49:12 -07:00
re.py #2650: re.escape() no longer escapes the "_". 2011-04-10 12:59:16 +03:00
reprlib.py Close #12028: Make threading._get_ident() public, rename it to 2011-05-30 23:02:52 +02:00
rlcompleter.py
runpy.py Replace open(filename, 'rU') by open(filename, 'r') 2011-05-04 13:55:36 +02:00
sched.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 merge from 3.1 2011-05-06 10:57:22 +02:00
site.py Replace open(filename, 'rU') by open(filename, 'r') 2011-05-04 13:55:36 +02:00
smtpd.py Normalize the encoding names for Latin-1 and UTF-8 to 2011-02-25 15:42:01 +00:00
smtplib.py merge #12283: Fixed regression in smtplib quoting of leading dots in DATA. 2011-06-09 15:21:02 -04:00
sndhdr.py Merged revisions 82856-82857 via svnmerge from 2010-07-13 23:19:20 +00:00
socket.py Issue #11127: Raise a TypeError when trying to pickle a socket object. 2011-03-20 23:56:36 +01:00
socketserver.py Fix closes issue #11109 - socketserver.ForkingMixIn leaves zombies, also fails to reap all zombies in one pass. 2011-05-26 00:22:59 +08:00
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 Normalize the encoding names for Latin-1 and UTF-8 to 2011-02-25 15:42:01 +00:00
ssl.py Issue #12049: Add RAND_bytes() and RAND_pseudo_bytes() functions to the ssl 2011-05-24 12:05:19 +02:00
stat.py
string.py Issue #11297: Add collections.ChainMap() 2011-02-26 01:02:51 +00:00
stringprep.py
struct.py Issue #11081: Fixed struct.__all__. Reviewed by Georg Brandl. 2011-01-31 19:27:55 +00:00
subprocess.py (Merge 3.2) Close #12085: Fix an attribute error in subprocess.Popen destructor 2011-06-01 00:58:57 +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 convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
symtable.py
sysconfig.cfg Update comments in sysconfig.cfg 2011-06-06 20:07:04 +02:00
sysconfig.py Branch merge 2011-05-26 16:35:14 +02:00
tabnanny.py #1513299: cleanup some map() uses where a comprehension works better. 2010-12-04 10:39:14 +00:00
tarfile.py remove __version__s dependent on subversion keyword expansion (closes #12221) 2011-05-31 20:52:17 -05:00
telnetlib.py Merged revisions 87230 via svnmerge from 2010-12-14 14:27:27 +00:00
tempfile.py Issue #10188 (partial resolution): tidy up some behaviour in the new tempfile.TemporaryDirectory context manager 2010-12-12 15:24:21 +00:00
textwrap.py
this.py
threading.py Close #12028: Make threading._get_ident() public, rename it to 2011-05-30 23:02:52 +02:00
timeit.py Update timeit to use the new string formatting syntax. 2011-04-04 09:28:25 -07:00
token.py Issue #10386: Added __all__ to token module; this simplifies importing 2010-11-11 14:07:41 +00:00
tokenize.py Merged revisions 88498 via svnmerge from 2011-02-22 03:35:18 +00: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 #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
types.py
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 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 merge d71476b9a55d from tip, use start_new_session instead of os.setsid. 2011-03-15 15:24:43 -04:00
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:25:40 +01:00
zipfile.py #10694: zipfile now ignores garbage at the end of a zipfile. 2011-06-09 15:50:51 -04:00