Re: [Python-Dev] Strange message error in socket.sendto() exception

2011-08-20 Thread Vinay Sajip
Facundo Batista gmail.com> writes: > An error regarding the argument quantity? what? > > Ideas? Thanks! > I think this is the same as http://bugs.python.org/issue5421 tl;dr : fixed in recent versions. Regards, Vinay Sajip ___ Python-Dev mailing

Re: [Python-Dev] Strange message error in socket.sendto() exception

2011-08-20 Thread Antoine Pitrou
On Sat, 20 Aug 2011 07:58:13 -0300 Facundo Batista wrote: > > This is ok, I expected this. However, note what happens if I send unicode: > > >>> s.sendto('data', ('localhost', 3)) > Traceback (most recent call last): > File "", line 1, in > TypeError: sendto() takes exactly 3 arguments (2 giv