Author: Yannick Jadoul <[email protected]>
Branch: py3.7-bpo-31333
Changeset: r97915:8c14c8098e5a
Date: 2019-10-20 22:48 +0200
http://bitbucket.org/pypy/pypy/changeset/8c14c8098e5a/
Log: Fixing _abc._get_dump to return sets, rather than the new
SimpleWeakSet wrapper
diff --git a/pypy/module/_abc/app_abc.py b/pypy/module/_abc/app_abc.py
--- a/pypy/module/_abc/app_abc.py
+++ b/pypy/module/_abc/app_abc.py
@@ -151,7 +151,10 @@
Return shallow copies of registry, of both caches, and
negative cache version. Don't call this function directly,
instead use ABC._dump_registry() for a nice repr."""
- return (cls._abc_registry, cls._abc_cache, cls._abc_negative_cache,
cls._abc_negative_cache_version)
+ return (cls._abc_registry.data,
+ cls._abc_cache.data,
+ cls._abc_negative_cache.data,
+ cls._abc_negative_cache_version)
def _reset_registry(cls):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit