[issue12853] global name 'r' is not defined in upload.py

2013-11-15 Thread Jason R. Coombs
Changes by Jason R. Coombs : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed versions: +Python 3.3, Python 3.4 ___ Python tracker ___ ___

[issue12853] global name 'r' is not defined in upload.py

2013-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset aa3a7d5e0478 by Jason R. Coombs in branch '2.7': Issue #12853: Correct NameError in distutils upload command. http://hg.python.org/cpython/rev/aa3a7d5e0478 -- nosy: +python-dev ___ Python tracker

[issue12853] global name 'r' is not defined in upload.py

2013-11-15 Thread Jason R. Coombs
Changes by Jason R. Coombs : -- assignee: tarek -> jason.coombs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12853] global name 'r' is not defined in upload.py

2013-11-15 Thread Berker Peksag
Berker Peksag added the comment: This is fixed in 3.3 and 3.4 by changeset http://hg.python.org/cpython/rev/5e98c4e9c909#l1.89. I can still reproduce the NameError in 2.7: http://hg.python.org/cpython/file/2.7/Lib/distutils/command/upload.py#l180 -- nosy: +berker.peksag, jason.coombs

[issue12853] global name 'r' is not defined in upload.py

2013-10-12 Thread Esa Peuha
Esa Peuha added the comment: > so I don't know where the "global name 'r' is not defined" message came from. It came from Python 2.7. There are two separate bugs here, one in 3.x and the other in 2.7: the 3.x bug has to do with bytes/string separation, while the 2.7 bug is that result was chan

[issue12853] global name 'r' is not defined in upload.py

2013-10-11 Thread W. Trevor King
W. Trevor King added the comment: I just posted a patch fixing this in the current master branch [1]. Ned Deily pointed out that my Issue19226 duplicated an earlier Issue17354, which also has a patch fixing this problem. Merging either one of these patches should close this issue. I like my

[issue12853] global name 'r' is not defined in upload.py

2013-10-11 Thread Ned Deily
Changes by Ned Deily : -- versions: +Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue12853] global name 'r' is not defined in upload.py

2012-12-06 Thread Sven Deichmann
Sven Deichmann added the comment: result seems indeed to be what is expected here. One additional note: This only occurs if you use the --show-response option for the upload command. if you omit that, you get no error message -- nosy: +Sven.Deichmann __

[issue12853] global name 'r' is not defined in upload.py

2011-09-11 Thread dirn
dirn added the comment: Replacing r with result works only when urlopen doesn't raise HTTPError -- nosy: +dirn ___ Python tracker ___ ___

[issue12853] global name 'r' is not defined in upload.py

2011-08-30 Thread Éric Araujo
Éric Araujo added the comment: Does it work if you replace r with result? -- versions: -Python 3.2, Python 3.3 ___ Python tracker ___ __

[issue12853] global name 'r' is not defined in upload.py

2011-08-29 Thread Anthony Kong
Changes by Anthony Kong : -- nosy: +Anthony.Kong ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue12853] global name 'r' is not defined in upload.py

2011-08-29 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> tarek components: +Distutils nosy: +eric.araujo, tarek stage: -> needs patch versions: +Python 3.2, Python 3.3 -Python 3.4 ___ Python tracker __

[issue12853] global name 'r' is not defined in upload.py

2011-08-29 Thread Russell Owen
New submission from Russell Owen : When using distutils to upload code to PyPI I get the following message (but the upload is successful): {{{ Traceback (most recent call last): File "setup.py", line 60, in zip_safe = False, # icons (e.g. as used by RO.Wdg.GrayImageDispWdg) are not retri