Skip to content

Eliminate pybindit namespace#5607

Merged
rwgk merged 4 commits intopybind:masterfrom
rwgk:pybind11_namespace_macros
Apr 9, 2025
Merged

Eliminate pybindit namespace#5607
rwgk merged 4 commits intopybind:masterfrom
rwgk:pybind11_namespace_macros

Conversation

@rwgk
Copy link
Copy Markdown
Collaborator

@rwgk rwgk commented Apr 8, 2025

Description

Use new pybind11/detail/pybind11_namespace_macros.h instead, which is straightforwardly factored out of pybind11/detail/common.h.

This ensures that the namespace visibility is fully consistent within pybind11.

See also: https://chatgpt.com/share/67f5ae6c-cc94-8008-877f-dc19fbadadcc (Please post corrections here if that information is not correct.)

Changelog not needed: This PR only changes unreleased code.

@rwgk rwgk mentioned this pull request Apr 8, 2025
@rwgk rwgk marked this pull request as ready for review April 9, 2025 03:18
@rwgk rwgk requested a review from henryiii April 9, 2025 03:18
@rwgk
Copy link
Copy Markdown
Collaborator Author

rwgk commented Apr 9, 2025

Thanks!

@rwgk rwgk merged commit a28ea8c into pybind:master Apr 9, 2025
2 checks passed
@rwgk rwgk deleted the pybind11_namespace_macros branch April 9, 2025 03:46
@github-actions github-actions Bot added the needs changelog Possibly needs a changelog entry label Apr 9, 2025
@rwgk rwgk removed the needs changelog Possibly needs a changelog entry label Apr 9, 2025
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.

2 participants