[issue1392] py3k-pep3137: str(bytes()) and str(buffer()) should raise TypeError patch

Christian Heimes report at bugs.python.org
Mon Nov 5 20:46:51 CET 2007


Christian Heimes added the comment:

I've made a patch with -b -> warning and -bb > type error. I'm not happy
with the warning message. Maybe you've a better idea for it.

Added file: http://bugs.python.org/file8697/py3k-pep3137_str_bytes_warning.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1392>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: py3k-pep3137_str_bytes_warning.patch
Type: text/x-diff
Size: 5992 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-bugs-list/attachments/20071105/502b5afe/attachment-0001.patch 


More information about the Python-bugs-list mailing list