cpython/Lib
Victor Stinner 896a25ab30 asyncio: sync with Tulip
- Tulip issue 185: Add a create_task() method to event loops. The create_task()
  method can be overriden in custom event loop to implement their own task
  class. For example, greenio and Pulsar projects use their own task class. The
  create_task() method is now preferred over creating directly task using the
  Task class.
- tests: fix a warning
- fix typo in the name of a test function
- Update AbstractEventLoop: add new event loop methods; update also the unit test
2014-07-08 11:29:25 +02:00
..
asyncio asyncio: sync with Tulip 2014-07-08 11:29:25 +02:00
collections Issue 21832: Require named tuple inputs to be exact strings 2014-06-24 15:20:55 -07:00
concurrent Issue #20319: concurrent.futures.wait() can block forever even if Futures have completed 2014-02-01 11:49:04 +11:00
ctypes Issue #21829: Fix running test_ctypes on Windows with -O or -OO 2014-06-26 15:20:44 -05:00
curses Fix docstring in curses (#16782) 2012-12-29 23:09:32 +02:00
dbm Issue #21729: Used the "with" statement in the dbm.dumb module to ensure 2014-06-25 20:35:31 +03:00
distutils Issue #21923: Prevent AttributeError in distutils.sysconfig.customize_compiler 2014-07-06 16:14:33 -07: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:07:04 +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 merge 3.3 (#21766) 2014-06-14 18:41:13 -07:00
idlelib More idlelib cleanup inspired by pyflakes. 2014-07-01 21:33:31 -04:00
importlib Issue #21226: Set all attrs in PyImport_ExecCodeModuleObject. 2014-05-12 17:54:55 -06:00
json Remove mentions of Python 2.x and being externally maintained from 2013-12-08 00:39:36 -08:00
lib2to3 teach 2to3 about 'yield from' 2014-04-10 00:23:18 -04:00
logging Issue #21742: Set stream to None after closing. 2014-06-14 10:22:05 +01:00
msilib Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*, 2013-03-11 17:57:08 -04:00
multiprocessing do not generate pipe names in the temporary dir 2014-04-14 12:24:37 -04:00
plat-aix4
plat-darwin
plat-freebsd4
plat-freebsd5
plat-freebsd6
plat-freebsd7
plat-freebsd8
plat-generic - Issue #17086: Backport the patches from the 3.3 branch to cross-build 2013-01-31 23:52:03 +01:00
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 asyncio: sync with Tulip 2014-07-08 11:29:25 +02:00
tkinter Issue #18492: Allow all resources when tests are not run by regrtest.py. 2014-06-02 16:01:29 -05:00
turtledemo Issue #21882: In turtle demos, remove module scope gui and sys calls by 2014-06-30 16:09:24 -04:00
unittest Issue #9815: assertRaises now tries to clear references to local variables in the exception's traceback. 2014-04-29 01:23:50 +02:00
urllib in ftp cache pruning, avoid changing the size of a dict while iterating over it (closes #21463) 2014-06-07 15:08:04 -07:00
venv Issue #21663: Fixed error caused by trying to create an existing directory. 2014-06-05 09:31:20 +01:00
wsgiref Update docstring to mention correct PEP number. 2014-01-26 14:59:30 -08:00
xml Issue #21774: Fix incorrect variable in xml.dom.minidom 2014-06-15 14:48:19 -07:00
xmlrpc Issue #20976: pyflakes: Remove unused imports 2014-03-20 09:16:38 +01: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 Fix guidance for subclassing collections.Set() 2014-07-03 00:31:30 +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 #18808: Thread.join() now waits for the underlying thread state to be destroyed before returning. 2013-09-07 23:38:37 +02: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 Issue #21310: Fixed possible resource leak in failed open(). 2014-06-09 13:32:34 +03: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 #16832: s/integer/object/ in docs/docstring, and add whatsnew entry. 2013-12-24 16:13:32 -05: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 create NameConstant AST class for None, True, and False literals (closes #16619) 2012-12-06 17:41:04 -05:00
asynchat.py Issue #11259: asynchat.async_chat().set_terminator() now raises a ValueError if 2014-07-08 00:26:36 +02:00
asyncore.py Issue #11453: asyncore: emit a ResourceWarning when an unclosed file_wrapper 2014-06-27 23:52:03 +02: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 Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
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 #18705: fix a number of typos. Patch by Févry Thibault. 2013-08-17 15:50:46 +03:00
cgi.py remove unused argument (closes #21135) 2014-04-03 10:22:10 -04: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 Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
cmd.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
code.py Closes #17730: in code.interact(), when banner="", do not print anything. 2013-10-13 21:49:06 +02:00
codecs.py Issue #19619: Blacklist non-text codecs in method API 2014-02-24 14:43:03 +02:00
codeop.py
colorsys.py Issue #14323: Expanded the number of digits in the coefficients for the 2013-08-06 11:51:23 +03:00
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 Issue #20791: copy.copy() now doesn't make a copy when the input is a bytes object. Initial patch by Peter Otten. 2014-02-27 22:14:31 +01:00
copyreg.py Issue #17810: Implement PEP 3154, pickle protocol 4. 2013-11-23 18:59:12 +01:00
cProfile.py Fix #17197: profile/cProfile modules refactored so that code of run() and runctx() utility functions is not duplicated in both modules. 2013-02-25 11:36:40 +01:00
crypt.py Issue #18405: Improve the entropy of crypt.mksalt(). 2013-08-14 01:39:14 +02:00
csv.py #19449: Handle non-string keys when generating 'fieldnames' error. 2013-11-19 13:16:20 -05:00
datetime.py improve comment 2013-08-29 17:29:30 -04:00
decimal.py Issue #20976: pyflakes: Remove unused imports 2014-03-20 09:16:38 +01:00
difflib.py Issue 21635: Fix caching in difflib.SequenceMatcher.get_matching_blocks(). 2014-06-21 11:57:36 -07:00
dis.py Close #17916: dis.Bytecode based replacement for distb 2013-11-23 00:57:00 +10:00
doctest.py Issue #3158: Provide a couple of fallbacks for in case a method_descriptor 2014-02-06 15:46:38 -06: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 Set cache sizes to a power-of-two 2013-02-17 01:33:37 -08:00
formatter.py Issue #18716: Deprecate the formatter module 2013-10-04 11:38:59 -04:00
fractions.py Issue #16469: Fraction(float('nan')) and Fraction(float('inf')) now raise ValueError and OverflowError (resp.), not TypeError. 2012-11-15 20:58:40 +00:00
ftplib.py Issue #20978: pyflakes: fix undefined names 2014-03-20 08:50:52 +01:00
functools.py Issue #20976: pyflakes: Remove unused imports 2014-03-20 09:16:38 +01:00
genericpath.py #18705: merge with 3.3. 2013-08-17 15:53:55 +03:00
getopt.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
getpass.py #21169: add comment and doc update for getpass change. 2014-04-14 10:28:58 -04:00
gettext.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
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 Issue #19018: The heapq.merge() function no longer suppresses IndexError 2013-09-14 20:51:57 -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 Issue #20331: Fixed possible FD leaks in various modules: 2014-01-25 19:43:56 +02:00
imp.py Issue #15204: Deprecated the 'U' mode in file-like objects. 2013-11-23 22:12:06 +02:00
inspect.py inspect: Validate that __signature__ is None or an instance of Signature. 2014-06-23 10:21:04 -07:00
io.py #21225: copy docstrings from base classes 2014-04-25 09:29:30 -04:00
ipaddress.py Issue #19157: Include the broadcast address in the usuable hosts for IPv6 2014-03-11 09:55:46 -07:00
keyword.py 17830: preserve line endings of original file when updating keywords. 2013-04-25 12:01:36 -04:00
linecache.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
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 Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
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 Issue #20976: pyflakes: Remove unused imports 2014-03-20 09:16:38 +01:00
ntpath.py Issue #6815: os.path.expandvars() now supports non-ASCII environment 2014-02-13 10:14:48 +02:00
nturl2path.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
numbers.py
opcode.py Issue #19722: Added opcode.stack_effect(), which accurately 2013-11-23 14:49:22 -08:00
operator.py Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 17:33:23 +02: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 Issue #20639: calling Path.with_suffix('') allows removing the suffix again. 2014-07-06 21:37:15 -04:00
pdb.py Better behavior when stepping over yield[from]. Fixes issue 16596. By Xavier de Gaye. 2013-11-21 11:30:06 -08: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 #14710: Fix both pkgutil.find_loader() and get_loader() to not 2014-05-23 12:30:37 -04:00
platform.py Issue #20976: pyflakes: Remove unused imports 2014-03-20 09:16:38 +01:00
plistlib.py Issue #21538: The plistlib module now supports loading of binary plist files 2014-05-23 16:13:33 +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 Fix #17197: profile/cProfile modules refactored so that code of run() and runctx() utility functions is not duplicated in both modules. 2013-02-25 11:36:40 +01:00
pstats.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
pty.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
py_compile.py Issue #17222: fix a mix-up in some exception messages. 2013-06-17 17:48:30 -04:00
pyclbr.py Issue 19944: Fix importlib.find_spec() so it imports parents as needed. 2014-01-25 15:32:46 -07:00
pydoc.py make sure the builtin help function doesn't fail when sys.stdin is not a valid file (closes #11709) 2014-06-07 20:14:26 -07:00
queue.py Issue #18676: Change 'positive' to 'non-negative' in queue.py put and get 2013-08-10 18:17:13 -04:00
quopri.py Correct the quopri module documentation. Mention the correct types of the 2014-06-25 01:12:03 -07:00
random.py Issue 13355: Make random.triangular degrade gracefully when low == high. 2014-05-25 17:25:27 -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 #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
rlcompleter.py #18705: merge with 3.3. 2013-08-17 15:53:55 +03:00
runpy.py Issue #20976: pyflakes: Remove unused imports 2014-03-20 09:16:38 +01:00
sched.py merge 2013-07-13 22:48:49 -07:00
selectors.py asyncio: remove unused imports and unused variables noticed by pyflakes 2014-02-20 10:37:27 +01:00
shelve.py Add spaces to follow PEP8. 2012-10-06 18:38:30 +03:00
shlex.py Revert "Issue #16121: Fix line number accounting in shlex" 2013-02-23 23:12:35 +01:00
shutil.py Issue #19856: shutil.move() failed to move a directory to other directory 2014-02-11 10:32:41 +02:00
site.py Issue #21572: Change license command to fallback to generic license URL. 2014-05-30 23:46:19 -07:00
smtpd.py Issue #18922: Now The Lib/smtpd.py and Tools/i18n/msgfmt.py scripts write 2013-09-05 17:44:53 +03:00
smtplib.py Fix issue #21641: Close the socket before raising the SMTPResponseException. Fixes the ResourceWarning in the test run. 2014-06-03 07:24:54 -07:00
sndhdr.py #5024: whichhdr now returns the frame count for WAV files. 2013-03-18 17:42:42 -04:00
socket.py Provide a more readable representation of socket on repr(). 2013-10-03 21:01:43 +02:00
socketserver.py Issue #21491: socketserver: Fix a race condition in child processes reaping. 2014-06-20 22:37:35 +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 Issue #21013: Enhance ssl.create_default_context() for server side contexts 2014-03-23 19:05:28 -04:00
stat.py Issue #15767: Excise the remaining instances of ModuleNotFoundError 2013-07-04 18:16:15 -04: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 Issue #17804: New function `struct.iter_unpack` allows for streaming struct unpacking. 2013-04-27 00:20:04 +02:00
subprocess.py subprocess's Popen.wait() is now thread safe so that multiple threads 2014-04-23 00:27:17 -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 remain symbol.main to symbol._main mirroring token.py 2013-02-05 10:13:22 -05:00
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 Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
tarfile.py Issue #20976: pyflakes: Remove unused imports 2014-03-20 09:16:38 +01: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 #21058: Fix a leak of file descriptor in tempfile.NamedTemporaryFile(), 2014-03-25 09:18:04 +01:00
textwrap.py Add shorten to __all_ (issues #18585 and #18725). 2013-10-16 13:07:53 +03:00
this.py
threading.py Issue #20976: pyflakes: Remove unused imports 2014-03-20 09:16:38 +01: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 Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 17:33:23 +02:00
tokenize.py Merge with 3.3 2014-02-23 23:40:16 -05:00
trace.py Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 17:33:23 +02:00
traceback.py Issue #17825: Cursor ^ is correctly positioned for SyntaxError and IndentationError. 2014-01-22 01:16:25 +01: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 #21882: In turtle demos, remove module scope gui and sys calls by 2014-06-30 16:09:24 -04: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 Close #19379: Lazily import linecache in the warnings module, to make startup with warnings faster until a warning gets printed. 2013-10-24 22:23:42 +02: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 #15528: Delay importing atexit until weakref.finalize() used. 2013-06-08 16:52:29 +01: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 Merge: change docstring for xdrlib.Error to use new style exceptions. 2012-11-01 13:43:31 +02:00
zipfile.py Fix issue #14315: The zipfile module now ignores extra fields in the central 2014-05-29 23:42:14 -07:00