cpython/Lib
Albert-Jan Nijburg fc354f0785 bpo-25324: copy tok_name before changing it (#1608)
* add test to check if were modifying token

* copy list so import tokenize doesnt have side effects on token

* shorten line

* add tokenize tokens to token.h to get them to show up in token

* move ERRORTOKEN back to its previous location, and fix nitpick

* copy comments from token.h automatically

* fix whitespace and make more pythonic

* change to fix comments from @haypo

* update token.rst and Misc/NEWS

* change wording

* some more wording changes
2017-05-31 16:00:21 +02:00
..
asyncio call remove_done_callback in finally section (#1688) 2017-05-22 22:32:46 -07:00
collections Issues #29311, #29289: Fixed and improved docstrings for dict and OrderedDict 2017-01-25 00:30:04 +02:00
concurrent Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-09-07 12:03:06 +00:00
ctypes bpo-30125: disable faulthandler in ctypes test_SEH (#1237) 2017-04-22 00:31:13 +02:00
curses Issue #13051: Fixed recursion errors in large or resized curses.textpad.Textbox. 2016-12-28 10:16:06 +02:00
dbm bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263) 2017-04-24 09:05:00 +03:00
distutils bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489) 2017-05-18 07:35:54 -07:00
email Fix typos in multiple `.rst` files (#1668) 2017-05-19 23:37:57 +03:00
encodings Revert #27959: ImportError within an encoding module should also skip the encoding 2016-09-09 08:56:37 -07:00
ensurepip Merge - upgrade pip/setuptools 2016-11-15 21:18:40 -05:00
html Revert "Fixed a typo in the HTMLParser.feed docstrings" (#1771) 2017-05-24 07:20:45 +03:00
http bpo-28707: Add the directory parameter to http.server.SimpleHTTPRequestHandler and http.server module (#1776) 2017-05-24 00:29:06 -07:00
idlelib bpo-30495: IDLE: Modernize textview.py with docstrings and PEP8 names (#1839) 2017-05-28 06:50:55 -04:00
importlib bpo-29851: Have importlib.reload() raise ImportError if the module's spec is not found (GH-972) 2017-05-24 15:19:50 -07:00
json bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
lib2to3 bpo-23894: make lib2to3 recognize f-strings (#1733) 2017-05-22 16:35:48 -07:00
logging bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489) 2017-05-18 07:35:54 -07:00
msilib #27364: fix "incorrect" uses of escape character in the stdlib. 2016-09-08 13:59:53 -04:00
multiprocessing bpo-16500: Allow registering at-fork handlers (#1715) 2017-05-27 17:50:54 +02:00
pydoc_data Regenerated pydoc topics for 3.5.3rc1. 2017-01-01 22:09:56 -08:00
site-packages Issue #29283: Delete accidentally added Lib/site-packages/README 2017-01-30 13:55:49 +03:00
sqlite3 bpo-26187: Test that set_trace_callback() is not called multiple times (GH-461) 2017-04-09 12:11:59 +03:00
test bpo-25324: copy tok_name before changing it (#1608) 2017-05-31 16:00:21 +02:00
tkinter bpo-30310: Add a test for non-ascii font family. (#1567) (#1832) 2017-05-27 17:01:31 +03:00
turtledemo bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489) 2017-05-18 07:35:54 -07:00
unittest #30190: fix invalid escape sequence warnings (#1534) 2017-05-10 20:13:20 +02:00
urllib bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489) 2017-05-18 07:35:54 -07:00
venv Closes #29213: Merged fix from 3.6. 2017-02-02 19:33:43 +00:00
wsgiref Issue #26721: Change StreamRequestHandler.wfile to BufferedIOBase 2016-06-29 10:12:22 +00:00
xml bpo-30264: ExpatParser closes the source on error (#1451) 2017-05-05 09:46:47 +02:00
xmlrpc bpo-29615: SimpleXMLRPCDispatcher no longer chains KeyError (#260) 2017-03-01 19:21:28 +02:00
__future__.py
__phello__.foo.py
_bootlocale.py Issue #28596: The preferred encoding is UTF-8 on Android. 2016-12-17 09:19:11 +01:00
_collections_abc.py bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
_compat_pickle.py Issue #15767: Add ModuleNotFoundError. 2016-09-07 15:42:32 -07:00
_compression.py
_dummy_thread.py bpo-6532: Make the thread id an unsigned integer. (#781) 2017-03-23 14:48:39 +01:00
_markupbase.py
_osx_support.py Fix misplaced positional argument in OS X support library (#1134) 2017-04-14 15:28:55 +03:00
_pydecimal.py bpo-29776: Use decorator syntax for properties. (#585) 2017-03-19 08:40:32 +02:00
_pyio.py Fix small exception typos in Lib (#818) 2017-03-26 13:59:08 -07:00
_sitebuiltins.py
_strptime.py
_threading_local.py
_weakrefset.py bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489) 2017-05-18 07:35:54 -07:00
abc.py bpo-29581: Make ABCMeta.__new__ pass **kwargs to type.__new__ (#527) 2017-03-15 11:39:22 -07:00
aifc.py bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
antigravity.py Issue #28181: Get antigravity over HTTPS. Patch by Kaartic Sivaraam. 2016-09-16 13:48:10 +02:00
argparse.py Issue #29290: Merge 3.5. 2017-01-22 14:39:20 +08:00
ast.py bpo-29637: clean docstring only if not None (GH-267) 2017-02-24 15:44:19 +09:00
asynchat.py Issue #25002: Back out asyncore/asynchat deprecation. 2016-10-25 18:42:51 -07:00
asyncore.py Issue #25002: Back out asyncore/asynchat deprecation. 2016-10-25 18:42:51 -07:00
base64.py Add Python version since deprecation in base64 methods. (#33) 2017-03-02 17:21:26 +03:00
bdb.py bpo-30211: bdb: add docstrings (#1350) 2017-05-16 18:28:02 -04:00
binhex.py
bisect.py Issue #28792: Remove aliases from _bisect 2016-11-24 23:31:59 +01:00
bz2.py Issue #28225: bz2 module now supports pathlib 2016-10-02 20:07:06 +03:00
cProfile.py
calendar.py Issue #28255: calendar.TextCalendar.prweek() no longer prints a space after 2016-10-25 15:20:58 +03:00
cgi.py bpo-29979: Rewrite cgi.parse_multipart to make it consistent with FieldStorage (#991) 2017-05-08 05:08:34 -07:00
cgitb.py
chunk.py bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
cmd.py
code.py bpo-30166: Import command-line parsing modules only when needed. (#1293) 2017-05-04 08:17:47 +03:00
codecs.py
codeop.py
colorsys.py
compileall.py Issue #28485: Merge single-threading fix from 3.5 into 3.6 2016-11-05 01:35:25 +00:00
configparser.py bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
contextlib.py bpo-29679: Implement @contextlib.asynccontextmanager (#360) 2017-04-30 18:25:58 -07:00
copy.py
copyreg.py bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
crypt.py
csv.py Issue #29405: Make total calculation in _guess_delimiter more accurate. 2017-02-06 10:50:09 +08:00
datetime.py Issue #24773: fix datetime.time constructor docstring 2017-01-04 12:01:16 +01:00
decimal.py
difflib.py bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
dis.py bpo-22352: Adjust widths in the output of dis.dis() for large line numbers and (#1153) 2017-04-19 20:36:31 +03:00
doctest.py bpo-30166: Import command-line parsing modules only when needed. (#1293) 2017-05-04 08:17:47 +03:00
dummy_threading.py
enum.py closes issue29167: fix race condition in (Int)Flag 2017-01-24 12:12:06 -08:00
filecmp.py
fileinput.py bpo-30432: FileInput doesn't accept PathLike objects for file names (#1732) 2017-05-22 22:24:17 -07:00
fnmatch.py Issue #22493: Inline flags now should be used only at the start of the 2016-09-11 12:50:02 +03:00
formatter.py
fractions.py Issue #27832: Make _normalize parameter to Fraction.__init__ keyword-only. 2016-08-23 16:16:52 +01:00
ftplib.py Issue #28022: Deprecate ssl-related arguments in favor of SSLContext. 2016-09-10 23:23:33 +02:00
functools.py Sync-up with 3.7 by backporting minor lru_cache code beautification 2017-01-08 18:22:24 -08:00
genericpath.py Issue #26027, #27524: Add PEP 519/__fspath__() support to os and 2016-08-26 14:44:48 -07:00
getopt.py
getpass.py getpass: update docstrings (#49) 2017-02-12 23:10:48 +01:00
gettext.py bpo-29919: Remove unused imports found by pyflakes (#137) 2017-03-27 16:05:26 +02:00
glob.py Issue #27998: Removed workarounds for supporting bytes paths on Windows in 2016-10-05 23:17:10 +03:00
gzip.py Issue #28227: gzip now supports pathlib 2016-10-02 13:47:58 +03:00
hashlib.py Issue #16113: Add SHA-3 and SHAKE support to hashlib module. 2016-09-07 11:58:24 +02:00
heapq.py
hmac.py Use sequence repetition instead of bytes constructor with integer argument. 2016-09-11 14:41:02 +03:00
imaplib.py bpo-30329: Catch Windows error 10022 on shutdown() (#1538) 2017-05-15 17:33:45 +02:00
imghdr.py Issue #28228: imghdr now supports pathlib 2016-10-01 05:01:54 +03:00
imp.py Merge for #26844 2016-07-15 10:59:11 -07:00
inspect.py bpo-25532: Protect against infinite loops in inspect.unwrap() (#1717) 2017-05-23 13:27:52 +10:00
io.py Issue #1602: Windows console doesn't input or print Unicode (PEP 528) 2016-08-30 21:22:36 -07:00
ipaddress.py bpo-29931 fix __lt__ check in ipaddress.ip_interface for both v4 and v6. (#879) 2017-04-01 09:09:53 +03:00
keyword.py
linecache.py
locale.py bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263) 2017-04-24 09:05:00 +03:00
lzma.py Issue #28229: lzma module now supports pathlib 2016-10-04 20:41:20 +03:00
macpath.py bpo-9850: Deprecate the macpath module (#1540) 2017-05-15 11:01:21 +02:00
mailbox.py bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
mailcap.py #14977: Make mailcap respect the order of the lines in the mailcap file. 2016-09-09 20:04:23 -04:00
mimetypes.py bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051) 2017-04-16 10:46:38 +03:00
modulefinder.py Remove unused imports. 2016-12-16 20:00:15 +02:00
netrc.py bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
nntplib.py bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
ntpath.py Issue #29197: Removed deprecated function ntpath.splitunc(). 2017-01-13 20:55:05 +02:00
nturl2path.py bpo-29836: Remove nturl2path from test_sundry and amend the module docstring (GH-694) 2017-03-17 11:16:20 -07:00
numbers.py
opcode.py Issue #26110: Add LOAD_METHOD/CALL_METHOD opcodes. 2016-12-13 19:03:51 -05:00
operator.py
optparse.py
os.py bpo-25996: Added support of file descriptors in os.scandir() on Unix. (#502) 2017-03-30 09:12:31 +03:00
pathlib.py bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489) 2017-05-18 07:35:54 -07:00
pdb.py Issue #20766: Merge with 3.5. 2016-10-12 20:16:05 +02:00
pickle.py bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
pickletools.py bpo-30174: Remove duplicate definition from pickletools (#1301) 2017-04-27 19:05:26 +03:00
pipes.py
pkgutil.py Issue #17211: Yield a namedtuple in pkgutil. 2016-09-07 18:37:17 -07:00
platform.py bpo-27593: Get SCM build info from git instead of hg. (#446) 2017-03-04 00:19:55 -05:00
plistlib.py bpo-29196: Removed old-deprecated classes Plist, Dict and _InternalDict (#488) 2017-05-15 13:21:31 +03:00
poplib.py bpo-30329: Catch Windows error 10022 on shutdown() (#1538) 2017-05-15 17:33:45 +02:00
posixpath.py Issue #26027, #27524: Add PEP 519/__fspath__() support to os and 2016-08-26 14:44:48 -07:00
pprint.py
profile.py bpo-30166: Import command-line parsing modules only when needed. (#1293) 2017-05-04 08:17:47 +03:00
pstats.py bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489) 2017-05-18 07:35:54 -07:00
pty.py
py_compile.py
pyclbr.py
pydoc.py bpo-29776: Use decorator syntax for properties. (#585) 2017-03-19 08:40:32 +02:00
queue.py
quopri.py
random.py bpo-16500: Don't use string constants for os.register_at_fork() behavior (#1834) 2017-05-29 10:03:41 -07:00
re.py bpo-30215: Make re.compile() locale agnostic. (#1361) 2017-05-05 08:53:40 +03:00
reprlib.py
rlcompleter.py
runpy.py [backport to 3.5] - issue26896 - Disambiguate uses of "importer" with "finder". 2016-09-07 00:52:20 -07:00
sched.py Issue #5830: Remove old comment. Add empty slots. 2016-10-24 07:31:55 -07:00
secrets.py Issue #29061: secrets.randbelow() would hang with a negative input 2016-12-29 22:54:25 -07:00
selectors.py #30014: refactor poll-related classes (#1035) 2017-05-20 11:34:44 +02:00
shelve.py bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263) 2017-04-24 09:05:00 +03:00
shlex.py Fixed #29132: Updated shlex to work better with punctuation chars in POSIX mode. 2017-01-15 10:06:52 +00:00
shutil.py bpo-30218: support path-like objects in shutil.unpack_archive() (GH-1367) 2017-05-05 14:27:12 -07:00
signal.py
site.py bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051) 2017-04-16 10:46:38 +03:00
smtpd.py Issue #27110: Add smtpd.SMTPChannel to __all__, by Jacek Kołodziej 2016-06-06 02:03:11 +00:00
smtplib.py bpo-30394: Fix a socket leak in smtplib.SMTP.__init__() (#1700) 2017-05-24 13:14:50 +08:00
sndhdr.py
socket.py Issue #26384: Merge from 3.5 2016-09-17 23:23:13 +03:00
socketserver.py Remove unused imports. 2016-12-16 20:00:15 +02:00
sre_compile.py bpo-30299: Display a bytecode when compile a regex in debug mode. (#1491) 2017-05-14 09:05:13 +03:00
sre_constants.py bpo-30398: Add a docstring for re.error. (#1647) 2017-05-27 16:12:48 +03:00
sre_parse.py bpo-30375: Correct the stacklevel of regex compiling warnings. (#1595) 2017-05-16 15:16:15 +03:00
ssl.py Issue #28085: Add PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER for SSLContext 2016-09-12 00:01:11 +02:00
stat.py
statistics.py bpo-29919: Remove unused imports found by pyflakes (#137) 2017-03-27 16:05:26 +02:00
string.py Issue #29193: A format string argument for string.Formatter.format() 2017-01-13 09:10:51 +02:00
stringprep.py
struct.py
subprocess.py bpo-30065: Fixed arguments validation in _posixsubprocess.fork_exec(). (#1110) 2017-04-19 21:12:46 +03:00
sunau.py
symbol.py Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. 2016-09-08 20:50:03 -07:00
symtable.py bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489) 2017-05-18 07:35:54 -07:00
sysconfig.py bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
tabnanny.py bpo-30166: Import command-line parsing modules only when needed. (#1293) 2017-05-04 08:17:47 +03:00
tarfile.py Remove two legacy constants which hopefully have no consumers (#1087) 2017-04-11 22:41:42 -04:00
telnetlib.py
tempfile.py bpo-30030: Revert f50354ad (tempfile) (#1187) 2017-04-19 22:59:51 +02:00
textwrap.py Issue #20491: The textwrap.TextWrapper class now honors non-breaking spaces. 2016-10-25 14:44:54 +03:00
this.py
threading.py bpo-16500: Don't use string constants for os.register_at_fork() behavior (#1834) 2017-05-29 10:03:41 -07:00
timeit.py bpo-29661: fix contradiction in timeit.Timer.autorange's docstring (GH-331) 2017-02-28 11:06:07 +08:00
token.py bpo-25324: copy tok_name before changing it (#1608) 2017-05-31 16:00:21 +02:00
tokenize.py bpo-25324: copy tok_name before changing it (#1608) 2017-05-31 16:00:21 +02:00
trace.py bpo-30166: Import command-line parsing modules only when needed. (#1293) 2017-05-04 08:17:47 +03:00
traceback.py bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489) 2017-05-18 07:35:54 -07:00
tracemalloc.py bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263) 2017-04-24 09:05:00 +03:00
tty.py
turtle.py bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489) 2017-05-18 07:35:54 -07:00
types.py bpo:29950: Rename SlotWrapperType to WrapperDescriptorType (GH-926) 2017-04-25 21:26:36 +03:00
typing.py bpo-28556: Routine updates to typing (#1366) 2017-05-02 10:14:07 -07:00
uu.py bpo-30103: Allow Uuencode in Python using backtick as zero instead of space (#1326) 2017-05-03 11:16:21 +08:00
uuid.py bpo-22807: Expose platform UUID generation safety information. (#138) 2017-02-18 15:45:49 -05:00
warnings.py bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
wave.py
weakref.py bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263) 2017-04-24 09:05:00 +03:00
webbrowser.py bpo-29645: Speed up importing the webbrowser module. (#484) 2017-03-08 17:15:54 +02:00
xdrlib.py
zipapp.py bpo-29901: Improve support of path-like objects in zipapp. (#815) 2017-03-25 13:05:23 +02:00
zipfile.py Revert bpo-26293 for zipfile breakage. See also bpo-29094. (#1484) 2017-05-06 14:46:01 +03:00