Re: When argparse will be in the python standard installation

2007-01-05 Thread Steven Bethard
[Thanks for looking through all these Martin!] Martin v. Löwis wrote: > Steven Bethard schrieb: >> * alias ArgumentParser to OptionParser >> * alias add_argument to add_option >> * alias Values to Namespace >> * alias OptionError and OptionValueError to ArgumentError >> * alias add_help= keyword a

Re: When argparse will be in the python standard installation

2007-01-05 Thread Martin v. Löwis
Steven Bethard schrieb: > * alias ArgumentParser to OptionParser > * alias add_argument to add_option > * alias Values to Namespace > * alias OptionError and OptionValueError to ArgumentError > * alias add_help= keyword argument of ArgumentParser to add_help_option= > * alias namespace= keyword arg

Re: When argparse will be in the python standard installation

2007-01-04 Thread Steven Bethard
Steven Bethard schrieb: > If someone has an idea how to include argparse features into optparse, > I'm certainly all for it. But I tried and failed to do this myself, so > I don't know how to go about it. Martin v. Löwis wrote: > It's not necessary that the implementation is retained, only tha

Re: When argparse will be in the python standard installation

2007-01-04 Thread John J. Lee
Steven Bethard <[EMAIL PROTECTED]> writes: > Martin v. Löwis wrote: > > Steven Bethard schrieb: > >> If someone has an idea how to include argparse features into optparse, > >> I'm certainly all for it. But I tried and failed to do this myself, so I > >> don't know how to go about it. > > It's not

Re: When argparse will be in the python standard installation

2007-01-04 Thread Steven Bethard
Martin v. Löwis wrote: > Steven Bethard schrieb: >> If someone has an idea how to include argparse features into optparse, >> I'm certainly all for it. But I tried and failed to do this myself, so I >> don't know how to go about it. > > It's not necessary that the implementation is retained, only

Re: When argparse will be in the python standard installation

2007-01-04 Thread Martin v. Löwis
Steven Bethard schrieb: > If someone has an idea how to include argparse features into optparse, > I'm certainly all for it. But I tried and failed to do this myself, so I > don't know how to go about it. It's not necessary that the implementation is retained, only that the interface is preserved.

Re: When argparse will be in the python standard installation

2007-01-03 Thread Steven Bethard
Martin v. Löwis wrote: > [EMAIL PROTECTED] schrieb: >> I feel argparse has some useful things that optparse doesn't have. But >> I can't find it argparse in python library reference. I'm wondering >> when it will be available in the python standard installation. > > On its own, never. Somebody has

Re: When argparse will be in the python standard installation

2007-01-03 Thread Martin v. Löwis
[EMAIL PROTECTED] schrieb: > I feel argparse has some useful things that optparse doesn't have. But > I can't find it argparse in python library reference. I'm wondering > when it will be available in the python standard installation. On its own, never. Somebody has to contribute it to Python, and

Re: When argparse will be in the python standard installation

2007-01-03 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > I feel argparse has some useful things that optparse doesn't have. But > I can't find it argparse in python library reference. I'm wondering > when it will be available in the python standard installation. there's already two different option parsing modules in the stan