SIGN IN SIGN UP

[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.
Ł
Łukasz Langa committed
76618061b92e23a53b78b7ec3a173cb0e7749b4a
Parent: 2bea947
Committed by GitHub <noreply@github.com> on 4/17/2018, 12:33:59 AM