Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 939631c6bc6f by Éric Araujo in branch '3.2':
Add a link target for argparse.Namespace (#8982)
http://hg.python.org/cpython/rev/939631c6bc6f
--
___
Python tracker
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 01722022f88d by Éric Araujo in branch '2.7':
Add a link target for argparse.Namespace (#8982)
http://hg.python.org/cpython/rev/01722022f88d
--
___
Python tracker
Changes by Éric Araujo mer...@netwok.org:
Removed file: http://bugs.python.org/file21723/fix-argparse-class-directive.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8982
___
Éric Araujo mer...@netwok.org added the comment:
Patch refreshed. If I get no negative feedback, I’ll commit it next week.
--
Added file: http://bugs.python.org/file22320/fix-argparse-class-directive.diff
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Attached patch adds a link target for :class:`Namespace` (already used in the
docs) and adds a reference to it from for the first mentions of “namespace
object”.
Use “hg import blah.diff” (after “hg up 3.2”) to get the patch in the repo
Roundup Robot devnull@devnull added the comment:
New changeset 423b50086b67 by Steven Bethard in branch '3.2':
Issue #8982: Improve the documentation for the argparse Namespace object.
http://hg.python.org/cpython/rev/423b50086b67
New changeset d832756a82d9 by Steven Bethard in branch
Steven Bethard steven.beth...@gmail.com added the comment:
I fixed the docs here so that they're clearer about what the Namespace object
is, and also so that they mention the `vars` approach if you want dict-style
access.
--
resolution: - fixed
stage: needs patch - committed/rejected
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8982
___
___
New submission from R. David Murray rdmur...@bitdance.com:
I wanted to find out if Namespace supported lookup by subscripting
(args['someopt']), but the docs are silent on what Namespace is. (The answer,
by the way, appears to be no; there is a feature request for this in issue
8979).
Steven Bethard steven.beth...@gmail.com added the comment:
That's right, it doesn't support subscripting. The docs are silent on what
namespace is mainly because I don't want to commit to anything other than an
object with attributes. But that could be made clearer in the docs.
--
10 matches
Mail list logo