[issue5421] Irritating error message by socket's sendto method

Matt Joiner report at bugs.python.org
Thu Mar 17 22:27:54 CET 2011


Matt Joiner <anacrolix at gmail.com> added the comment:

This bug is very misleading in Py3, as the TypeError makes one think that a string is being passed rather than bytes (how else do you get a 2 argument function call wrong?). Very difficult to determine that this is not in fact the bug in a dynamically typed language :P

----------

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


More information about the Python-bugs-list mailing list