Skip to content

Scratch PR for reducing PyPy issue observed under #4246 #4268

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

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
884 changes: 3 additions & 881 deletions .github/workflows/ci.yml

Large diffs are not rendered by default.

80 changes: 0 additions & 80 deletions .github/workflows/configure.yml

This file was deleted.

55 changes: 0 additions & 55 deletions .github/workflows/format.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/labeler.yml

This file was deleted.

110 changes: 0 additions & 110 deletions .github/workflows/pip.yml

This file was deleted.

112 changes: 0 additions & 112 deletions .github/workflows/upstream.yml

This file was deleted.

6 changes: 6 additions & 0 deletions include/pybind11/detail/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,12 @@
# endif
#endif

// See description of PR #4246:
#if !defined(NDEBUG) && !defined(PY_ASSERT_GIL_HELD_INCREF_DECREF) \
&& !defined(PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF)
# define PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF
#endif

// #define PYBIND11_STR_LEGACY_PERMISSIVE
// If DEFINED, pybind11::str can hold PyUnicodeObject or PyBytesObject
// (probably surprising and never documented, but this was the
Expand Down
Loading