Author: Alex Gaynor <[email protected]>
Branch: 
Changeset: r68629:a19e8cb2a479
Date: 2014-01-12 14:38 -0800
http://bitbucket.org/pypy/pypy/changeset/a19e8cb2a479/

Log:    Use the correct default here, right now if you tried to use the
        default it owuld explode

diff --git a/rpython/rlib/runicode.py b/rpython/rlib/runicode.py
--- a/rpython/rlib/runicode.py
+++ b/rpython/rlib/runicode.py
@@ -1157,7 +1157,7 @@
 # Specialize on the errorhandler when it's a constant
 @specialize.arg_or_var(4)
 def str_decode_unicode_escape(s, size, errors, final=False,
-                              errorhandler=False,
+                              errorhandler=None,
                               unicodedata_handler=None):
     if errorhandler is None:
         errorhandler = default_unicode_error_decode
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to