New submission from John Robinson <greyw...@gmail.com>:

When using the socket module and performing a socket.send('hello
world'), the error returned is:
Traceback (most recent call last):
  File "C:\Python30\testclient.py", line 12, in <module>
    s.send('Hello world')               # send the data
TypeError: send() argument 1 must be string or buffer, not str

TypeError should refer to byte not string.

----------
messages: 78278
nosy: Luther
severity: normal
status: open
title: socket.send obscure error message
type: behavior
versions: Python 3.0

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4745>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to