Author: Matti Picus <matti.pi...@gmail.com>
Branch: unicode-utf8-py3
Changeset: r95349:ffc6c900709e
Date: 2018-11-20 11:51 -0800
http://bitbucket.org/pypy/pypy/changeset/ffc6c900709e/

Log:    remove debug cruft

diff --git a/pypy/objspace/std/unicodeobject.py 
b/pypy/objspace/std/unicodeobject.py
--- a/pypy/objspace/std/unicodeobject.py
+++ b/pypy/objspace/std/unicodeobject.py
@@ -1195,7 +1195,6 @@
     if errors is None or errors == 'strict':
         utf8 = space.utf8_w(w_object)
         if encoding is None or encoding == 'utf-8':
-            print 'encode_object', utf8 == '\xed\xb0\x80', encoding, errors
             try:
                 rutf8.check_utf8(utf8, False)
             except rutf8.CheckError as a:
@@ -1203,7 +1202,6 @@
                 eh(None, "utf-8", "surrogates not allowed", utf8,
                     a.pos, a.pos + 1)
                 assert False, "always raises"
-            print 'no surrogate'
             return space.newbytes(utf8)
         elif encoding == 'ascii':
             try:
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to