[issue10012] httplib shadows builtin, assumes strings

2010-10-03 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in r85205 (py3k), r85206 (release31-maint) and r85207 (release27-maint). -- resolution: accepted -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue10012] httplib shadows builtin, assumes strings

2010-10-02 Thread Senthil Kumaran
Changes by Senthil Kumaran : Added file: http://bugs.python.org/file19117/issue10012-py3k.patch ___ Python tracker ___ ___ Python-bugs-list ma

[issue10012] httplib shadows builtin, assumes strings

2010-10-02 Thread Senthil Kumaran
Senthil Kumaran added the comment: Here are patches with tests for py3k and release27-maint, for explicit conversion of header values to bytes/str. If someone likes to review the patch, please provide your comments. -- keywords: +patch resolution: -> accepted stage: -> patch review

[issue10012] httplib shadows builtin, assumes strings

2010-10-01 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue10012] httplib shadows builtin, assumes strings

2010-10-01 Thread Cliff Wells
New submission from Cliff Wells : httplib.py ~Line 924 def putheader(self, header, *values): str = '%s: %s' % (header, '\r\n\t'.join(values)) self._output(str) should be changed to something like: def putheader(self, header, *values): ... s = '%s: %s'