Sitelet https://github.com/python/cpython/issues/133157
Skip to content

UBsan: Remove _Py_NO_SANITIZE_UNDEFINED #133157

Description

@encukou

Bug report

Split out from the #111178 monster-issue:

We use the macro _Py_NO_SANITIZE_UNDEFINED to disable the UB sanitizer in some hard-to-fix cases, so that we can get a stable, regression-monitoring checker sooner.
To fully fix UBsan failures, we should get rid of the macro.
At least outside test functions.

Linked PRs

Activity

  1. self-assigned this
    on May 15, 2025
  2. added a commit that references this issue on May 18, 2025
  3. added a commit that references this issue on Jun 10, 2025
  4. added a commit that references this issue on Jun 10, 2025
  5. added a commit that references this issue on Jun 10, 2025
  6. added 2 commits that reference this issue on Jun 10, 2025
  7. added a commit that references this issue on Jun 10, 2025
  8. added a commit that references this issue on Jun 19, 2025
  9. added a commit that references this issue on Jul 1, 2025
  10. encukou commented on Jul 1, 2025

    @encukou
    MemberAuthor

    Gone. Thank you, @picnixz!

  11. added a commit that references this issue on Jul 11, 2025
  12. added 3 commits that reference this issue on Jul 12, 2025
  13. added a commit that references this issue on Jul 13, 2025
  14. added 3 commits that reference this issue on Aug 4, 2025
  15. added 2 commits that reference this issue on Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

extension-modulesC modules in the Modules dirinterpreter-core(Objects, Python, Grammar, and Parser dirs)topic-C-APItype-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions