commit | 76618061b92e23a53b78b7ec3a173cb0e7749b4a | [log] [tgz] |
---|---|---|
author | Ćukasz Langa <lukasz@langa.pl> | Mon Apr 16 17:33:59 2018 -0700 |
committer | GitHub <noreply@github.com> | Mon Apr 16 17:33:59 2018 -0700 |
tree | bf9566760688e23d116ad8ae0d241c7091950463 | |
parent | 2bea9476286ad8e2e87bf0415ff743b1487c5018 [diff] |
[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.