[issue8256] TypeError: bad argument type for built-in operation

Filip Gruszczyński report at bugs.python.org
Mon Mar 29 00:59:12 CEST 2010


Filip Gruszczyński <gruszczy at gmail.com> added the comment:

The bug is triggered by input, not by print. The exact place is _PyUnicode_AsStringAndSize, where unicode check happens. Then print checks PyError_Occured and catches this error. Either this error should not be raised or should be cleared input finishes.

I'd love to provide a patch, but I have no idea, what should be corrected and how. If some would tutor me a little, I would be very happy to learn and code this.

----------
nosy: +gruszczy

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8256>
_______________________________________


More information about the Python-bugs-list mailing list