Filip Gruszczyński <grusz...@gmail.com> added the comment:

I have written a small patch, that solves the problem, but is disgusting. Could 
anyone tell me, how I can get some default encoding from Python internals (I 
have no idea where to look) and return it inside _PyUnicode_AsStringAndSize? 
Anyway, now when the error happens inside input, it raises an Exception 
properly. So now I only need to know, how to correct the bug in an elegant 
fashion.

----------
keywords: +patch
Added file: http://bugs.python.org/file16688/8256_1.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8256>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to