Skip to content

[BUG]: Python 3.14a7 breaks reference call policy test test50_call_policy() #1006

Closed

Description

@wjakob

Problem description

Some change in the latest Python 3.14a7 version breaks something in a pretty complex testcase related to call policies. See, e.g., https://github.com/wjakob/nanobind/actions/runs/14372986244/job/40299390299. Tagging @oremanj who wrote this testcase. I must admit I don't really grasp what is happening and how it interacts with this testcase.

Reproducible example code

See https://github.com/wjakob/nanobind/actions/runs/14372986244/job/40299390299

Activity

  1. wjakob commented on Apr 10, 2025

    @wjakob
    OwnerAuthor

    Humm, I see now that other tests are also failing, not just test50.

  2. wjakob commented on Apr 10, 2025

    @wjakob
    OwnerAuthor

    I opened an issue in the Python tracker to ask for help: python/cpython#132346

  3. changed the title [-][BUG]: Python 3.17a7 breaks reference call policy test `test50_call_policy()`[/-] [+][BUG]: Python 3.14a7 breaks reference call policy test `test50_call_policy()`[/+] on Apr 10, 2025
  4. wjakob commented on Apr 10, 2025

    @wjakob
    OwnerAuthor

    I bisected this to a specific commit/PR (python/cpython#130708), and it looks like this may be an intentional change.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions