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 Luther
Recipients Luther
Date 2008-12-25.01:46:56
SpamBayes Score 3.875933e-06
Marked as misclassified No
Message-id <1230169617.77.0.0806737582918.issue4745@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-12-25 01:46:57Luthersetrecipients: + Luther
2008-12-25 01:46:57Luthersetmessageid: <1230169617.77.0.0806737582918.issue4745@psf.upfronthosting.co.za>
2008-12-25 01:46:56Lutherlinkissue4745 messages
2008-12-25 01:46:56Luthercreate