[Python-Dev] __file__

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Feb 26 00:56:26 CET 2010


Barry Warsaw wrote:

> We discussed this at Pycon and agreed that we will not support source-less
> deployments by default.  The source file must exist or it will be an
> ImportError.
> 
> This does not mean source-less deployments are not possible though.  To
> support this use case, you'd have to write a custom import hook.

What????

I don't like this idea at all. I object to being forced to
jump through an obscure hoop to do something that's been
totally straightforward until now.

-- 
Greg


More information about the Python-Dev mailing list