Skip to content

Add __qualname__ tests #5775

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

gentlegiantJGC
Copy link
Contributor

Description

Add tests for function and method __qualname__ attributes.
I believe these tests will fail with the current implementation but they should pass.
These are tests for the correct behaviour of #2059 and #5774

Suggested changelog entry:

  • TODO.

gentlegiantJGC and others added 2 commits July 28, 2025 14:15
Add tests for function and method __qualname__ attributes.
I believe these tests will fail with the current implementation but they should pass.
These are tests for the correct behaviour of pybind#2059 and pybind#5774
@henryiii
Copy link
Collaborator

henryiii commented Aug 6, 2025

@rwgk I'd agree, the __qualname__ doesn't look right:

- module_func
+ pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1.module_func

@rwgk
Copy link
Collaborator

rwgk commented Aug 7, 2025

@rwgk I'd agree, the __qualname__ doesn't look right:

- module_func
+ pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1.module_func

Absolutely, I beat on this pretty hard already (4+ hours), but didn't get lucky: #5774 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants