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.

Author bethard
Recipients bethard
Date 2010-07-23.14:25:09
SpamBayes Score 0.0277962
Marked as misclassified No
Message-id <1279895111.13.0.483513856318.issue9353@psf.upfronthosting.co.za>
In-reply-to
Content
[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'
History
Date User Action Args
2010-07-23 14:25:11bethardsetrecipients: + bethard
2010-07-23 14:25:11bethardsetmessageid: <1279895111.13.0.483513856318.issue9353@psf.upfronthosting.co.za>
2010-07-23 14:25:09bethardlinkissue9353 messages
2010-07-23 14:25:09bethardcreate