[issue13532] In IDLE, sys.stdout.write and sys.stderr can write any pickleable object
Serhiy Storchaka
report at bugs.python.org
Thu Jun 28 19:57:25 CEST 2012
Serhiy Storchaka <storchaka at gmail.com> added the comment:
> Does anyone know a good way to make the exception render as: "must be str, not int" instead of "must be str, not <class 'int'>" ?
raise TypeError('must be str, not %s' % type(s).__name__)
----------
nosy: +storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13532>
_______________________________________
More information about the Python-bugs-list
mailing list