projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e64927
)
fix refnanny error output in Py3
author
Stefan Behnel
<stefan_ml@behnel.de>
Thu, 19 Dec 2013 21:43:12 +0000
(22:43 +0100)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Thu, 19 Dec 2013 21:43:12 +0000
(22:43 +0100)
Cython/Runtime/refnanny.pyx
patch
|
blob
|
history
diff --git
a/Cython/Runtime/refnanny.pyx
b/Cython/Runtime/refnanny.pyx
index
1f7e85f
..
80ec3f4
100644
(file)
--- a/
Cython/Runtime/refnanny.pyx
+++ b/
Cython/Runtime/refnanny.pyx
@@
-159,7
+159,8
@@
cdef void FinishContext(PyObject** ctx):
context = <Context>ctx[0]
errors = context.end()
if errors:
- print u"%s: %s()" % (context.filename, context.name)
+ print u"%s: %s()" % (context.filename.decode('latin1'),
+ context.name.decode('latin1'))
print errors
context = None
except: