[issue14174] argparse.REMAINDER fails to parse remainder correctly

Arnout van Meer report at bugs.python.org
Fri Mar 2 13:08:10 CET 2012


New submission from Arnout van Meer <rr2do2 at gmail.com>:

Reproduction case is attached and should speak for itself, but the short brief is that the argparse.REMAINDER behaviour is very inconsistent based on what (potentially) defined argument handlers come before it.

Tested this on Python 2.7 on OS X, but also grabbed the latest argparse.py from hg to verify against this.

----------
components: Library (Lib)
files: worker.py
messages: 154761
nosy: rr2do2
priority: normal
severity: normal
status: open
title: argparse.REMAINDER fails to parse remainder correctly
type: behavior
versions: Python 2.7, Python 3.2
Added file: http://bugs.python.org/file24704/worker.py

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


More information about the Python-bugs-list mailing list