Skip to content

Replace the old getopt with argparse in pdb CLI #109164

Closed
@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