Content-Length: 263241 | pFad | https://github.com/python/cpython/issues/126944

8B Better error message when missing args to pdb command · Issue #126944 · python/cpython · GitHub
Skip to content

Better error message when missing args to pdb command #126944

@hauntsaninja

Description

@hauntsaninja

Current behaviour:

λ ./python.exe -c 'breakpoint()'
> <string>(1)<module>()
-> breakpoint()
(Pdb) source
*** SyntaxError: invalid syntax

Proposed behaviour:

./python.exe -c 'breakpoint()'
> <string>(1)<module>()
-> breakpoint()
(Pdb) source
*** Missing arg!

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/python/cpython/issues/126944

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy