neuronsimulator/nrn

Replace usage of `PyWeakref_GetObject()` since it is/will be deprecated.

Opened this issue · 0 comments

The python 3.13 relase notes mention that Deprecate the PyWeakref_GetObject() [...]

This is used in the current code base:

PyObject* cell = PyWeakref_GetObject(cell_weakref);

(and a bit further down)