[issue20120] Percent-signs (%) in .pypirc should not be interpolated

2016-10-07 Thread Thomas Levine
Thomas Levine added the comment: I just upgraded from 3.5.1 to 3.5.2 and found that I couldn't authenticate to PyPI anymore. And then I remembered that this had been fixed, so removed the extra percent sign, and my uploads worked. Thanks

[issue20120] Percent-signs (%) in .pypirc should not be interpolated

2016-01-22 Thread Thomas Levine
Thomas Levine added the comment: I noticed something else that might be interesting. If I delete my .pypirc and have setuptools create it, python3.5 -c 'import setuptools; setuptools.setup()' register the .pypirc is created with the un-escaped percent sign and without error. I receive

[issue20120] Percent-signs (%) in .pypirc should not be interpolated

2015-12-14 Thread Thomas Levine
Thomas Levine added the comment: The error message could just say. something to the effect of ".pypyrc works differently in Python 2 and Python 3. If you want a percent sign in Python 3, you have to escape it with another percent sign". Suppose someone is already using a configur

[issue21298] Cheese shop registration stopped working for me recently

2014-10-17 Thread Thomas Levine
Thomas Levine added the comment: It has been working for me recently. Adding to your suggestion that it is probably PyPI: I didn't do anything in particular to fix this, and I think it is more likely that PyPI got fixed than that I upgraded Python (and thus distutils). -- status

[issue21298] Cheese shop registration stopped working for me recently

2014-04-18 Thread Thomas Levine
New submission from Thomas Levine: This command used to work just fine for me. :: python setup.py register Now it doesn't. For example, :: $ python3 setup.py register /usr/lib/python3.3/distutils/dist.py:257: UserWarning: Unknown distribution option: 'install_requires

[issue20120] Percent-signs (%) in .pypirc should not be interpolated

2014-01-04 Thread Thomas Levine
New submission from Thomas Levine: This works fine in Python 2.7, but it fails in Python 3.3. [tlevine@wildebeest mailfest-scoreboard]$ python3 --version Python 3.3.3 [tlevine@wildebeest mailfest-scoreboard]$ python3 setup.py register sdist running register Traceback (most recent call last

[issue20120] Percent-signs (%) in .pypirc should not be interpolated

2014-01-04 Thread Thomas Levine
Thomas Levine added the comment: The relevant section distutils/config.py seems no different in Python 2.7, so now I see this as a bug in configparser. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20120

[issue20120] Percent-signs (%) in .pypirc should not be interpolated

2014-01-04 Thread Thomas Levine
Thomas Levine added the comment: Hmm now it looks to me like this is the intended behavior. http://hg.python.org/cpython/file/ea0aa3e32ab5/Lib/test/test_configparser.py#l1541 Switching the single percent sign (%) to two (%%) in .pypirc makes it work. Maybe we can make a nicer error message