cpython/Lib
Victor Stinner 3953398363 (Merge 3.4) asyncio: sync with Tulip
Improve stability of the proactor event loop, especially operations on
overlapped objects:

* Tulip issue 195: Don't call UnregisterWait() twice if a _WaitHandleFuture is
  cancelled twice to fix a crash.
* IocpProactor.close(): cancel futures to cancel overlapped operations, instead
  of cancelling directly overlapped operations. Future objects may not call
  ov.cancel() if the future was cancelled or if the overlapped was already
  cancelled. The cancel() method of the future may also catch exceptions. Log
  also errors on cancellation.
* tests: rename "f" to "fut"
* Add a __repr__() method to IocpProactor
* Add a destructor to IocpProactor which closes it
* _OverlappedFuture.cancel() doesn't cancel the overlapped anymore if it is
  done: if it is already cancelled or completed. Log also an error if the
  cancellation failed.
* Add the address of the overlapped object in repr(_OverlappedFuture)
* _OverlappedFuture truncates the source traceback to hide the call to the
  parent constructor (useless in debug).
2014-07-25 00:55:23 +02:00
..
asyncio asyncio: sync with Tulip 2014-07-25 00:54:53 +02:00
collections merge 2014-06-24 15:21:24 -07:00
concurrent Issue #21362: concurrent.futures does not validate that max_workers is proper 2014-05-17 13:51:10 -07:00
ctypes Merge with 3.4 2014-07-23 14:40:27 -05:00
curses
dbm Issue #21729: Used the "with" statement in the dbm.dumb module to ensure 2014-06-25 20:37:30 +03:00
distutils Issue #22032: __qualname__ instead of __name__ is now always used to format 2014-07-22 15:00:37 +03:00
email #21476: Unwrap fp in BytesParser so the file isn't unexpectedly closed. 2014-06-26 13:31:43 -04:00
encodings Issue #21171: Fixed undocumented filter API of the rot13 codec. 2014-04-13 17:08:51 +03:00
ensurepip Upgrade pip to 1.5.6 2014-05-16 23:02:25 -04:00
html #20288: merge with 3.3. 2014-02-01 21:22:26 +02:00
http Fixed bugs in reprs of CookieJar and multiprocessing.dummy.Value. 2014-07-22 11:10:37 +03:00
idlelib Issue #21765: Add support for non-ascii identifiers to HyperParser 2014-07-16 16:41:14 +03:00
importlib Fix a parameter name to make sense again 2014-05-30 16:28:00 -04:00
json improve the command-line interface of json.tool (closes #21000) 2014-03-21 23:17:29 -05:00
lib2to3 teach 2to3 about 'yield from' 2014-04-10 00:23:18 -04:00
logging Closes #21742: Merged fix from 3.4. 2014-06-14 10:23:20 +01:00
msilib
multiprocessing Issue #21566: Make use of socket.listen() default backlog. 2014-07-23 19:28:13 +01:00
plat-aix4
plat-darwin
plat-freebsd4
plat-freebsd5
plat-freebsd6
plat-freebsd7
plat-freebsd8
plat-generic
plat-linux
plat-netbsd1
plat-next3
plat-sunos5
plat-unixware7
pydoc_data Rebuild pydoc topics. 2014-05-17 21:45:01 -07:00
site-packages
sqlite3 Issue #10203: sqlite3.Row now truly supports sequence protocol. In particulr 2014-05-28 12:58:34 +03:00
test (Merge 3.4) asyncio: sync with Tulip 2014-07-25 00:55:23 +02:00
tkinter Issue #4350: Removed a number of out-of-dated and non-working for a long time 2014-07-23 22:33:50 +03:00
turtledemo Merge with 3.4 2014-07-23 17:28:15 -04:00
unittest Issue #22032: __qualname__ instead of __name__ is now always used to format 2014-07-22 15:00:37 +03:00
urllib Merge 3.4 2014-07-22 00:16:18 -07:00
venv Issue #21663: Fixed error caused by trying to create an existing directory. 2014-06-05 09:31:20 +01:00
wsgiref Issue #5800: headers parameter of wsgiref.headers.Headers is now optional. 2014-07-02 08:37:22 +03:00
xml Issue #21774: Fix incorrect variable in xml.dom.minidom 2014-06-15 14:48:19 -07:00
xmlrpc Issue #22031: Reprs now always use hexadecimal format with the "0x" prefix 2014-07-22 12:14:52 +03:00
__future__.py
__phello__.foo.py
_bootlocale.py Fix wrong exception in _bootlocale (apparently this error condition is never triggered) 2013-10-12 15:00:44 +02:00
_collections_abc.py merge 2014-07-03 00:31:54 +01:00
_compat_pickle.py Fix issue #19834: Support unpickling of exceptions pickled by Python 2. 2013-12-02 11:41:01 +01:00
_dummy_thread.py Issue 21137: Better repr for threading.Lock() 2014-05-25 18:22:35 -07:00
_markupbase.py
_osx_support.py Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite. 2014-06-25 13:36:14 -07:00
_pyio.py add BufferedIOBase.readinto1 (closes #20578) 2014-06-22 14:17:44 -07:00
_sitebuiltins.py #9364: Improve the text printed by help(pydoc) and help(help). 2014-04-19 12:59:30 -04:00
_strptime.py Issue #20976: pyflakes: Remove unused imports 2014-03-20 09:16:38 +01:00
_threading_local.py
_weakrefset.py Issue #20006: Fix sporadic failures in test_weakset. 2013-12-18 00:28:36 +01:00
abc.py Issue #22032: __qualname__ instead of __name__ is now always used to format 2014-07-22 15:00:37 +03:00
aifc.py Issue #19623: Fixed writing to unseekable files in the aifc module. 2013-12-14 20:42:22 +02:00
antigravity.py
argparse.py Issue #21481: Teach argparse equality tests to return NotImplemented when comparing to unknown types. 2014-05-26 00:43:27 -07:00
ast.py
asynchat.py (Merge 3.4) Issue #16133: The asynchat.async_chat.handle_read() method now 2014-07-24 19:00:28 +02:00
asyncore.py Issue #22032: __qualname__ instead of __name__ is now always used to format 2014-07-22 15:00:37 +03:00
base64.py Issue #20879: Delay the initialization of encoding and decoding tables for 2014-03-17 22:38:41 +01:00
bdb.py Better behavior when stepping over yield[from]. Fixes issue 16596. By Xavier de Gaye. 2013-11-21 11:30:06 -08:00
binhex.py
bisect.py
bz2.py Closes #19839: Fix regression in bz2 module's handling of non-bzip2 data at EOF. 2013-12-04 23:29:51 +01:00
calendar.py
cgi.py remove unused argument (closes #21135) 2014-04-03 10:22:10 -04:00
cgitb.py
chunk.py
cmd.py
code.py Issue #21966: Respect -q command-line option when code module is ran. 2014-07-12 16:36:33 -04:00
codecs.py Issue #22032: __qualname__ instead of __name__ is now always used to format 2014-07-22 15:00:37 +03:00
codeop.py
colorsys.py
compileall.py Issue #20976: pyflakes: Remove unused imports 2014-03-20 09:16:38 +01:00
configparser.py Issue #20363. Fixed BytesWarning triggerred by test suite. 2014-02-06 22:52:23 +02:00
contextlib.py Merge removal of issue 20317 debugging code from 3.3 2014-01-24 23:07:16 +10:00
copy.py improve idioms (closes #20642) 2014-05-03 20:22:00 -04:00
copyreg.py Issue #17810: Implement PEP 3154, pickle protocol 4. 2013-11-23 18:59:12 +01:00
cProfile.py
crypt.py
csv.py #19449: Handle non-string keys when generating 'fieldnames' error. 2013-11-19 13:16:20 -05:00
datetime.py remove the ability of datetime.time to be considered false (closes #13936) 2014-03-20 18:00:35 -05:00
decimal.py Issue #10650: Remove the non-standard 'watchexp' parameter from the 2014-04-30 19:15:38 +02:00
difflib.py merge 2014-06-21 11:59:46 -07:00
dis.py Close #17916: dis.Bytecode based replacement for distb 2013-11-23 00:57:00 +10:00
doctest.py #15916: if there are no docstrings, make empty suite, not an error. 2014-04-14 20:28:36 -04:00
dummy_threading.py
enum.py Close issue20653: improve functional API docs; minor code changes 2014-03-03 12:42:52 -08:00
filecmp.py shallow defaults to 'True' not '1' (closes #21355) 2014-04-26 13:36:21 -04:00
fileinput.py Issue #21075: fileinput.FileInput now reads bytes from standard stream if 2014-05-14 21:08:33 +03:00
fnmatch.py
formatter.py Issue #19165: The formatter module graduates to full deprecation. 2014-03-21 10:52:33 -04:00
fractions.py Issue #21136: Avoid unnecessary normalization in Fractions resulting from power and other operations. 2014-04-05 09:29:00 +01:00
ftplib.py Issue #20978: pyflakes: fix undefined names 2014-03-20 08:50:52 +01:00
functools.py Issue #22032: __qualname__ instead of __name__ is now always used to format 2014-07-22 15:00:37 +03:00
genericpath.py
getopt.py
getpass.py #21169: add comment and doc update for getpass change. 2014-04-14 10:28:58 -04:00
gettext.py
glob.py Issue #8402: Added the escape() function to the glob module. 2013-11-18 13:06:43 +02:00
gzip.py Issue #20875: Merge from 3.3 2014-03-09 14:47:58 -07:00
hashlib.py * Issue #16113: Remove sha3 module again. 2014-01-03 14:05:06 +01:00
heapq.py Update comment to reflect using the default parameter with min() and max(). 2014-06-15 14:40:18 -07:00
hmac.py Issue #18775: Add name and block_size attribute to HMAC object. They now 2013-11-20 17:35:06 +01:00
imaplib.py #20013: don't raise socket error when selected mailbox deleted. 2014-02-07 13:47:40 -05:00
imghdr.py #20295: Teach imghdr to recognize OpenEXR format images. 2014-06-26 12:27:57 -04:00
imp.py Issue #20383: Introduce importlib.util.module_from_spec(). 2014-05-30 14:55:29 -04:00
inspect.py Issue #22032: __qualname__ instead of __name__ is now always used to format 2014-07-22 15:00:37 +03:00
io.py #21225: copy docstrings from base classes 2014-04-25 09:29:30 -04:00
ipaddress.py Refactor precomputed constants in the ipaddress module (suggested by Charles-François) 2014-05-24 00:32:29 +02:00
keyword.py
linecache.py
locale.py Issue #20046: Locale alias table no longer contains entities which can be 2013-12-27 00:56:53 +02:00
lzma.py Closes #19839: Fix regression in bz2 module's handling of non-bzip2 data at EOF. 2013-12-04 23:29:51 +01:00
macpath.py
macurl2path.py Increase the coverage of macurl2path. Patch by Colin Williams. 2013-10-23 21:50:56 -07:00
mailbox.py Issue #20976: pyflakes: Remove unused imports 2014-03-20 09:16:38 +01:00
mailcap.py Issue #20331: Fixed possible FD leaks in various modules: 2014-01-25 19:43:56 +02:00
mimetypes.py Issue #20331: Fixed possible FD leaks in various modules: 2014-01-25 19:43:56 +02:00
modulefinder.py Issue #21707: Add missing kwonlyargcount argument to ModuleFinder.replace_paths_in_code(). 2014-07-07 14:58:12 +03:00
netrc.py Merge #14984: only import pwd on POSIX. 2013-09-18 08:59:47 -04:00
nntplib.py Issues #21948 and #16040: Fix typos. 2014-07-09 20:15:28 +03:00
ntpath.py Issue #15275: Clean up and speed up the ntpath module. 2014-07-23 20:43:13 +03:00
nturl2path.py
numbers.py
opcode.py PEP 465: a dedicated infix operator for matrix multiplication (closes #21176) 2014-04-09 23:55:56 -04:00
operator.py PEP 465: a dedicated infix operator for matrix multiplication (closes #21176) 2014-04-09 23:55:56 -04:00
optparse.py Issue #20315: Removed support for backward compatibility with early 2.x versions. 2014-01-20 21:29:31 +02:00
os.py Issue #21875: Remove vestigial references to Classic Mac OS in os module docs. 2014-06-26 23:40:06 -07:00
pathlib.py Merge pathlib fixes 2014-07-06 21:38:35 -04:00
pdb.py Issue #22032: __qualname__ instead of __name__ is now always used to format 2014-07-22 15:00:37 +03:00
pickle.py Issue #20976: pyflakes: Remove unused imports 2014-03-20 09:16:38 +01:00
pickletools.py Issue #6784: Strings from Python 2 can now be unpickled as bytes objects. 2013-12-07 01:09:27 -08:00
pipes.py
pkgutil.py Issue #20383: Introduce importlib.util.module_from_spec(). 2014-05-30 14:55:29 -04:00
platform.py Issue #20976: pyflakes: Remove unused imports 2014-03-20 09:16:38 +01:00
plistlib.py Issue #21888: plistlib's load() and loads() now work if the fmt parameter is 2014-07-23 18:49:31 +03:00
poplib.py Issue #19784: poplib now supports SSLContext.check_hostname and server name 2013-12-02 20:10:50 +01:00
posixpath.py Issue #3485: remove misleading comment 2014-06-18 13:09:40 -07:00
pprint.py Remove builtin "caching" in pprint 2013-10-03 21:29:36 +02:00
profile.py
pstats.py
pty.py
py_compile.py
pyclbr.py Issue 19944: Fix importlib.find_spec() so it imports parents as needed. 2014-01-25 15:32:46 -07:00
pydoc.py Issue #21942: Fixed source file viewing in pydoc's server mode on Windows. 2014-07-10 11:21:01 -05:00
queue.py
quopri.py Correct the quopri module documentation. Mention the correct types of the 2014-06-25 01:12:03 -07:00
random.py merge 2014-05-25 17:28:38 -07:00
re.py Issue #20426: When passing the re.DEBUG flag, re.compile() displays the debug output every time it is called, regardless of the compilation cache. 2014-02-03 21:01:35 +01:00
reprlib.py Issue #22031: Reprs now always use hexadecimal format with the "0x" prefix 2014-07-22 12:14:52 +03:00
rlcompleter.py
runpy.py Issue #20383: Introduce importlib.util.module_from_spec(). 2014-05-30 14:55:29 -04:00
sched.py
selectors.py Fix issue 18931: selectors module now supports /dev/poll on Solaris. 2014-03-20 21:43:41 +01:00
shelve.py
shlex.py
shutil.py #19840: Add copy_function to shutil.move. 2014-06-11 14:40:13 -04:00
signal.py Issue #21076: sigpending() is not available on Windows 2014-04-04 16:57:24 +02:00
site.py Issue #21711: support for "site-python" directories has now been removed from the site module (it was deprecated in 3.4). 2014-06-12 19:41:30 -04:00
smtpd.py #14758: Need to specify the desired socket type in the getaddrinfo call. 2014-06-11 15:17:50 -04:00
smtplib.py #15014: Add 'auth' command to implement auth mechanisms and use it in login. 2014-07-03 14:47:46 -04:00
sndhdr.py
socket.py Issue #22032: __qualname__ instead of __name__ is now always used to format 2014-07-22 15:00:37 +03:00
socketserver.py Issue #21491: socketserver: Fix a race condition in child processes reaping. 2014-06-20 22:49:26 +01:00
sre_compile.py Issue #20976: pyflakes: Remove unused imports 2014-03-20 09:16:38 +01:00
sre_constants.py Issue #13592: Improved the repr for regular expression pattern objects. 2013-11-23 22:42:43 +02:00
sre_parse.py Issue #8343: Named group error msgs did not show the group name. 2014-06-22 19:47:22 -07:00
ssl.py fix issue #17552: add socket.sendfile() method allowing to send a file over a socket by using high-performance os.sendfile() on UNIX. Patch by Giampaolo Rodola'· 2014-06-11 03:54:30 +02:00
stat.py Issue #21741: Add st_file_attributes to os.stat_result on Windows. 2014-06-19 09:46:37 -05:00
statistics.py Close #20536: correctly handle Decimal exponents in statistics 2014-02-08 23:55:14 +10:00
string.py Issue #13598: Add auto-numbering of replacement fields to string.Formatter. 2014-04-14 16:43:50 -04:00
stringprep.py
struct.py
subprocess.py Remove the obsolete MAXFD constant and Popen._close_fds() method. 2014-06-01 00:33:35 -07:00
sunau.py Issue #16685: Added support for writing any bytes-like objects in the aifc, 2013-11-16 14:01:31 +02:00
symbol.py
symtable.py merge 3.3 (#19393) 2013-10-26 13:22:08 -04:00
sysconfig.py Issue #19760: Silence sysconfig's 'SO' key deprecation warnings in tests. 2013-11-26 17:08:24 +02:00
tabnanny.py
tarfile.py Issue 21044: tarfile.open() now handles fileobj with an integer 'name' 2014-07-16 23:58:58 +03:00
telnetlib.py Fixes Issue #17200: telnetlib's read_until and expect timeout was broken by the 2013-12-10 18:25:21 -08:00
tempfile.py Issue #21515: Fix typo in a comment, thanks Arfrever for the report 2014-06-09 00:05:47 +02:00
textwrap.py Add shorten to __all_ (issues #18585 and #18725). 2013-10-16 13:07:53 +03:00
this.py
threading.py Issue 21137: Better repr for threading.Lock() 2014-05-25 18:22:35 -07:00
timeit.py Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 17:33:23 +02:00
token.py PEP 465: a dedicated infix operator for matrix multiplication (closes #21176) 2014-04-09 23:55:56 -04:00
tokenize.py PEP 465: a dedicated infix operator for matrix multiplication (closes #21176) 2014-04-09 23:55:56 -04:00
trace.py Fixes #10541: regrtest -T is broken 2014-06-29 17:44:05 -04:00
traceback.py Issue #22032: __qualname__ instead of __name__ is now always used to format 2014-07-22 15:00:37 +03:00
tracemalloc.py tracemalloc: filter_traces() raises a TypeError if filters is not an iterable 2014-03-10 11:05:07 +01:00
tty.py
turtle.py Issue #21868: Prevent turtle crash due to invalid undo buffer size. 2014-07-20 21:30:32 -07:00
types.py Close #19030: inspect.getmembers and inspect.classify_class_attrs 2013-10-18 00:27:39 -07:00
uu.py
uuid.py Merge #19855: restore use of LC_ALL, not LC_MESSAGES 2014-01-18 15:02:00 -05:00
warnings.py Issue #16382: Improve exception message of warnings.warn() for bad category. 2014-07-11 19:50:25 +03:00
wave.py Issue #19641: Added the audioop.byteswap() function to convert big-endian 2013-11-23 22:26:01 +02:00
weakref.py Issue #22031: Reprs now always use hexadecimal format with the "0x" prefix 2014-07-22 12:14:52 +03:00
webbrowser.py Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 17:33:23 +02:00
xdrlib.py
zipfile.py Fix issue #14315: The zipfile module now ignores extra fields in the central 2014-05-29 23:42:14 -07:00