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 yan12125
Recipients brett.cannon, serhiy.storchaka, yan12125
Date 2017-02-04.07:26:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486193188.24.0.532905655294.issue29442@psf.upfronthosting.co.za>
In-reply-to
Content
The change is clear and self-explained. See the patch.

Motivations:

1. The hack "To prevent optparse from raising an exception..." works for single letter flags (-I, -L, etc.) only. I plan to add --sysroot related codes for Android builds and I don't want more hacks. Apparently argparse does not need this hack as it can parse all known flags before throwing an error
2. optparse is deprecated

Add the developer that introduced this hack. Also Serhiy, who sseems interested in removing optparse from the code base. (issue18973, issue18971)
History
Date User Action Args
2017-02-04 07:26:28yan12125setrecipients: + yan12125, brett.cannon, serhiy.storchaka
2017-02-04 07:26:28yan12125setmessageid: <1486193188.24.0.532905655294.issue29442@psf.upfronthosting.co.za>
2017-02-04 07:26:28yan12125linkissue29442 messages
2017-02-04 07:26:27yan12125create