Skip to content

Instantly share code, notes, and snippets.

@exarkun
Created July 31, 2017 18:32
Show Gist options
  • Save exarkun/6fcdbed2e791db55073de3cb47a6e06a to your computer and use it in GitHub Desktop.
Save exarkun/6fcdbed2e791db55073de3cb47a6e06a to your computer and use it in GitHub Desktop.
$ 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