[pypy-commit] pypy unicode-utf8: waaaaaaaaa but revdb is cool
arigo
pypy.commits at gmail.com
Mon Feb 27 08:41:51 EST 2017
Author: Armin Rigo <arigo at 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
More information about the pypy-commit
mailing list