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 Sworddragon
Recipients Sworddragon
Date 2013-05-27.22:25:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1369693516.49.0.861390993855.issue18074@psf.upfronthosting.co.za>
In-reply-to
Content
Positional arguments which have no dest attribute doesn't replace any - with _. In the attachments is an example script which demonstrate this. The output looks like this:

sworddragon@ubuntu:~$ ./args.py foo
Namespace(foo-bar2='foo', foo_bar1=None)
History
Date User Action Args
2013-05-27 22:25:16Sworddragonsetrecipients: + Sworddragon
2013-05-27 22:25:16Sworddragonsetmessageid: <1369693516.49.0.861390993855.issue18074@psf.upfronthosting.co.za>
2013-05-27 22:25:16Sworddragonlinkissue18074 messages
2013-05-27 22:25:16Sworddragoncreate