[Python-3000] Chaning the import machinery; was: Re: [Python-Dev] setuptools in 2.5.
Greg Ewing
greg.ewing at canterbury.ac.nz
Fri Apr 21 02:41:43 CEST 2006
Walter Dörwald wrote:
> import foo from url("file:~guido/python-packages/foo")
Hard-wiring pathnames, URLs etc. into one's code on a
regular basis would be an extremely BAD idea. The way
to do that is via configuration mechanisms external
to the program.
It might be useful to have the ability for use in very
specialised circumstances, such as loading plugins. But
it would be rarely used, and there shouldn't be any new
syntax for it, just a function.
--
Greg
More information about the Python-3000
mailing list