Message136485
When importing ctypes after gc.set_debug(gc.DEBUG_LEAK), the garbage collector finds a 'c_int_Array_3' class and some related objects.
The class is created in ctypes/_endian.py:
_array_type = type(c_int * 3)
It seems that this could be avoided with:
_array_type = type(Array)
Of course, I realize this is not a bug because normally it will just get collected. It is just an extremely minor annoyance because this is currently the only thing still found by DEBUG_LEAK for my program ;) |
|
Date |
User |
Action |
Args |
2011-05-21 22:39:48 | poq | set | recipients:
+ poq |
2011-05-21 22:39:48 | poq | set | messageid: <1306017588.73.0.650837416325.issue12142@psf.upfronthosting.co.za> |
2011-05-21 22:39:48 | poq | link | issue12142 messages |
2011-05-21 22:39:47 | poq | create | |
|