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

2011-05-04 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Are you sure? This looks like #10367 (unsolved yet), not #9199 (fixed). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11970 ___

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

2011-05-04 Thread Chris Rose
Chris Rose off...@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.

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

2011-05-04 Thread Chris Rose
Chris Rose off...@offby1.net added the comment: ... oh, except I'm an idiot, and I think I'm reading tip code there. Yep, I'm an idiot. Okay, but this is still a dupe of #10367 -- resolution: invalid - duplicate ___ Python tracker

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

2011-05-04 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- stage: - committed/rejected superseder: - python setup.py sdist upload --show-response can fail with UnboundLocalError: local variable 'result' referenced before assignment ___ Python tracker

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

2011-05-03 Thread Chris Rose
Chris Rose off...@offby1.net added the comment: I can see that this is only an error in the 2.7.1 release, and is fixed in distutils on the 2.7 branch (along with other bugs, too, from what I can see.) I'm closing it as invalid, given that. -- resolution: - invalid status: open -

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

2011-05-01 Thread Chris Rose
New submission from Chris Rose off...@offby1.net: When running distutils like so: .tox/py27/bin/python setup.py -v bdist_egg upload --show-response Eventually, after everything else spools by, this pops up: Using PyPI login from /Users/offline/.pypirc Submitting