| Age | Commit message (Collapse) | Author | 
|---|
|  |  | 
|  | Useful for embedded targets with fixed stack layout. | 
|  | I.e. in this mode, C stack will never be used to call a Python function,
but if there's no free heap for a call, it will be reported as
RuntimeError (as expected), not MemoryError. | 
|  | So corresponding exception can be thrown even under tight memory conditions. | 
|  | This patch consolidates all global variables in py/ core into one place,
in a global structure.  Root pointers are all located together to make
GC tracing easier and more efficient. | 
|  | Addresses issue #1022. | 
|  |  | 
|  | Part of code cleanup, working towards resolving issue #50. | 
|  |  | 
|  | Such mechanism is important to get stable Python functioning, because Python
function calling is handled with C stack. The idea is to sprinkle
STACK_CHECK() calls in places where there can be C recursion.
TODO: Add more STACK_CHECK()'s. |