Skip to content

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