FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Remove or enable unconditionally EXTRA_FUNCTIONALITY stuff from the _decimal module · Issue #152939 · python/cpython · GitHub

Repository navigation

Remove or enable unconditionally EXTRA_FUNCTIONALITY stuff from the _decimal module #152939

Open

Description

Bug report

Bug description:

I suspect this define was added to make some staging area for new functionality. Though, it has no pure-Python alternative, not tested by CI or build bots, has regressions (latest: #152870).

We should either remove this or include unconditionally, with appropriate support from _pydecimal.py.

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Activity

  1. sobolevn commented on Jul 3, 2026

    Member

    The very minimal thing is to compile our code with EXTRA_FUNCTIONALITY, because right now it is not even compiled / checked :(

  2. weixlu commented on Jul 3, 2026

    Contributor

    Yes, this is not even tested by CI, and we have seen at least 2 related issues: #152870 and #142440

  3. skirpichev commented on Jul 3, 2026

    MemberAuthor

    The very minimal thing is to compile our code with EXTRA_FUNCTIONALITY

    The CI has no tests even for some core functionality, like ints 15-bit digits. This can be tested on some build bot, but I believe this just delay a decision.

  4. tangyuan0821 commented on Jul 4, 2026

    Contributor

    Came across this issue. EXTRA_FUNCTIONALITY has broken twice now (#142440, #152870) with no CI catching either — seems like removal is the way to go.

    Mind if I put up a PR for it?

  5. skirpichev commented on Jul 4, 2026

    MemberAuthor

    Mind if I put up a PR for it?

    I think that we should examine each case on by one. Removal is not only option: #53032

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    extension-modulesC modules in the Modules dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL