On Sat, 20 Aug 2011 07:58:13 -0300 Facundo Batista <facundobati...@gmail.com> 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 "<stdin>", line 1, in <module> > TypeError: sendto() takes exactly 3 arguments (2 given) > > An error regarding the argument quantity? what?
Here I get (3.2.2, 3.3): >>> s.sendto('data', ('localhost', 3)) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: 'str' does not support the buffer interface _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com