Re: Battle of the garbage collectors, or ARGGHHHHHH!!!!

2017-09-02 Thread CFK
On Wed, Apr 26, 2017 at 10:38 PM, Cem Karan wrote: > > On Apr 24, 2017, at 8:54 PM, Jon Ribbens > wrote: > > > On 2017-04-24, CFK wrote: > >> Long version: I'm trying to write bindings for python via ctypes to > control > >> a

Re: Unable to subclass ctypes.c_uint64: was: Re: Battle of the garbage collectors, or ARGGHHHHHH!!!!

2017-04-27 Thread eryk sun
On Thu, Apr 27, 2017 at 8:55 PM, CFK wrote: > > I'm still working on fixing the battle of the garbage collectors, but as a > part of that work I've realized that it would be handy for me to subclass > various ctypes like so: > > """ > from ctypes import * > class

Unable to subclass ctypes.c_uint64: was: Re: Battle of the garbage collectors, or ARGGHHHHHH!!!!

2017-04-27 Thread CFK
On Wed, Apr 26, 2017 at 10:38 PM, Cem Karan wrote: > > On Apr 24, 2017, at 8:54 PM, Jon Ribbens > wrote: > > > On 2017-04-24, CFK wrote: > >> Long version: I'm trying to write bindings for python via ctypes to > control > >> a

Re: Battle of the garbage collectors, or ARGGHHHHHH!!!!

2017-04-26 Thread Cem Karan
On Apr 24, 2017, at 8:54 PM, Jon Ribbens wrote: > On 2017-04-24, CFK wrote: >> Long version: I'm trying to write bindings for python via ctypes to control >> a library written in C that uses the bdwgc garbage collector ( >>

Re: Battle of the garbage collectors, or ARGGHHHHHH!!!!

2017-04-25 Thread Cem Karan
On Apr 24, 2017, at 8:54 PM, Jon Ribbens wrote: > On 2017-04-24, CFK wrote: >> Long version: I'm trying to write bindings for python via ctypes to control >> a library written in C that uses the bdwgc garbage collector ( >>

Re: Battle of the garbage collectors, or ARGGHHHHHH!!!!

2017-04-24 Thread Jon Ribbens
On 2017-04-24, CFK wrote: > Long version: I'm trying to write bindings for python via ctypes to control > a library written in C that uses the bdwgc garbage collector ( > http://www.hboehm.info/gc/). The bindings mostly work, except for when > either bdwgc or python's garbage

Re: Battle of the garbage collectors, or ARGGHHHHHH!!!!

2017-04-24 Thread Cem Karan
On Apr 24, 2017, at 6:59 PM, Terry Reedy wrote: > On 4/24/2017 6:24 PM, CFK wrote: >> TLDR version: the bdwgc garbage collector (http://www.hboehm.info/gc/) and >> python's collector are not playing nice with one another, and I need to >> make them work with each other. >>

Re: Battle of the garbage collectors, or ARGGHHHHHH!!!!

2017-04-24 Thread Terry Reedy
On 4/24/2017 6:24 PM, CFK wrote: TLDR version: the bdwgc garbage collector (http://www.hboehm.info/gc/) and python's collector are not playing nice with one another, and I need to make them work with each other. Long version: I'm trying to write bindings for python via ctypes to control a

Battle of the garbage collectors, or ARGGHHHHHH!!!!

2017-04-24 Thread CFK
TLDR version: the bdwgc garbage collector (http://www.hboehm.info/gc/) and python's collector are not playing nice with one another, and I need to make them work with each other. Long version: I'm trying to write bindings for python via ctypes to control a library written in C that uses the bdwgc