]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Convert the socket module to insist on bytes for input, and to return bytes
authorGuido van Rossum <guido@python.org>
Wed, 21 Nov 2007 22:09:45 +0000 (22:09 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 21 Nov 2007 22:09:45 +0000 (22:09 +0000)
commit8a392d7387c9992537b0e1f66de989e34bd4eb4e
tree689dd92ee0ca56b2464982cb07b398af03f81f19
parentb08340053cb10af7290628ed624e4f7ec6be398b
Convert the socket module to insist on bytes for input, and to return bytes
(not bytearray) on output.  Discovered a bunch of places that were still
depending on it accepting text strings.
Lib/SimpleXMLRPCServer.py
Lib/smtplib.py
Lib/test/test_ftplib.py
Lib/test/test_poplib.py
Lib/test/test_smtplib.py
Lib/test/test_socket.py
Lib/test/test_urllib2_localnet.py
Modules/socketmodule.c