[pypy-commit] pypy default: cherry-pick e0ed90dd707f

arigo pypy.commits at gmail.com
Mon Feb 27 08:41:53 EST 2017


Author: Armin Rigo <arigo at 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


More information about the pypy-commit mailing list