rogerbinns / apsw

Another Python SQLite wrapper
https://rogerbinns.github.io/apsw/
Other
733 stars 97 forks source link

Py_TPFLAGS_MANAGED_WEAKREF for Python 3.12+ #498

Open rogerbinns opened 10 months ago

rogerbinns commented 10 months ago

Py_TPFLAGS_MANAGED_WEAKREF should be set in Python 3.12+ while earlier versions remain using the older tp_weaklistoffset. It can probably be done via macros.