Content-Length: 270053 | pFad | https://github.com/python/cpython/issues/109164

00 Replace the old `getopt` with `argparse` in pdb CLI · Issue #109164 · python/cpython · GitHub
Skip to content

Replace the old getopt with argparse in pdb CLI #109164

@gaogaotiantian

Description

@gaogaotiantian

Feature or enhancement

Proposal:

pdb is using getopt for argument parsing. getopt is pretty old and not well maintained. Some issue in #108791 could be avoided with the modern argparse module. We should replace getopt with argparse when it's easy to do so. This might ease the load in the future when more arguments are added to the CLI.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-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/109164

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy