Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r90395:ce15e13c6312 Date: 2017-02-27 14:40 +0100 http://bitbucket.org/pypy/pypy/changeset/ce15e13c6312/
Log: cherry-pick e0ed90dd707f 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 @@ -1966,7 +1966,7 @@ class BytesListStrategy(ListStrategy): import_from_mixin(AbstractUnwrappedStrategy) - _none_value = None + _none_value = "" def wrap(self, stringval): return self.space.newbytes(stringval) @@ -1998,7 +1998,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