pybind11/.github
Jeremy Maitin-Shepard 14976c853b
Eliminate duplicate TLS keys for loader_life_support stack (#3275)
* Eliminate duplicate TLS keys for loader_life_support stack

This revises the existing fix for
https://github.com/pybind/pybind11/issues/2765 in
https://github.com/pybind/pybind11/pull/3237 to reduce the amount of
TLS storage used.

The shared TLS key is stored in two different ways, depending on
`PYBIND11_INTERNALS_VERSION`.  If `PYBIND11_INTERNALS_VERSION ==
4` (as is currently set), the TLS key is stored in the
`internal::shared_data` map to avoid breaking ABI compatibility.  If
`PYBIND11_INTERNALS_VERSION > 4`, the TLS key is stored directly in
the `internals` struct.

* Fix test_pytypes.py::test_issue2361 failure on PyPy3.7

* Add github actions tests for unstable ABI
2021-09-20 04:57:38 -07:00
..
ISSUE_TEMPLATE chore: add discussions link (#3159) 2021-07-29 16:10:18 -07:00
workflows Eliminate duplicate TLS keys for loader_life_support stack (#3275) 2021-09-20 04:57:38 -07:00
CODEOWNERS chore: add nox support (#3101) 2021-07-12 17:45:40 -04:00
CONTRIBUTING.md chore: support targeting different Python versions with nox (#3214) 2021-08-23 18:05:54 -04:00
dependabot.yml docs: better badges (#2656) 2020-11-15 12:23:33 -05:00
labeler_merged.yml ci: original labeler 2020-10-12 22:35:23 -04:00
labeler.yml ci: original labeler 2020-10-12 22:35:23 -04:00
pull_request_template.md docs: mention that the changelog block in PR is special 2021-01-19 22:47:40 -05:00