Created
July 31, 2017 18:32
-
-
Save exarkun/6fcdbed2e791db55073de3cb47a6e06a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ hg diff | |
diff -r 2ae11d0d2965 pypy/objspace/std/bytesobject.py | |
--- a/pypy/objspace/std/bytesobject.py Mon Jul 31 14:13:41 2017 +0200 | |
+++ b/pypy/objspace/std/bytesobject.py Mon Jul 31 14:32:19 2017 -0400 | |
@@ -752,7 +752,7 @@ | |
def _get_printable_location(w_type): | |
return ('bytearray_from_byte_sequence [w_type=%s]' % | |
- w_type.getname(w_type.space)) | |
+ w_type.getname(w_type.space).encode('utf-8')) | |
_byteseq_jitdriver = jit.JitDriver( | |
name='bytearray_from_byte_sequence', |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment