Author: Armin Rigo <ar...@tunes.org> Branch: unicode-utf8 Changeset: r90394:e0ed90dd707f Date: 2017-02-27 14:40 +0100 http://bitbucket.org/pypy/pypy/changeset/e0ed90dd707f/
Log: waaaaaaaaa but revdb is cool diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/listobject.py +++ b/pypy/objspace/std/listobject.py @@ -1968,7 +1968,7 @@ class BytesListStrategy(ListStrategy): import_from_mixin(AbstractUnwrappedStrategy) - _none_value = None + _none_value = "" def wrap(self, stringval): return self.space.newbytes(stringval) @@ -2000,7 +2000,7 @@ class UnicodeListStrategy(ListStrategy): import_from_mixin(AbstractUnwrappedStrategy) - _none_value = None + _none_value = u"" def wrap(self, stringval): assert stringval is not None _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit