Author: Ronan Lamy <[email protected]>
Branch: py3.7
Changeset: r97357:e0e7a3c09e30
Date: 2019-09-01 00:07 +0100
http://bitbucket.org/pypy/pypy/changeset/e0e7a3c09e30/

Log:    hack to get the ABCs back into collections

diff --git a/lib-python/3/collections/__init__.py 
b/lib-python/3/collections/__init__.py
--- a/lib-python/3/collections/__init__.py
+++ b/lib-python/3/collections/__init__.py
@@ -39,6 +39,9 @@
     pass
 
 
+# XXX: temporary PyPy hack until we implement module __getattr__
+from _collections_abc import *
+
 def __getattr__(name):
     # For backwards compatibility, continue to make the collections ABCs
     # through Python 3.6 available through the collections module.
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to