Eric V. Smith <[email protected]> added the comment:
Removing versions 3.4 and 3.8.
Attaching a reproducing script. Run it with a parameter of the number of
arguments to add. The behavior changes between 7 and 8, although I'm not sure
either is wrong, just different. This is from Windows:
% python3 31768.py 7
usage: 31768.py [-h] [-v | -q | -x [X] | -y [Y] | Z | Z | Z | Z | Z | Z | Z]
positional arguments:
Z the exponent
Z the exponent
Z the exponent
Z the exponent
Z the exponent
Z the exponent
Z the exponent
optional arguments:
-h, --help show this help message and exit
-v, --verbose
-q, --quiet
-x [X] the base
-y [Y] the exponent
% python3 31768.py 8
usage: 31768.py [-h] [-v] [-q] [-x [X]] [-y [Y]]
[Z] [Z] [Z] [Z] [Z] [Z] [Z] [Z]
positional arguments:
Z the exponent
Z the exponent
Z the exponent
Z the exponent
Z the exponent
Z the exponent
Z the exponent
Z the exponent
optional arguments:
-h, --help show this help message and exit
-v, --verbose
-q, --quiet
-x [X] the base
-y [Y] the exponent
----------
nosy: +eric.smith
versions: -Python 3.4, Python 3.8
Added file: https://bugs.python.org/file47214/31768.py
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue31768>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com