flintlib / calcium

Calcium has been merged into FLINT -- use https://github.com/flintlib/flint/ instead
http://fredrikj.net/calcium/
GNU Lesser General Public License v2.1
79 stars 11 forks source link

Deallocation problem in ctypes interface #5

Open fredrik-johansson opened 4 years ago

fredrik-johansson commented 4 years ago

Python tries to free the context object before all the number objects that reference the context object have been destroyed.

Is this some ctypes-related reference counting bug in Python or am I missing something really obvious?