[pypy-commit] pypy default: Use the correct default here, right now if you tried to use the default it owuld explode

alex_gaynor noreply at buildbot.pypy.org
Sun Jan 12 23:39:38 CET 2014


Author: Alex Gaynor <alex.gaynor at gmail.com>
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


More information about the pypy-commit mailing list