Clearing globals in CPython

Chris Angelico rosuav at gmail.com
Thu Oct 2 16:12:49 CEST 2014


On Fri, Oct 3, 2014 at 12:07 AM, Grant Edwards <invalid at invalid.invalid> wrote:
> On 2014-10-01, Steven D'Aprano <steve+comp.lang.python at pearwood.info> 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 :)

ChrisA



More information about the Python-list mailing list