Clearing globals in CPython
Stefan Behnel
stefan_ml at behnel.de
Fri Oct 3 01:26:20 EDT 2014
Chris Angelico schrieb am 02.10.2014 um 16:12:
> On Fri, Oct 3, 2014 at 12:07 AM, Grant Edwards wrote:
>> On 2014-10-01, Steven D'Aprano wrote:
>>
>>> Obviously the easiest way to recover is to exit the current session and
>>> restart it, but as a challenge, can we recover from this state?
>>
>> Python apparently _does_ need a "restart command".
>
> Apparently not... you saw how easily Peter recovered :)
Right. All we need is a builtin function for that recovery code.
Stefan
More information about the Python-list
mailing list