/cpython

Switch branches/tags
v3.6.1 v3.6.1rc1 v3.6.0 v3.6.0rc2 v3.6.0rc1 v3.6.0b4 v3.6.0b3 v3.6.0b2 v3.6.0b1 v3.6.0a4 v3.6.0a3 v3.6.0a2 v3.6.0a1 v3.5.3 v3.5.3rc1 v3.5.2 v3.5.2rc1 v3.5.1 v3.5.1rc1 v3.5.0 v3.5.0rc4 v3.5.0rc3 v3.5.0rc2 v3.5.0rc1 v3.5.0b4 v3.5.0b3 v3.5.0b2 v3.5.0b1 v3.5.0a4 v3.5.0a3 v3.5.0a2 v3.5.0a1 v3.4.6 v3.4.6rc1 v3.4.5 v3.4.5rc1 v3.4.4 v3.4.4rc1 v3.4.3 v3.4.3rc1 v3.4.2 v3.4.2rc1 v3.4.1 v3.4.1rc1 v3.4.0 v3.4.0rc3 v3.4.0rc2 v3.4.0rc1 v3.4.0b3 v3.4.0b2 v3.4.0b1 v3.4.0a4 v3.4.0a3 v3.4.0a2 v3.4.0a1 v3.3.6 v3.3.6rc1 v3.3.5 v3.3.5rc2 v3.3.5rc1 v3.3.4 v3.3.4rc1 v3.3.3 v3.3.3rc2 v3.3.3rc1 v3.3.2 v3.3.1 v3.3.1rc1 v3.3.0 v3.3.0rc3 v3.3.0rc2 v3.3.0rc1 v3.3.0b2 v3.3.0b1 v3.3.0a4 v3.3.0a3 v3.3.0a2 v3.3.0a1 v3.2.6 v3.2.6rc1 v3.2.5 v3.2.4 v3.2.4rc1 v3.2.3 v3.2.3rc2 v3.2.3rc1 v3.2.2 v3.2.2rc1 v3.2.1 v3.2.1rc2 v3.2.1rc1 v3.2.1b1 v3.2 v3.2rc3 v3.2rc2 v3.2rc1 v3.2b2 v3.2b1 v3.2a4 v3.2a3
Nothing to show
Find file History
cpython/Lib/
Permalink
..
Failed to load latest commit information.
asynciobpo-29617: Remove Python 3.3 support from asyncio (GH-232)Apr 25, 2017
collectionsIssues #29311, #29289: Fixed and improved docstrings for dict and Ord…Jan 24, 2017
concurrentIssue #27895: Spelling fixes (Contributed by Ville Skyttä).Aug 30, 2016
ctypesbpo-30125: disable faulthandler in ctypes test_SEH (#1237)Apr 21, 2017
cursesIssue #13051: Fixed recursion errors in large or resized curses.textp…Dec 28, 2016
dbmbpo-30144: Import collections ABC from collections.abc rather than co…Apr 24, 2017
distutilsbpo-30132: distutils test_build_ext() uses temp_cwd() (#1278)Apr 25, 2017
emailFixed a type error introduced in issue #28992.Dec 21, 2016
encodingsRevert #27959: ImportError within an encoding module should also skip…Sep 9, 2016
ensurepipMerge - upgrade pip/setuptoolsNov 16, 2016
html#27364: fix "incorrect" uses of escape character in the stdlib.Sep 8, 2016
httpbpo-30144: Import collections ABC from collections.abc rather than co…Apr 24, 2017
idlelibbpo-30144: Import collections ABC from collections.abc rather than co…Apr 24, 2017
importlibbpo-30022: Get rid of using EnvironmentError and IOError (except test… (Apr 16, 2017
jsonbpo-29762: More use "raise from None". (#569)Apr 5, 2017
lib2to3bpo-30144: Import collections ABC from collections.abc rather than co…Apr 24, 2017
loggingbpo-30144: Import collections ABC from collections.abc rather than co…Apr 24, 2017
msilib#27364: fix "incorrect" uses of escape character in the stdlib.Sep 8, 2016
multiprocessingbpo-30065: Fixed arguments validation in _posixsubprocess.fork_exec(). (Apr 19, 2017
pydoc_dataUpdate pydoc topics for 3.6.0b1Sep 12, 2016
site-packagesIssue #29283: Delete accidentally added Lib/site-packages/READMEJan 30, 2017
sqlite3bpo-26187: Test that set_trace_callback() is not called multiple times (Apr 9, 2017
testbpo-30158: Fix deprecation warnings in test_importlib introduced by b…Apr 29, 2017
tkinterbpo-29776: Use decorator syntax for properties. (#585)Mar 19, 2017
turtledemoIssue #27117: Make colorizer htest and turtledemo work with dark theme.May 29, 2016
unittestbpo-30078: Add an example of passing a path to unittest (#1178)Apr 20, 2017
urllibbpo-30022: Get rid of using EnvironmentError and IOError (except test… (Apr 16, 2017
venvCloses #29213: Merged fix from 3.6.Feb 2, 2017
wsgirefIssue #26721: Change StreamRequestHandler.wfile to BufferedIOBaseJun 29, 2016
xmlbpo-30144: Import collections ABC from collections.abc rather than co…Apr 24, 2017
xmlrpcbpo-29615: SimpleXMLRPCDispatcher no longer chains KeyError (#260)Mar 1, 2017
__future__.pyPEP 479: Change StopIteration handling inside generators.May 9, 2015
__phello__.foo.pyFix the frozen bytecode for __hello__ (betcha didn't know that existedOct 18, 2001
_bootlocale.pyIssue #28596: The preferred encoding is UTF-8 on Android.Dec 17, 2016
_collections_abc.pybpo-29762: More use "raise from None". (#569)Apr 5, 2017
_compat_pickle.pyIssue #15767: Add ModuleNotFoundError.Sep 7, 2016
_compression.pyIssue #23529: Limit the size of decompressed data when reading fromApr 10, 2015
_dummy_thread.pybpo-6532: Make the thread id an unsigned integer. (#781)Mar 23, 2017
_markupbase.py#13576: add tests about the handling of (possibly broken) condcoms.Dec 19, 2011
_osx_support.pyFix misplaced positional argument in OS X support library (#1134)Apr 14, 2017
_pydecimal.pybpo-29776: Use decorator syntax for properties. (#585)Mar 19, 2017
_pyio.pyFix small exception typos in Lib (#818)Mar 26, 2017
_sitebuiltins.py#9364: Improve the text printed by help(pydoc) and help(help).Apr 19, 2014
_strptime.pyIssue #23718: Fixed parsing time in week 0 before Jan 1. Original pat…Mar 12, 2016
_threading_local.pyIssue #9707: Rewritten reference implementation of threading.local whichSep 7, 2010
_weakrefset.pybpo-29762: More use "raise from None". (#569)Apr 5, 2017
abc.pybpo-29581: Make ABCMeta.__new__ pass **kwargs to type.__new__ (#527)Mar 15, 2017
aifc.pybpo-29762: More use "raise from None". (#569)Apr 5, 2017
antigravity.pyIssue #28181: Get antigravity over HTTPS. Patch by Kaartic Sivaraam.Sep 16, 2016
argparse.pyIssue #29290: Merge 3.5.Jan 22, 2017
ast.pybpo-29637: clean docstring only if not None (GH-267)Feb 24, 2017
asynchat.pyIssue #25002: Back out asyncore/asynchat deprecation.Oct 26, 2016
asyncore.pyIssue #25002: Back out asyncore/asynchat deprecation.Oct 26, 2016
base64.pyAdd Python version since deprecation in base64 methods. (#33)Mar 2, 2017
bdb.pybpo-29762: More use "raise from None". (#569)Apr 5, 2017
binhex.pyIssue #23865: close() methods in multiple modules now are idempotent …Apr 10, 2015
bisect.pyIssue #28792: Remove aliases from _bisectNov 24, 2016
bz2.pyIssue #28225: bz2 module now supports pathlibOct 2, 2016
cProfile.pyFix #17197: profile/cProfile modules refactored so that code of run()…Feb 25, 2013
calendar.pyIssue #28255: calendar.TextCalendar.prweek() no longer prints a space…Oct 25, 2016
cgi.pybpo-30144: Import collections ABC from collections.abc rather than co…Apr 24, 2017
cgitb.pyIssue #22831: Use "with" to avoid possible fd leaks.Apr 4, 2015
chunk.pybpo-29762: More use "raise from None". (#569)Apr 5, 2017
cmd.pyIssue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Jul 4, 2013
code.pyIssue #27573 make the exit message configurable.Aug 23, 2016
codecs.pyIssue #25523: Merge "a" to "an" fixes from 3.4 into 3.5Nov 2, 2015
codeop.pyMerged revisions 75472 via svnmerge fromOct 18, 2009
colorsys.pyIssue #14323: Expanded the number of digits in the coefficients for theAug 6, 2013
compileall.pyIssue #28485: Merge single-threading fix from 3.5 into 3.6Nov 5, 2016
configparser.pybpo-29762: More use "raise from None". (#569)Apr 5, 2017
contextlib.pybpo-29692: contextlib.contextmanager may incorrectly unchain RuntimeE…Apr 11, 2017
copy.pyIssue #26167: Minimized overhead in copy.copy() and copy.deepcopy().Mar 6, 2016
copyreg.pybpo-29762: More use "raise from None". (#569)Apr 5, 2017
crypt.pyIssue #25287: Don't add crypt.METHOD_CRYPT to crypt.methods if it's notOct 2, 2015
csv.pyIssue #29405: Make total calculation in _guess_delimiter more accurate.Feb 6, 2017
datetime.pyIssue #24773: fix datetime.time constructor docstringJan 4, 2017
decimal.pyWhitespace.Sep 10, 2014
difflib.pybpo-29762: More use "raise from None". (#569)Apr 5, 2017
dis.pybpo-22352: Adjust widths in the output of dis.dis() for large line nu…Apr 19, 2017
doctest.py#27364: fix "incorrect" uses of escape character in the stdlib.Sep 8, 2016
dummy_threading.pyRename thread to _thread and dummy_thread to _dummy_thread. Issue #2875.May 25, 2008
enum.pycloses issue29167: fix race condition in (Int)FlagJan 24, 2017
filecmp.pyshallow defaults to 'True' not '1' (closes #21355)Apr 26, 2014
fileinput.pyIssue #25788: fileinput.hook_encoded() now supports an "errors" argumentApr 27, 2016
fnmatch.pyIssue #22493: Inline flags now should be used only at the start of theSep 11, 2016
formatter.pyIssue #25407: Drop the mention of the formatter module being removedOct 16, 2015
fractions.pyIssue #27832: Make _normalize parameter to Fraction.__init__ keyword-…Aug 23, 2016
ftplib.pyIssue #28022: Deprecate ssl-related arguments in favor of SSLContext.Sep 10, 2016
functools.pySync-up with 3.7 by backporting minor lru_cache code beautificationJan 9, 2017
genericpath.pyIssue #26027, #27524: Add PEP 519/__fspath__() support to os andAug 26, 2016
getopt.pyIssue #25523: Correct "a" article to "an" articleNov 2, 2015
getpass.pygetpass: update docstrings (#49)Feb 12, 2017
gettext.pybpo-29919: Remove unused imports found by pyflakes (#137)Mar 27, 2017
glob.pyIssue #27998: Removed workarounds for supporting bytes paths on Windo…Oct 5, 2016
gzip.pyIssue #28227: gzip now supports pathlibOct 2, 2016
hashlib.pyIssue #16113: Add SHA-3 and SHAKE support to hashlib module.Sep 7, 2016
heapq.pyCorrect “an” → “a” with “Unicode”, “user”, “UTF”, etcApr 15, 2016
hmac.pyUse sequence repetition instead of bytes constructor with integer arg…Sep 11, 2016
imaplib.pyMerge: #25591: improve imap tests.Dec 25, 2016
imghdr.pyIssue #28228: imghdr now supports pathlibOct 1, 2016
imp.pyMerge for #26844Jul 15, 2016
inspect.pybpo-29822: Make inspect.isabstract() work during __init_subclass__. (#…Apr 24, 2017
io.pyIssue #1602: Windows console doesn't input or print Unicode (PEP 528)Aug 31, 2016
ipaddress.pybpo-29931 fix __lt__ check in ipaddress.ip_interface for both v4 and …Apr 1, 2017
keyword.py17830: preserve line endings of original file when updating keywords.Apr 25, 2013
linecache.pyIssue #23838: linecache now clears the cache and returns an empty res…Apr 1, 2015
locale.pybpo-30144: Import collections ABC from collections.abc rather than co…Apr 24, 2017
lzma.pyIssue #28229: lzma module now supports pathlibOct 4, 2016
macpath.pyIssue #23780: Improved error message in os.path.join() with single ar…May 19, 2015
mailbox.pybpo-29762: More use "raise from None". (#569)Apr 5, 2017
mailcap.py#14977: Make mailcap respect the order of the lines in the mailcap file.Sep 10, 2016
mimetypes.pybpo-30022: Get rid of using EnvironmentError and IOError (except test… (Apr 16, 2017
modulefinder.pyRemove unused imports.Dec 16, 2016
netrc.pybpo-29762: More use "raise from None". (#569)Apr 5, 2017
nntplib.pybpo-29762: More use "raise from None". (#569)Apr 5, 2017
ntpath.pyIssue #29197: Removed deprecated function ntpath.splitunc().Jan 13, 2017
nturl2path.pybpo-29836: Remove nturl2path from test_sundry and amend the module do…Mar 17, 2017
numbers.pyIssue #21408: The default __ne__() now returns NotImplemented if __eq…Jan 26, 2015
opcode.pyIssue #26110: Add LOAD_METHOD/CALL_METHOD opcodes.Dec 14, 2016
operator.pyIssue #24379: Revert the operator.subscript patch (dccc4e63aef5) pend…Nov 2, 2015
optparse.pyMerge doc and comment fixes from 3.5Apr 19, 2016
os.pybpo-25996: Added support of file descriptors in os.scandir() on Unix. (Mar 30, 2017
pathlib.pybpo-30144: Import collections ABC from collections.abc rather than co…Apr 24, 2017
pdb.pyIssue #20766: Merge with 3.5.Oct 12, 2016
pickle.pybpo-29762: More use "raise from None". (#569)Apr 5, 2017
pickletools.pybpo-30174: Remove duplicate definition from pickletools (#1301)Apr 27, 2017
pipes.pyMerge doc changes from 3.2 (#10454, #12298)Sep 1, 2011
pkgutil.pyIssue #17211: Yield a namedtuple in pkgutil.Sep 8, 2016
platform.pybpo-27593: Get SCM build info from git instead of hg. (#446)Mar 4, 2017
plistlib.pyIssue #28321: Fixed writing non-BMP characters with binary format in …Oct 4, 2016
poplib.pyIssue #28022: Deprecate ssl-related arguments in favor of SSLContext.Sep 10, 2016
posixpath.pyIssue #26027, #27524: Add PEP 519/__fspath__() support to os andAug 26, 2016
pprint.pyIssue #26778: Fixed "a/an/and" typos in code comment and documentation.Apr 17, 2016
profile.pyFix #17197: profile/cProfile modules refactored so that code of run()…Feb 25, 2013
pstats.pybpo-30022: Get rid of using EnvironmentError and IOError (except test… (Apr 16, 2017
pty.pyIssue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Jul 4, 2013
py_compile.pyIssue #23911: Move path-based bootstrap code to a separate frozen mod…May 3, 2015
pyclbr.pyRemoved unused imports.Apr 24, 2016
pydoc.pybpo-29776: Use decorator syntax for properties. (#585)Mar 19, 2017
queue.pyIssue #22043: time.monotonic() is now always availableSep 2, 2014
quopri.pyIssue #23681: Fixed Python 2 to 3 poring bugs.Mar 20, 2015
random.pyIssue #29055: Suppress upstream exception for random.choice()Dec 27, 2016
re.pybpo-29995: re.escape() now escapes only special characters. (#1007)Apr 13, 2017
reprlib.pyIssue #26634: recursive_repr() now sets __qualname__ of wrapper.Apr 26, 2016
rlcompleter.pyMerge 3.5Feb 4, 2016
runpy.py[backport to 3.5] - issue26896 - Disambiguate uses of "importer" with…Sep 7, 2016
sched.pyIssue #5830: Remove old comment. Add empty slots.Oct 24, 2016
secrets.pyIssue #29061: secrets.randbelow() would hang with a negative inputDec 30, 2016
selectors.pybpo-30144: Import collections ABC from collections.abc rather than co…Apr 24, 2017
shelve.pybpo-30144: Import collections ABC from collections.abc rather than co…Apr 24, 2017
shlex.pyFixed #29132: Updated shlex to work better with punctuation chars in …Jan 15, 2017
shutil.pybpo-29762: More use "raise from None". (#569)Apr 5, 2017
signal.pyIssue #25523: Further a-to-an corrections new in 3.5Nov 2, 2015
site.pybpo-30022: Get rid of using EnvironmentError and IOError (except test… (Apr 16, 2017
smtpd.pyIssue #27110: Add smtpd.SMTPChannel to __all__, by Jacek KołodziejJun 6, 2016
smtplib.pyIssue #28022: Deprecate ssl-related arguments in favor of SSLContext.Sep 10, 2016
sndhdr.pyIssue #24878: Add docstrings to selected namedtuplesAug 18, 2015
socket.pyIssue #26384: Merge from 3.5Sep 17, 2016
socketserver.pyRemove unused imports.Dec 16, 2016
sre_compile.pyIssue #28765: _sre.compile() now checks the type of groupindex and in…Nov 22, 2016
sre_constants.pyIssue #22831: Use "with" to avoid possible fd leaks.Apr 4, 2015
sre_parse.pyIssue #25953: re.sub() now raises an error for invalid numerical groupOct 23, 2016
ssl.pyIssue #28085: Add PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER for SSL…Sep 11, 2016
stat.pyIssue #21741: Add st_file_attributes to os.stat_result on Windows.Jun 19, 2014
statistics.pybpo-29919: Remove unused imports found by pyflakes (#137)Mar 27, 2017
string.pyIssue #29193: A format string argument for string.Formatter.format()Jan 13, 2017
stringprep.pyMerged revisions 55007-55179 via svnmerge fromMay 7, 2007
struct.pyIssue #17804: New function ``struct.iter_unpack`` allows for streamin…Apr 26, 2013
subprocess.pybpo-30065: Fixed arguments validation in _posixsubprocess.fork_exec(). (Apr 19, 2017
sunau.pyCorrected docstrings of audio modules. writeframes() accepts bytes, n…Jul 10, 2015
symbol.pyIssue #27985: Implement PEP 526 -- Syntax for Variable Annotations.Sep 9, 2016
symtable.pyIssue #27985: Implement PEP 526 -- Syntax for Variable Annotations.Sep 9, 2016
sysconfig.pybpo-29762: More use "raise from None". (#569)Apr 5, 2017
tabnanny.pyfix function name in tabnanny documentation (GH-759)Mar 22, 2017
tarfile.pyRemove two legacy constants which hopefully have no consumers (#1087)Apr 12, 2017
telnetlib.py#25485: Add context manager support to Telnet class.Nov 28, 2015
tempfile.pybpo-30030: Revertf50354a(tempfile) (#1187)Apr 19, 2017
textwrap.pyIssue #20491: The textwrap.TextWrapper class now honors non-breaking …Oct 25, 2016
this.pyFix most trivially-findable print statements.Feb 9, 2007
threading.pybpo-6532: Make the thread id an unsigned integer. (#781)Mar 23, 2017
timeit.pybpo-29661: fix contradiction in timeit.Timer.autorange's docstring (G…Feb 28, 2017
token.pyPEP 0492 -- Coroutines with async and await syntax. Issue #24017.May 12, 2015
tokenize.pyAdd ELLIPSIS and RARROW. Add tests (#666)Mar 14, 2017
trace.pyMore typo fixes for 3.6Jun 4, 2016
traceback.pyIssue #27348: Merge exception formatting fix from 3.5 into 3.6Sep 22, 2016
tracemalloc.pybpo-30144: Import collections ABC from collections.abc rather than co…Apr 24, 2017
tty.pyfinal round of __all__ lists (I hope) - skipped urllib2 because Moshe…Mar 1, 2001
turtle.pyCorrect spelling in documentation and code commentSep 10, 2016
types.pybpo:29950: Rename SlotWrapperType to WrapperDescriptorType (GH-926)Apr 25, 2017
typing.pybpo-28556: Fix regression that sneaked into recent typing updates (GH…Feb 24, 2017
uu.pyIssue #10266: uu.decode didn't close in_file explicitly when it was g…Oct 31, 2010
uuid.pybpo-22807: Expose platform UUID generation safety information. (#138)Feb 18, 2017
warnings.pybpo-29762: More use "raise from None". (#569)Apr 5, 2017
wave.pyIssue #23883: Add missing APIs to __all__; patch by Jacek KołodziejNov 14, 2015
weakref.pybpo-30144: Import collections ABC from collections.abc rather than co…Apr 24, 2017
webbrowser.pybpo-29645: Speed up importing the webbrowser module. (#484)Mar 8, 2017
xdrlib.pyIssue #11694: Raise ConversionError in xdrlib as documentedOct 10, 2014
zipapp.pybpo-29901: Improve support of path-like objects in zipapp. (#815)Mar 25, 2017
zipfile.pybpo-30017: Allowed calling the close() method of the zip entry writer…Apr 12, 2017