Issue 9353: argparse all is incomplete (original) (raw)
[Moved from http://code.google.com/p/argparse/issues/detail?id=75]
What steps will reproduce the problem?
- import argparse
- print dir(argparse)
- 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'
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'