cpython/Lib/lib2to3/pgen2
Łukasz Langa 76618061b9
[lib2to3] Make grammar pickling faster (#6491)
* Now uses pickle protocol 4

* Doesn't wrap the grammar's `__dict__` in ordered dictionaries anymore as
dictionaries in Python 3.6+ are ordered by default

This still produces deterministic pickles (that hash the same with MD5).
Tested with different PYTHONHASHSEED values.
2018-04-16 17:33:59 -07:00
..
__init__.py
conv.py
driver.py correct wording (#4983) 2017-12-22 20:48:13 -08:00
grammar.py [lib2to3] Make grammar pickling faster (#6491) 2018-04-16 17:33:59 -07:00
literals.py bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
parse.py
pgen.py lib2to3.pgen3.driver.load_grammar() now creates a stable cache file 2016-09-08 00:40:07 +00:00
token.py Revert "bpo-30406: Make async and await proper keywords (#1669)" (GH-6143) 2018-03-18 09:54:33 -07:00
tokenize.py Add support for all string literals to lib2to3 (#6457) 2018-04-16 14:33:31 -07:00