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.
Created on 2010年07月23日 14:25 by bethard, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg111331 - (view) | Author: Steven Bethard (bethard) * (Python committer) | Date: 2010年07月23日 14:25 | |
[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' |
|||
| msg120134 - (view) | Author: Steven Bethard (bethard) * (Python committer) | Date: 2010年11月01日 15:26 | |
Fixed in 3.X in r86086 and in 2.7 in r86087. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:04 | admin | set | github: 53599 |
| 2010年11月01日 15:26:50 | bethard | set | status: open -> closed assignee: bethard resolution: fixed messages: + msg120134 |
| 2010年07月23日 14:25:10 | bethard | create | |