Author: Armin Rigo <[email protected]>
Branch: py3.5
Changeset: r90347:e0d25df618e7
Date: 2017-02-25 09:21 +0100
http://bitbucket.org/pypy/pypy/changeset/e0d25df618e7/
Log: remove a new_interned_str() that has no equivalent in pypy2 and that
probably makes kwargsdict slow
diff --git a/pypy/objspace/std/kwargsdict.py b/pypy/objspace/std/kwargsdict.py
--- a/pypy/objspace/std/kwargsdict.py
+++ b/pypy/objspace/std/kwargsdict.py
@@ -11,7 +11,7 @@
def _wrapkey(space, key):
- return space.new_interned_str(key)
+ return space.newtext(key)
class EmptyKwargsDictStrategy(EmptyDictStrategy):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit