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: [feature-request] Please add bool data type to "optparse" module
Type: enhancement Stage:
Components: Extension Modules Versions: Python 2.6
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: Technologov, christian.heimes, facundobatista, gpolo, hoffman
Priority: normal Keywords: easy

Created on 2008-02-16 21:15 by Technologov, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (5)
msg62469 - (view) Author: Technologov (Technologov) Date: 2008-02-16 21:15
hi !

Currently "optparse" module lacks "bool" data type parsing. It would be
nice to add this feature.

-Technologov, 16.02.2008.
msg62484 - (view) Author: Guilherme Polo (gpolo) * (Python committer) Date: 2008-02-17 10:03
Have you read
http://docs.python.org/lib/optparse-standard-option-actions.html ?

If yes, what is the problem with store_true/store_false ?
msg62489 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2008-02-17 11:46
Patches are always welcome
msg62626 - (view) Author: Michael Hoffman (hoffman) Date: 2008-02-21 15:50
As gpolo points out, this facility already exists. This RFE should be
closed.
msg62725 - (view) Author: Facundo Batista (facundobatista) * (Python committer) Date: 2008-02-23 13:05
The functionality already exists.
History
Date User Action Args
2022-04-11 14:56:30adminsetgithub: 46383
2008-02-23 13:05:52facundobatistasetstatus: open -> closed
resolution: out of date
messages: + msg62725
nosy: + facundobatista
2008-02-21 15:50:42hoffmansetnosy: + hoffman
messages: + msg62626
2008-02-17 11:46:35christian.heimessetversions: + Python 2.6, - Python 2.5
nosy: + christian.heimes
messages: + msg62489
priority: normal
keywords: + easy
type: enhancement
2008-02-17 10:03:55gpolosetnosy: + gpolo
messages: + msg62484
2008-02-16 21:15:08Technologovcreate