Message188670
Python remembers SWIG types because SWIG generates code like this:
PyTypeObject * SwigPyObject_TypeOnce(void) {
static PyTypeObject swigpyobject_type;
static int type_init = 0;
if (!type_init) {
// ... initialization code ...
swigpyobject_type = tmp;
type_init = 1;
if (PyType_Ready(&swigpyobject_type) < 0)
return NULL;
}
}
SWIG should reset "type_init" on a fresh interpreter.
The initXxx() function should do this. |
|
Date |
User |
Action |
Args |
2013-05-07 15:54:16 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, pitrou, benjamin.peterson, dabeaz, jsafrane |
2013-05-07 15:54:16 | amaury.forgeotdarc | set | messageid: <1367942056.28.0.645884795017.issue17922@psf.upfronthosting.co.za> |
2013-05-07 15:54:16 | amaury.forgeotdarc | link | issue17922 messages |
2013-05-07 15:54:16 | amaury.forgeotdarc | create | |
|