[Python-Dev] __file__

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Feb 28 01:36:44 CET 2010


Guido van Rossum wrote:

> Their users are apparently too dumb to decode bytecode but smart
> enough to read source code, even if they don't understand it, and this
> knowledge could hurt them.

I think it's like putting a lock on your door. It won't
stop anyone who's determined to get in, but it makes it
hard for them to argue in court that they wandered in
accidentally.

Also it may make it easier to get the idea of using
Python past PHBs. That seems to me like a good reason
for keeping the feature.

-- 
Greg



More information about the Python-Dev mailing list