Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r63134:f65f68c72721 Date: 2013-04-08 13:04 +0000 http://bitbucket.org/pypy/pypy/changeset/f65f68c72721/
Log: Bah, that was not RPython diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py --- a/pypy/interpreter/baseobjspace.py +++ b/pypy/interpreter/baseobjspace.py @@ -709,7 +709,7 @@ def new_interned_w_str(self, w_s): s = self.str_w(w_s) - assert isinstance(s, str) + assert type(s) is str try: return self.interned_strings[s] except KeyError: @@ -718,7 +718,7 @@ return w_s def new_interned_str(self, s): - assert isinstance(s, str) + assert type(s) is str try: return self.interned_strings[s] except KeyError: _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit