> To further elaborate, the main obstacle is with extension modules. > Most of them create roots and there is no defined API for the Python > interpreter to find them.
That is a problem, but furthermore, I feel that local variables stored in stack frames of threads are even more difficult to integrate. For the extension-module globals, some sort of registration could be done (and PEP 3121 provides an infrastructure for that). For stack frames, such a registration is difficult to make efficient. Regards, Martin _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com