We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
git grep -I -E '3\.7'
1 parent af537e7 commit bb5b9d1Copy full SHA for bb5b9d1
include/pybind11/gil.h
@@ -147,8 +147,6 @@ class gil_scoped_release {
147
// NOLINTNEXTLINE(cppcoreguidelines-prefer-member-initializer)
148
tstate = PyEval_SaveThread();
149
if (disassoc) {
150
- // Python >= 3.7 can remove this, it's an int before 3.7
151
- // NOLINTNEXTLINE(readability-qualified-auto)
152
auto key = internals.tstate;
153
PYBIND11_TLS_DELETE_VALUE(key);
154
}
@@ -173,8 +171,6 @@ class gil_scoped_release {
173
171
PyEval_RestoreThread(tstate);
174
172
175
176
177
178
auto key = detail::get_internals().tstate;
179
PYBIND11_TLS_REPLACE_VALUE(key, tstate);
180
0 commit comments