Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Argument Clinic: c_default does not work with bool and char converters #132753

Copy link
Copy link
Open
@serhiy-storchaka

Description

@serhiy-storchaka
Issue body actions

The c_default option of the bool and char converters does not have effect.

It is especially bad for bool where the default value other than 0 and 1 can be used to detect whether the argument was passed. I have a quick and dirty fix for this.

For char, a serious rewrite of Argument Clinic is needed.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixestopic-argument-clinictype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.