Irit Katriel <[email protected]> added the comment:
Reproduced on 3.11, with a different error:
% ./python.exe prog.py
Traceback (most recent call last):
File "/Users/iritkatriel/src/cpython-1/prog.py", line 5, in <module>
args = parse.parse_args()
^^^^^^^^^^^^^^^^^^
File "/Users/iritkatriel/src/cpython-1/Lib/argparse.py", line 1822, in
parse_args
args, argv = self.parse_known_args(args, namespace)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/iritkatriel/src/cpython-1/Lib/argparse.py", line 1855, in
parse_known_args
namespace, args = self._parse_known_args(args, namespace)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/iritkatriel/src/cpython-1/Lib/argparse.py", line 2093, in
_parse_known_args
', '.join(required_actions))
^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: sequence item 0: expected str instance, tuple found
----------
nosy: +iritkatriel
type: -> behavior
versions: +Python 3.10, Python 3.11
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue14074>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com