This fixes a strange unicode error that happens in Python 2.7 when trying to ddfs.chunk,
Fixed bug in comm that causes strange unicode problems in python 2.7
Added Python < 2.6 compatiblity for bytearray fix
Thanks Mazdak, this was causing problems with httplib or pycurl or both? If Python2.7 can't treat unicode strings as byte sequences anymore I guess there will be other problem spots too.
Just curious, will this need a test case?
Thanks! I had the same error and this change fixed it for me as well.
Do you still need this patch with the latest master?
The underlying code has been modified. It is not clear what problem this was supposed to resolve.