What steps will reproduce the problem?
1. import argparse
2. print dir(argparse)
3. print argparse.__all__
Compare the output for public methods and attributes from #2 that aren't in #3.
I see the following entries that look like they should be public but aren't in
__all__::
'ArgumentTypeError', 'ONE_OR_MORE', 'OPTIONAL', 'PARSER', 'REMAINDER',
'SUPPRESS', 'ZERO_OR_MORE'
What version of the product are you using? On what operating system?
argparse-1.1 on Fedora Linux
Please provide any additional information below.
I was writing a compat layer to allow unbundling argparse from ipython if it's
already installed in the system when I ran across this. The particular public
attribute that was missing there was 'SUPPRESS'
Original issue reported on code.google.com by a.bad...@gmail.com on 21 Jun 2010 at 6:37
Original issue reported on code.google.com by
a.bad...@gmail.com
on 21 Jun 2010 at 6:37