Skip to content

Commit cf1bb86

Browse files
committed
Add Reminder to common.h, so that we will not forget to purge !WITH_THREAD branches when dropping Python 3.6
1 parent 6f7317e commit cf1bb86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/pybind11/detail/common.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@
206206
#endif
207207

208208
#include <Python.h>
209+
// Reminder: WITH_THREAD is always defined if PY_VERSION_HEX >= 0x03070000
209210
#if PY_VERSION_HEX < 0x03060000
210211
# error "PYTHON < 3.6 IS UNSUPPORTED. pybind11 v2.9 was the last to support Python 2 and 3.5."
211212
#endif

0 commit comments

Comments
 (0)