Shubham Sharma <shubhamsharma1...@gmail.com> added the comment:
nargs can take various values like "*", "+", etc. but doesn't support integers
which are wrapped around in strings. Say, I want to take a user input for the
nargs value (just a hypothetical situatio
Change by Shubham Sharma <shubhamsharma1...@gmail.com>:
--
pull_requests: +4949
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
Change by Shubham Sharma <shubhamsharma1...@gmail.com>:
--
components: Library (Lib)
nosy: shubham1172
priority: normal
severity: normal
status: open
title: argparse nargs should support string wrapped integers too
type: enhancement
versions: Python 2.7, Python 3.4, Python 3.5,
Change by Shubham Sharma <shubhamsharma1...@gmail.com>:
--
keywords: +patch
pull_requests: +4944
stage: -> patch review
___
Python tracker <rep...@bugs.python.org>
<https://bugs.pyt
Shubham Sharma <shubhamsharma1...@gmail.com> added the comment:
Values like "1", "2", "3", should be supported.
--
___
Python tracker <rep...@bugs.python.o
Shubham Sharma <shubhamsharma1...@gmail.com> added the comment:
A simple int(nargs) would be sufficient. I am getting ready with a PR in some
time.
--
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python