Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
Bug description:
Thepdb CLI is no longer correctly forwarding arguments to other tools.
Example reproduction:
- It raises an error
pdb: error: argument pyfile: not allowed with argument -m
vscode ➜ ~ $ docker run -it --rm python:3.13.0a2 python -m pdb -m calendar 1usage: pdb [-h] [-c command] (-m module | pyfile) [args ...]pdb: error: argument pyfile: not allowed with argument -mExpected behavior:
- It starts the
pdbdebugger.
vscode ➜ ~ $ docker run -it --rm python:3.12 python -m pdb -m calendar 1> /usr/local/lib/python3.12/calendar.py(1)<module>()-> """Calendar printing functions(Pdb)CPython versions tested on:
3.13
Operating systems tested on:
Linux