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 samuelmarks
Recipients bethard, ncoghlan, paul.j3, peter.otten, samuelmarks, tebeka, zertrin
Date 2019-10-05.03:43:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1570247003.46.0.220957585643.issue22240@roundup.psfhosted.org>
In-reply-to
Content
Until this is accepted, I've modified my codebase:
```
from argparse import ArgumentParser

ArgumentParser(
  prog=None if globals().get('__spec__') is None else 'python -m {}'.format(__spec__.name.partition('.')[0])
)
```
History
Date User Action Args
2019-10-05 03:43:23samuelmarkssetrecipients: + samuelmarks, tebeka, ncoghlan, peter.otten, bethard, paul.j3, zertrin
2019-10-05 03:43:23samuelmarkssetmessageid: <1570247003.46.0.220957585643.issue22240@roundup.psfhosted.org>
2019-10-05 03:43:23samuelmarkslinkissue22240 messages
2019-10-05 03:43:23samuelmarkscreate