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 Rin
Recipients Rin
Date 2020-10-21.09:44:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603273455.18.0.937271574309.issue42105@roundup.psfhosted.org>
In-reply-to
Content
the "allow_abbrev" in "argparse.ArgumentParser" behavior does not work as intended in python 3.9.0

$ python3 --version
Python 3.5.3
$ python3 mcve.py -S
$ python3 mcve.py -SS
usage: mcve.py [-h] [-S]
mcve.py: error: unrecognized arguments: -SS

$ python3.9 --version
Python 3.9.0
$ python3.9 mcve.py -S
$ python3.9 mcve.py -SS # no erros raised here
$

Have attached a sample file to check this
History
Date User Action Args
2020-10-21 09:44:15Rinsetrecipients: + Rin
2020-10-21 09:44:15Rinsetmessageid: <1603273455.18.0.937271574309.issue42105@roundup.psfhosted.org>
2020-10-21 09:44:15Rinlinkissue42105 messages
2020-10-21 09:44:15Rincreate