$ python3.13 -m pdb -c continue -c quit test.py foo
test.py foo
The program finished and will be restarted
$ python3.13 -m pdb -c continue -c quit test.py foo --bar
usage: pdb [-h] [-c command] (-m module | pyfile) [args ...]
pdb: error: unrecognized arguments: --bar
$ python3.12 -m pdb -c continue -c quit test.py foo --bar
test.py foo --bar
The program finished and will be restarted
Bug report
Bug description:
Hello everyone,
With Python 3.13,
pdbdoesn't pass arguments like-bor--barto a script while it works fine with Python 3.12.test.py
✅ Good:
🐛 Bad:
✅ Good:
Best regards!
CPython versions tested on:
3.13
Operating systems tested on:
Linux
Linked PRs