Author: Amaury Forgeot d'Arc <amaur...@gmail.com> Branch: py3k Changeset: r48187:c1d89830a817 Date: 2011-10-18 08:23 +0200 http://bitbucket.org/pypy/pypy/changeset/c1d89830a817/
Log: I don't know why this assert is necessary, there must be something wrong in some unrelated location. diff --git a/pypy/objspace/std/stringobject.py b/pypy/objspace/std/stringobject.py --- a/pypy/objspace/std/stringobject.py +++ b/pypy/objspace/std/stringobject.py @@ -22,6 +22,7 @@ _immutable_fields_ = ['_value'] def __init__(w_self, str): + assert str is not None w_self._value = str def __repr__(w_self): _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit