[New-bugs-announce] [issue18074] argparse: Namespace can contain critical characters

Sworddragon report at bugs.python.org
Tue May 28 00:25:16 CEST 2013


New submission from Sworddragon:

Positional arguments which have no dest attribute doesn't replace any - with _. In the attachments is an example script which demonstrate this. The output looks like this:

sworddragon at ubuntu:~$ ./args.py foo
Namespace(foo-bar2='foo', foo_bar1=None)

----------
components: Library (Lib)
files: args.py
messages: 190157
nosy: Sworddragon
priority: normal
severity: normal
status: open
title: argparse: Namespace can contain critical characters
versions: Python 3.3
Added file: http://bugs.python.org/file30393/args.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18074>
_______________________________________


More information about the New-bugs-announce mailing list