Message290002
The problem with existing static variables are that they are not properly cleared. When the Python interpreter is finalized and reinitialized they can contain invalid references. This patch fixes this issue.
> * It requires to write "var.obj" instead of just "var" to access the Python object
You can use a dynamic array of PyObject** instead of a linked list for collecting references to "static variables" or use gc_next/gc_refs for managing a linked list. |
|
Date |
User |
Action |
Args |
2017-03-22 17:16:49 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner, eric.snow |
2017-03-22 17:16:49 | serhiy.storchaka | set | messageid: <1490203009.58.0.867795444212.issue29881@psf.upfronthosting.co.za> |
2017-03-22 17:16:49 | serhiy.storchaka | link | issue29881 messages |
2017-03-22 17:16:49 | serhiy.storchaka | create | |
|