cpython/Lib
Guido van Rossum 91185fe028 Sync typing.py with upstream.
(Upstream is https://github.com/python/typing)

- Add TYPE_CHECKING (false at runtime, true in type checkers) (upstream #230).
- Avoid error on Union[xml.etree.cElementTree.Element, str] (upstream #229).
- Repr of Tuple[()] should be 'Tuple[()]' (upstream #231).
- Add NewType() (upstream #189).
2016-06-08 11:19:11 -07:00
..
asyncio asyncio: Remove asyncio.timeout() context manager. 2016-06-08 13:57:03 -04:00
collections Issue #27125: Fix various errors like “will [be] inherited” 2016-05-29 04:13:35 +00:00
concurrent Issue #25523: Further a-to-an corrections new in 3.5 2015-11-02 04:20:33 +00:00
ctypes Issue #27125: Remove duplicated words from documentation and comments 2016-05-30 04:04:50 +00:00
curses
dbm Issue #23865: close() methods in multiple modules now are idempotent and more 2015-04-10 13:29:28 +03:00
distutils - Issue #26884: Fix linking extension modules for cross builds. 2016-06-05 00:41:58 +02:00
email Issue #27125: Fix various errors like “will [be] inherited” 2016-05-29 04:13:35 +00:00
encodings Issue #27076: Doc, comment and tests spelling fixes 2016-05-26 05:35:26 +00:00
ensurepip Upgrade ensurepip bundled setuptools to 20.10.1 2016-05-02 07:03:46 -04:00
html Issue #27076: Doc, comment and tests spelling fixes 2016-05-26 05:35:26 +00:00
http Issue #25738: Don’t send message body for 205 Reset Content 2016-06-08 08:29:13 +00:00
idlelib Items for NEWS and idlelib/NEWS.txt. 2016-06-07 15:33:53 -04:00
importlib Issue #27138: Fix the doc comment for FileFinder.find_spec(). 2016-05-27 12:36:28 -06:00
json Issue #26719: More efficient formatting of ints and floats in json. 2016-04-10 14:41:19 +03:00
lib2to3 Issue #27076: Doc, comment and tests spelling fixes 2016-05-26 05:35:26 +00:00
logging Fixed #27251: corrected string/bytes handling in credentials. 2016-06-07 21:19:55 +01:00
msilib Issue #27076: Doc, comment and tests spelling fixes 2016-05-26 05:35:26 +00:00
multiprocessing Issue #26778: Fixed "a/an/and" typos in code comment and documentation. 2016-04-17 08:32:47 +03: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 for Python 3.4.4 final. 2015-12-19 19:28:52 -08:00
site-packages
sqlite3 Issue #26778: Fixed "a/an/and" typos in code comment and documentation. 2016-04-17 08:32:47 +03:00
test Sync typing.py with upstream. 2016-06-08 11:19:11 -07:00
tkinter Issue #27171: Fix typos in documentation, comments, and test function names 2016-06-02 10:07:09 +00:00
turtledemo Issue #27117: Make ColorDelegator htest and turtledemo work with dark theme. 2016-05-29 01:40:30 -04:00
unittest Issue #27171: Fix typos in documentation, comments, and test function names 2016-06-02 10:07:09 +00:00
urllib Issue #17214: Percent-encode non-ASCII bytes in redirect targets 2016-05-16 01:14:20 +00:00
venv Fixes #26348: Corrected typos in activate.fish script. 2016-02-13 16:26:35 +00:00
wsgiref Issue #24291: Avoid WSGIRequestHandler doing partial writes 2016-06-05 06:28:55 +00:00
xml Clarify deprecation of ElementTree.XMLParser(html=...) parameter 2016-06-04 07:12:51 +00:00
xmlrpc Issue #26873: xmlrpc now raises ResponseError on unsupported type tags 2016-05-04 11:26:42 +03:00
__future__.py PEP 479: Change StopIteration handling inside generators. 2015-05-09 11:44:30 -04:00
__phello__.foo.py
_bootlocale.py
_collections_abc.py Issue #24400: Resurrect inspect.isawaitable() 2015-07-03 13:11:35 -04:00
_compat_pickle.py Issue #26013: Added compatibility with broken protocol 2 pickles created 2016-01-18 21:35:22 +02:00
_compression.py Issue #23529: Limit the size of decompressed data when reading from 2015-04-11 00:31:01 +02: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 #27171: Fix typos in documentation, comments, and test function names 2016-06-02 10:07:09 +00:00
_pydecimal.py Issue #27171: Fix typos in documentation, comments, and test function names 2016-06-02 10:07:09 +00:00
_pyio.py Issue #27171: Fix typos in documentation, comments, and test function names 2016-06-02 10:07:09 +00:00
_sitebuiltins.py
_strptime.py Issue #23718: Fixed parsing time in week 0 before Jan 1. Original patch by 2016-03-12 10:51:16 +02:00
_threading_local.py
_weakrefset.py
abc.py Issue #22032: __qualname__ instead of __name__ is now always used to format 2014-07-22 15:00:37 +03:00
aifc.py Corrected docstrings of audio modules. writeframes() accepts bytes, not str. 2015-07-10 22:13:40 +03:00
antigravity.py
argparse.py Issue #14910: Add allow_abbrev parameter to argparse.ArgumentParser. 2015-02-14 01:39:17 +02:00
ast.py Issue #25670: Remove duplicate getattr() from ast.NodeTransformer 2015-11-20 08:49:58 +01:00
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 #23485: select.poll.poll() is now retried when interrupted by a signal 2015-03-30 21:38:00 +02:00
base64.py Issue #25913: Leading <~ is optional now in base64.a85decode() with adobe=True. 2016-02-24 12:05:50 +02:00
bdb.py
binhex.py Issue #23865: close() methods in multiple modules now are idempotent and more 2015-04-10 13:29:28 +03:00
bisect.py
bz2.py Issue #23529: Limit the size of decompressed data when reading from 2015-04-11 00:31:01 +02:00
cProfile.py
calendar.py Issue #25523: Correct "a" article to "an" article 2015-11-02 03:37:02 +00:00
cgi.py Issue #27076: Doc, comment and tests spelling fixes 2016-05-26 05:35:26 +00:00
cgitb.py Issue #22831: Use "with" to avoid possible fd leaks. 2015-04-04 11:01:02 +03:00
chunk.py Issue #25523: Correct "a" article to "an" article 2015-11-02 03:37:02 +00:00
cmd.py
code.py Remaining fallout from 17911 2015-03-05 15:45:01 +13:00
codecs.py Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 2015-11-02 04:04:57 +00:00
codeop.py
colorsys.py
compileall.py Merge: #24903: Remove misleading error message to fix regression. 2015-12-04 23:04:37 -05:00
configparser.py Issue #21159: Improve message in configparser.InterpolationMissingOptionError. 2015-08-14 11:47:41 +12:00
contextlib.py Issue #24336: The contextmanager decorator now works with functions with 2015-06-28 17:08:35 +03:00
copy.py Issue #26202: copy.deepcopy() now correctly copies range() objects with 2016-01-28 21:43:35 +02:00
copyreg.py
crypt.py
csv.py Issue #23171: csv.Writer.writerow() now supports arbitrary iterables. 2015-03-30 09:09:54 +03:00
datetime.py Add some "used with permission" mentions where external resources are referenced. 2016-01-15 09:53:51 -08:00
decimal.py Issue #23641: Cleaned out legacy dunder names from tests and docs. 2015-03-12 21:56:08 +02:00
difflib.py Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 2015-11-02 04:04:57 +00:00
dis.py Issue #27076: Doc, comment and tests spelling fixes 2016-05-26 05:35:26 +00:00
doctest.py doctest: fix _module_relative_path() error message 2016-03-25 12:50:36 +01:00
dummy_threading.py
enum.py issue26893: use mro() to examine class heirarchy 2016-05-01 10:03:53 -07:00
filecmp.py
fileinput.py Issue #15068: Avoid creating a reference loop in fileinput. 2016-03-08 23:35:35 +02:00
fnmatch.py
formatter.py Issue #25407: Drop the mention of the formatter module being removed 2015-10-16 12:09:33 -07:00
fractions.py Issue #22486: Added the math.gcd() function. The fractions.gcd() function now is 2015-05-13 00:19:51 +03:00
ftplib.py Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 2015-11-02 04:04:57 +00:00
functools.py Removed redundant call of update_wrapper(). 2015-10-24 09:51:53 +03:00
genericpath.py Issue #21883: os.path.join() and os.path.relpath() now raise a TypeError with 2014-10-04 14:58:43 +03:00
getopt.py Issue #25523: Correct "a" article to "an" article 2015-11-02 03:37:02 +00:00
getpass.py remove duplicated imports (closes #25502) 2015-10-28 23:15:13 -07:00
gettext.py Merge from 3.4 2015-04-14 10:35:43 -04:00
glob.py Issue #25584: Added "escape" to the __all__ list in the glob module. 2015-11-09 23:18:19 +02:00
gzip.py Fix spelling (inital), grammar (may translates) in documentation, comments 2016-04-19 04:03:41 +00:00
hashlib.py Removed duplicated words in in comments and docs. 2014-12-01 18:28:43 +02:00
heapq.py Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc 2016-04-15 02:14:19 +00:00
hmac.py
imaplib.py Issue #23779: imaplib raises TypeError if authenticator tries to abort. 2015-07-31 09:01:38 +12:00
imghdr.py #20295: Teach imghdr to recognize OpenEXR format images. 2014-06-26 12:27:57 -04:00
imp.py Close #24748: Restore imp.load_dynamic compatibility 2015-09-05 21:05:05 +10:00
inspect.py inspect: Fix BoundArguments.apply_defaults to handle empty arguments 2016-03-02 11:07:47 -05:00
io.py Issue #25523: Correct "a" article to "an" article 2015-11-02 03:37:02 +00:00
ipaddress.py Issue #26457: Fixed the subnets() methods in IP network classes for the case 2016-03-01 10:25:45 +02:00
keyword.py
linecache.py Issue #23838: linecache now clears the cache and returns an empty result on 2015-04-01 16:56:13 +03:00
locale.py Issue #27076: Doc, comment and tests spelling fixes 2016-05-26 05:35:26 +00:00
lzma.py Issue #26778: Fixed "a/an/and" typos in code comment and documentation. 2016-04-17 08:32:47 +03:00
macpath.py Issue #23780: Improved error message in os.path.join() with single argument. 2015-05-19 11:00:07 +03:00
macurl2path.py
mailbox.py Issue #26778: Fixed "a/an/and" typos in code comment and documentation. 2016-04-17 08:32:47 +03:00
mailcap.py
mimetypes.py Issue #16329: Add .webm to mimetypes.types_map 2016-04-09 08:00:20 +03:00
modulefinder.py Issue #26881: Restored the name of scan_opcodes_25(). 2016-05-11 22:19:49 +03:00
netrc.py
nntplib.py Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc 2016-04-15 02:14:19 +00:00
ntpath.py Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc 2016-04-15 02:14:19 +00:00
nturl2path.py Issue21160: Correct comments in nturl2path. Patch by Jurko Gospodnetić. 2015-10-24 17:39:36 +03:00
numbers.py Issue #21408: The default __ne__() now returns NotImplemented if __eq__() 2015-01-26 09:57:07 +02:00
opcode.py Issue #24400: Introduce a distinct type for 'async def' coroutines. 2015-06-22 12:19:30 -04:00
operator.py added matmul and imatmul to operator.__all__ 2015-06-07 19:21:01 +03:00
optparse.py Fix spelling (inital), grammar (may translates) in documentation, comments 2016-04-19 04:03:41 +00:00
os.py Issue #25911: Backport os._DummyDirEntry fixes 2016-03-29 13:38:22 +02:00
pathlib.py Issue #27171: Fix typos in documentation, comments, and test function names 2016-06-02 10:07:09 +00:00
pdb.py Issue #27171: Fix typos in documentation, comments, and test function names 2016-06-02 10:07:09 +00:00
pickle.py Issue #27076: Doc, comment and tests spelling fixes 2016-05-26 05:35:26 +00:00
pickletools.py Corrections for a/an in code comments and documentation 2016-05-08 13:53:41 +00:00
pipes.py
pkgutil.py Issue #20383: Introduce importlib.util.module_from_spec(). 2014-05-30 14:55:29 -04:00
platform.py Issue #21313: Tolerate truncated buildinfo in sys.version 2016-06-08 06:12:22 +00:00
plistlib.py Issue #26711: Fixed the comparison of plistlib.Data with other types. 2016-05-01 13:36:16 +03:00
poplib.py #21804: Add RFC 6856 (UTF8) support to poplib. 2015-05-16 15:05:53 -04:00
posixpath.py Fix typos in code comments and documentation 2016-04-16 09:28:57 +00:00
pprint.py Issue #26778: Fixed "a/an/and" typos in code comment and documentation. 2016-04-17 08:32:47 +03:00
profile.py
pstats.py
pty.py
py_compile.py Issue #23911: Move path-based bootstrap code to a separate frozen module. 2015-05-02 19:15:18 -06:00
pyclbr.py Fix pyclbr to support importing packages 2016-03-17 09:06:41 +01:00
pydoc.py #16484: Fix pydoc doc links to modules whose names are mixed case. 2016-06-03 19:28:35 -04:00
queue.py Issue #22043: time.monotonic() is now always available 2014-09-02 23:18:25 +02:00
quopri.py Issue #23681: Fixed Python 2 to 3 poring bugs. 2015-03-20 16:46:19 +02:00
random.py Issue #27171: Fix typos in documentation, comments, and test function names 2016-06-02 10:07:09 +00:00
re.py Issue #22364: Improved some re error messages using regex for hints. 2015-03-25 21:03:47 +02:00
reprlib.py Issue #26634: recursive_repr() now sets __qualname__ of wrapper. 2016-04-26 09:30:44 +03:00
rlcompleter.py Issue #25660: Fix a unittest and rlcompleter when readline isn't available 2016-02-04 14:00:26 -05:00
runpy.py Issue #19771: Omit irrelevant message if package could not be initialized 2015-12-12 06:58:55 +00:00
sched.py Issue #23326: Removed __ne__ implementations. Since fixing default __ne__ 2015-01-31 12:05:05 +02:00
selectors.py asyncio, selectors: Update to the upstream version 2016-03-02 10:37:59 -05:00
shelve.py Issue #23865: close() methods in multiple modules now are idempotent and more 2015-04-10 13:24:41 +03:00
shlex.py Issue #24113: Remove unreachable code in shlex. 2015-05-04 22:45:47 -04:00
shutil.py Issue #26801: shutil.get_terminal_size() now handles the case of stdout is 2016-04-24 09:58:43 +03:00
signal.py Issue #25523: Further a-to-an corrections new in 3.5 2015-11-02 04:20:33 +00:00
site.py Issue #27171: Fix typos in documentation, comments, and test function names 2016-06-02 10:07:09 +00:00
smtpd.py #25328: add missing raise keyword in decode_data+SMTPUTF8 check. 2015-10-09 10:19:33 -04:00
smtplib.py #25446: Fix regression in smtplib's AUTH LOGIN support. 2015-11-08 01:03:52 -05:00
sndhdr.py #18615: Make sndhdr return namedtuples. 2014-10-09 16:59:30 -04:00
socket.py Issue #26778: Fixed "a/an/and" typos in code comment and documentation. 2016-04-17 08:32:47 +03:00
socketserver.py Issue #26778: Fixed "a/an/and" typos in code comment and documentation. 2016-04-17 08:32:47 +03:00
sre_compile.py Issue #22364: Improved some re error messages using regex for hints. 2015-03-25 21:03:47 +02:00
sre_constants.py Issue #22831: Use "with" to avoid possible fd leaks. 2015-04-04 11:01:02 +03:00
sre_parse.py Issue #26475: Fixed debugging output for regular expressions with the (?x) flag. 2016-03-06 09:15:47 +02:00
ssl.py Issue #27114: Fix SSLContext._load_windows_store_certs fails with PermissionError 2016-05-26 12:18:12 -07: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 Issue 26977, remove unneeded line in pvariance (duplicate call to _ss). 2016-05-11 11:50:13 +10:00
string.py Issue #26809: Add __all__ to string module. Patch by Emanuel Barry 2016-06-04 14:35:05 -05:00
stringprep.py
struct.py
subprocess.py Fixes Issue #26373: subprocess.Popen.communicate now correctly ignores 2016-06-04 00:22:17 +00:00
sunau.py Corrected docstrings of audio modules. writeframes() accepts bytes, not str. 2015-07-10 22:13:40 +03:00
symbol.py Issue 24297: Update symbol.py. See also issue 24017. 2015-05-27 11:08:19 -04:00
symtable.py remove the concept of an unoptimized function scope from the compiler, since it can't happen anymore 2015-04-27 21:44:22 -04:00
sysconfig.py - Issue #24705: Fix sysconfig._parse_makefile not expanding ${} vars 2016-01-11 21:41:40 +01:00
tabnanny.py
tarfile.py Issue #24838: tarfile's ustar and gnu formats now correctly calculate name and 2016-04-19 08:43:17 +02:00
telnetlib.py Issue #23865: close() methods in multiple modules now are idempotent and more 2015-04-10 13:29:28 +03:00
tempfile.py Issue #26385: Cleanup NamedTemporaryFile if open() fails, by SilentGhost 2016-02-28 05:22:20 +00:00
textwrap.py Issue #21827: Fixed textwrap.dedent() for the case when largest common 2015-10-28 21:43:12 +02:00
this.py
threading.py Issue #27076: Doc, comment and tests spelling fixes 2016-05-26 05:35:26 +00:00
timeit.py Issue #24631: Fixed regression in the timeit modulu with multyline setup. 2015-07-15 22:11:36 +03:00
token.py PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
tokenize.py Issue #26581: Use the first coding cookie on a line, not the last one. 2016-03-20 23:36:29 +02:00
trace.py Issue #23731: Implement PEP 488. 2015-04-13 14:21:02 -04:00
traceback.py Issue #27076: Doc, comment and tests spelling fixes 2016-05-26 05:35:26 +00:00
tracemalloc.py Issue #23731: Implement PEP 488. 2015-04-13 14:21:02 -04:00
tty.py
turtle.py Issue #6639: Module-level turtle functions no longer raise TclError after 2015-02-22 17:25:33 +02:00
types.py Issue #24400: Resurrect inspect.isawaitable() 2015-07-03 13:11:35 -04:00
typing.py Sync typing.py with upstream. 2016-06-08 11:19:11 -07:00
uu.py
uuid.py Issue #19164: Improve exception message of uuid.UUID() 2016-03-20 16:49:10 +02:00
warnings.py Issue #18383: Avoid adding duplicate filters when warnings is reloaded 2016-05-26 09:10:55 +00:00
wave.py Corrected docstrings of audio modules. writeframes() accepts bytes, not str. 2015-07-10 22:13:40 +03:00
weakref.py Issue #22958: Constructor and update method of weakref.WeakValueDictionary 2015-09-29 23:52:42 +03:00
webbrowser.py Issue #25005: Backout fix for #8232 because of use of unsafe subprocess.call(shell=True) 2015-09-05 11:57:47 -07:00
xdrlib.py Issue #11694: Raise ConversionError in xdrlib as documented 2014-10-10 21:21:52 +03:00
zipapp.py Issue #26778: Fixed "a/an/and" typos in code comment and documentation. 2016-04-17 08:32:47 +03:00
zipfile.py Issue #22341: Drop Python 2 workaround and document CRC initial value 2015-12-11 05:19:29 +00:00