Xuanji Li <xua...@gmail.com> added the comment:

Changed according to Raymond's suggestion. I realized that there are some 
classes (str, bytes, array.array) that are iterable but should not be handled 
by the iteration logic provided by catlee. eg: if we iterate through b'a 
message' we'd get a bunch of ints and sending them is wrong. patch attached.

----------
Added file: http://bugs.python.org/file19873/issue_3243_py3k_2.patch

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

Reply via email to