Author: Ronan Lamy <[email protected]>
Branch: py3tests
Changeset: r96306:749113048c38
Date: 2019-03-13 19:04 +0000
http://bitbucket.org/pypy/pypy/changeset/749113048c38/
Log: Fix OrderedDict pickling
diff --git a/pypy/module/_collections/app_odict.py
b/pypy/module/_collections/app_odict.py
--- a/pypy/module/_collections/app_odict.py
+++ b/pypy/module/_collections/app_odict.py
@@ -14,6 +14,8 @@
cases but is nonsensical in other cases. This is officially
forbidden by the CPython docs, so we forbid it explicitly for now.
'''
+ __module__ = 'collections'
+
def __init__(*args, **kwds):
'''Initialize an ordered dictionary. The signature is the same as
regular dictionaries, but keyword arguments are not recommended because
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit