Clearing globals in CPython

Chris Angelico rosuav at gmail.com
Mon Oct 6 11:30:30 CEST 2014


On Mon, Oct 6, 2014 at 8:08 PM, Steven D'Aprano <steve at pearwood.info> wrote:
> On Mon, 06 Oct 2014 09:05:17 +0000, jakubo wrote:
>
>> After invoking autocompletion (.__ and hitting tab), session has been
>> automagically healed.
>
>
> That's ... um ...
>
> I have no words.
>
>
> Can you confirm that autocompletion modifies globals()? I don't have 3.4
> installed here.

I can confirm that the trick does work. That's... extremely weird.

ChrisA



More information about the Python-list mailing list