Message 123051 - Python tracker
On Thu, Dec 02, 2010 at 03:20:05AM +0000, Xuanji Li wrote: > Actually I don't think you can go around changing test_urllib2.py, > they are after all regression tests... and surely some users will > send "" as data. > Think about it this way. In py3k, socket.send can handle only bytes, not string. So sending "" as data to the socket.send is wrong.