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
Martin v. Löwis wrote:
For stack frames,
such a registration is difficult to make efficient.
Also very error-prone if you happen to miss one. Although
maybe no more error-prone than getting the reference
counting right.
--
Greg
___
Python-Dev mailing