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.

classification
Title: Use argparse in email example scripts
Type: enhancement Stage: resolved
Components: Documentation, email Versions: Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: serhiy.storchaka Nosy List: barry, docs@python, georg.brandl, python-dev, r.david.murray, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2013-09-08 14:53 by serhiy.storchaka, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
email_examples_argparse.patch serhiy.storchaka, 2013-09-08 14:53 review
Messages (5)
msg197263 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-09-08 14:53
Here is a patch which replaces optparse to argparse in the Doc/includes/email-dir.py and Doc/includes/email-unpack.py scripts.
msg199047 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2013-10-06 08:31
LGTM, please apply. (FileType is imported but not used in the second example?)
msg199049 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-10-06 08:34
FileType have some problems (see issue13824).
msg199053 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-10-06 08:45
New changeset 1b1b1d4b28e8 by Serhiy Storchaka in branch 'default':
Issue #18972: Modernize email examples and use the argparse module in them.
http://hg.python.org/cpython/rev/1b1b1d4b28e8
msg199054 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-10-06 08:46
Thank you Georg for the review
History
Date User Action Args
2022-04-11 14:57:50adminsetgithub: 63172
2013-10-06 08:46:53serhiy.storchakasetstatus: open -> closed
messages: + msg199054

assignee: docs@python -> serhiy.storchaka
resolution: fixed
stage: patch review -> resolved
2013-10-06 08:45:49python-devsetnosy: + python-dev
messages: + msg199053
2013-10-06 08:34:25serhiy.storchakasetmessages: + msg199049
2013-10-06 08:31:12georg.brandlsetnosy: + georg.brandl
messages: + msg199047
2013-09-08 14:53:48serhiy.storchakacreate