Message111331
[Moved from http://code.google.com/p/argparse/issues/detail?id=75]
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'
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' |
|
Date |
User |
Action |
Args |
2010-07-23 14:25:11 | bethard | set | recipients:
+ bethard |
2010-07-23 14:25:11 | bethard | set | messageid: <1279895111.13.0.483513856318.issue9353@psf.upfronthosting.co.za> |
2010-07-23 14:25:09 | bethard | link | issue9353 messages |
2010-07-23 14:25:09 | bethard | create | |
|