Author nvetoshkin
Recipients helduel, lukknapen, nvetoshkin
Date 2010-11-18.22:24:40
SpamBayes Score 1.31867e-10
Marked as misclassified No
Message-id <1290119082.38.0.290427885744.issue5421@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2010-11-18 22:24:42nvetoshkinsetrecipients: + nvetoshkin, helduel, lukknapen
2010-11-18 22:24:42nvetoshkinsetmessageid: <1290119082.38.0.290427885744.issue5421@psf.upfronthosting.co.za>
2010-11-18 22:24:40nvetoshkinlinkissue5421 messages
2010-11-18 22:24:40nvetoshkincreate