diff options
author | Ćukasz Langa <lukasz@langa.pl> | 2018-04-17 00:33:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-17 00:33:59 (GMT) |
commit | 76618061b92e23a53b78b7ec3a173cb0e7749b4a (patch) | |
tree | bf9566760688e23d116ad8ae0d241c7091950463 /.github | |
parent | 2bea9476286ad8e2e87bf0415ff743b1487c5018 (diff) | |
download | cpython-76618061b92e23a53b78b7ec3a173cb0e7749b4a.zip cpython-76618061b92e23a53b78b7ec3a173cb0e7749b4a.tar.gz cpython-76618061b92e23a53b78b7ec3a173cb0e7749b4a.tar.bz2 |
[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.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions