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 2015-08-29.10:26:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1440843994.53.0.0278400690294.issue24956@psf.upfronthosting.co.za>
In-reply-to
Content
Normally if a value to an argument is passed that is not in the choices list an error like "test.py: error: argument --test: invalid choice: 'c' (choose from 'a', 'b')" is shown. But if the default is set to an invalid choice no error is shown.
History
Date User Action Args
2015-08-29 10:26:34Sworddragonsetrecipients: + Sworddragon
2015-08-29 10:26:34Sworddragonsetmessageid: <1440843994.53.0.0278400690294.issue24956@psf.upfronthosting.co.za>
2015-08-29 10:26:34Sworddragonlinkissue24956 messages
2015-08-29 10:26:34Sworddragoncreate