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

W. Trevor King report at bugs.python.org
Fri Oct 11 19:38:55 CEST 2013


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 patch's generic charset handling better, but for PyPI uploads either one would work fine.

I've looked through the Mercurial logs, but it looks like this r *has* been around since 34794 (Implement the Distutils 'upload' subcommand (upload package to PyPI), 2005-03-21), so I don't know where the "global name 'r' is not defined" message came from.

----------
nosy: +labrat

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


More information about the Python-bugs-list mailing list