|
From: Samuele P. <pe...@in...> - 2001-03-09 20:10:07
|
Hi. What is still missing for a complete nested scopes support? * activation for the entire interactive session from an interactive prompt (mostly already there) * module settings should influence exec, execfile and compile in module (at the moment that's missing from CPython too) * pdb p command cannot access values in variables shared between nested scopes, that's also a CPython problem. * jythonc support for them * CPython 2.1 introduces a symtable module that give access to the scope info about variables, for the moment the interface is experimental and related to the actual internals, I don't know if it is worth to support (?) I have found a small difference in how assert was already implemented in jython and CPython: this code does not raise an AssertionError under jython: def f(): __debug__=0 assert 1!=0 f() CPython impl for assert check only the value for the global/builtin __debug__ setting, there this code raise such an exc. Should this be changed to match CPython? regards, Samuele Pedroni |