You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ podman run -v $(pwd):/src python:3.11.5-bookworm python /src/delim.py
Namespace(broken=[], working='asdf')
The value of the --broken argument is not parsed, presumably because it is the standard end-of-argument-list value. But this does not seem expected when the value is introduced with =. Besides, in this case, the parsing does continue for subsequent args, so it was not actually treated as end of arguments.
Bug report
Bug description:
This code:
prints:
The value of the
--brokenargument is not parsed, presumably because it is the standard end-of-argument-list value. But this does not seem expected when the value is introduced with=. Besides, in this case, the parsing does continue for subsequent args, so it was not actually treated as end of arguments.CPython versions tested on:
3.11, 3.12
Operating systems tested on:
Linux
Linked PRs
--#110959