Issue 17462: argparse FAQ: how it is different from optparse (original) (raw)
process
Status: | closed | Resolution: | fixed |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | berker.peksag | Nosy List: | Anastasia.Filatova, asvetlov, berker.peksag, bethard, docs@python, eric.araujo, ezio.melotti, python-dev, rhettinger, techtonik, tshepang |
Priority: | normal | Keywords: | easy, patch |
Created on 2013-03-18 16:42 by techtonik, last changed 2022-04-11 14:57 by admin. This issue is now closed.
Files | |||
---|---|---|---|
File name | Uploaded | Description | Edit |
Issue17462_py27.patch | Anastasia.Filatova,2014-03-18 11:17 | review | |
Issue17462_py33.patch | Anastasia.Filatova,2014-03-18 11:20 | review | |
Issue17462_py34.patch | Anastasia.Filatova,2014-03-18 11:22 | review |
Messages (12) | ||
---|---|---|
msg184468 - (view) | Author: anatoly techtonik (techtonik) | Date: 2013-03-18 16:42 |
http://stackoverflow.com/questions/3217673/why-use-argparse-rather-than-optparse Too many votes. This should be confirmed by the official documentation. | ||
msg184469 - (view) | Author: Andrew Svetlov (asvetlov) * ![]() |
Date: 2013-03-18 16:43 |
The patch is welcome | ||
msg184470 - (view) | Author: Ezio Melotti (ezio.melotti) * ![]() |
Date: 2013-03-18 16:47 |
Is http://docs.python.org/dev/library/argparse.html#upgrading-optparse-code not enough? | ||
msg184471 - (view) | Author: anatoly techtonik (techtonik) | Date: 2013-03-18 16:54 |
@asvetlov: I still don't have the answer which licence - Academic Free License v2.1 or Apache 2.0 should I choose to license my patches. What is the difference? Ezio: It explains what you should replace, but doesn't explain why. | ||
msg184602 - (view) | Author: Ezio Melotti (ezio.melotti) * ![]() |
Date: 2013-03-19 06:45 |
Indeed a paragraph about it could be added at the beginning. | ||
msg213956 - (view) | Author: (Anastasia.Filatova) * | Date: 2014-03-18 11:17 |
Now argparse documentation includes a paragraph about advantages of argparse module over optparse module. | ||
msg213957 - (view) | Author: Éric Araujo (eric.araujo) * ![]() |
Date: 2014-03-18 13:39 |
Thanks for the patch, will apply. | ||
msg221048 - (view) | Author: Ezio Melotti (ezio.melotti) * ![]() |
Date: 2014-06-19 23:06 |
Patch LGTM. | ||
msg221148 - (view) | Author: Raymond Hettinger (rhettinger) * ![]() |
Date: 2014-06-21 02:55 |
Thanks for the patch. It reads well and is informative. | ||
msg227610 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2014-09-26 12:34 |
New changeset 84313c61e60d by Berker Peksag in branch '3.4': Issue #17462: Add a paragraph about advantages of argparse over optparse. https://hg.python.org/cpython/rev/84313c61e60d New changeset 45e1c0029aff by Berker Peksag in branch 'default': Issue #17462: Add a paragraph about advantages of argparse over optparse. https://hg.python.org/cpython/rev/45e1c0029aff | ||
msg227612 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2014-09-26 12:38 |
New changeset 4eb847e7ddde by Berker Peksag in branch '2.7': Issue #17462: Add a paragraph about advantages of argparse over optparse. https://hg.python.org/cpython/rev/4eb847e7ddde | ||
msg227613 - (view) | Author: Berker Peksag (berker.peksag) * ![]() |
Date: 2014-09-26 12:40 |
Thanks for the patch, Anastasia. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:57:43 | admin | set | github: 61664 |
2014-09-26 12:40:25 | berker.peksag | set | status: open -> closedassignee: eric.araujo -> berker.peksagkeywords: + easynosy: + berker.peksagmessages: + resolution: fixedstage: commit review -> resolved |
2014-09-26 12:38:58 | python-dev | set | messages: + |
2014-09-26 12:34:55 | python-dev | set | nosy: + python-devmessages: + |
2014-06-21 02:55:30 | rhettinger | set | nosy: + rhettingermessages: + |
2014-06-19 23:06:10 | ezio.melotti | set | messages: + versions: + Python 3.5, - Python 3.3 |
2014-03-18 13:39:38 | eric.araujo | set | assignee: docs@python -> eric.araujomessages: + stage: needs patch -> commit review |
2014-03-18 11:22:46 | Anastasia.Filatova | set | files: + Issue17462_py34.patch |
2014-03-18 11:20:27 | Anastasia.Filatova | set | files: + Issue17462_py33.patch |
2014-03-18 11:17:57 | Anastasia.Filatova | set | files: + Issue17462_py27.patchnosy: + Anastasia.Filatovamessages: + keywords: + patch |
2014-03-15 00:34:40 | eric.araujo | set | nosy: + eric.araujoversions: - Python 3.2 |
2013-03-22 19:02:53 | tshepang | set | nosy: + tshepang |
2013-03-19 06:45:25 | ezio.melotti | set | versions: + Python 3.2, Python 3.4nosy: + bethardmessages: + type: enhancementstage: needs patch |
2013-03-18 16:54:57 | techtonik | set | messages: + versions: + Python 2.7, Python 3.3 |
2013-03-18 16:47:32 | ezio.melotti | set | nosy: + ezio.melottimessages: + |
2013-03-18 16:43:50 | asvetlov | set | nosy: + asvetlovmessages: + |
2013-03-18 16:42:28 | techtonik | create |