This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gcbirzan
Recipients bethard, eric.smith, gcbirzan, jeffknupp, kalt, python-dev, r.david.murray, wt
Date 2012-08-21.11:26:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1345548369.07.0.801591274252.issue13922@psf.upfronthosting.co.za>
In-reply-to
Content
This patch introduced a regression. Before, parse_args would take a tuple as an argument, and in _get_values it was converted to a list via list comprehension, which meant it was working with tuples too. In the current version, that raises an AttributeError, since tuples do not have .remove().

The simplest solution would be to convert arg_strings to a list before calling .remove(). The downside is that it will break silently when you pass it a string, whereas now you get a confusing error message (but, this is the same behavior as before this fix)
History
Date User Action Args
2012-08-21 11:26:09gcbirzansetrecipients: + gcbirzan, bethard, eric.smith, kalt, r.david.murray, python-dev, wt, jeffknupp
2012-08-21 11:26:09gcbirzansetmessageid: <1345548369.07.0.801591274252.issue13922@psf.upfronthosting.co.za>
2012-08-21 11:26:08gcbirzanlinkissue13922 messages
2012-08-21 11:26:07gcbirzancreate