[issue11970] distutils command 'upload' crashes when --show-response is selected

Chris Rose report at bugs.python.org
Wed May 4 18:12:03 CEST 2011


Chris Rose <offby1 at offby1.net> added the comment:

No, not 100% sure, but my read of the 2.7 branch code certainly seemed to suggest that it was fixed.

in distutil/commands/upload.py:

Line 193 gets the response unconditionally as 'r' from the http object

Line 201 uses 'r' to show the response.

I might be missing a form that the 'r' object can take that isn't going to have a read() method, but I doubt it.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11970>
_______________________________________


More information about the Python-bugs-list mailing list