This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nvetoshkin
Recipients helduel, lukknapen, nvetoshkin
Date 2010-11-18.22:24:40
SpamBayes Score 1.31867e-10
Marked as misclassified No
Message-id <>
Here's a patch, which performs argument checking in a way to be able to provide better error message like that:

>>> my_socket.sendto("No Umlaut", ("localhost", 514))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'str' does not support the buffer interface
Date User Action Args
2010-11-18 22:24:42nvetoshkinsetrecipients: + nvetoshkin, helduel, lukknapen
2010-11-18 22:24:42nvetoshkinsetmessageid: <>
2010-11-18 22:24:40nvetoshkinlinkissue5421 messages
2010-11-18 22:24:40nvetoshkincreate