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.

Title: argparse __all__ is incomplete
Type: behavior Stage: needs patch
Components: Library (Lib) Versions: Python 3.2, Python 2.7
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: bethard Nosy List: bethard
Priority: normal Keywords:

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]

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__::


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.
Date User Action Args
2022-04-11 14:57:04adminsetgithub: 53599
2010-11-01 15:26:50bethardsetstatus: open -> closed
assignee: bethard
resolution: fixed
messages: + msg120134
2010-07-23 14:25:10bethardcreate