reassign to builtin possible !?

Jeroen Ruigrok van der Werven asmodai at in-nomine.org
Thu Jan 3 08:58:19 EST 2008


-On [20080103 14:47], Bernhard Merkle (bernhard.merkle at googlemail.com) wrote:
>Are you sure ? what about the following example ?
>Is this also shadowing ?

It is, as it is local to your current executing interpreter. Any other Python
process that is currently running is unaffected by your shadowing. So as Diez
says, you are not tampering with it on a persistent global level.

-- 
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
Any fool can make a rule. And every fool will mind it...



More information about the Python-list mailing list