[Python-Dev] import problems (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Sat Nov 29 07:57:22 CET 2008
- Previous message: [Python-Dev] __import__ problems
- Next message: [Python-Dev] socket.c, _rbufsize
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Mart Somermaa wrote:
But it is not. The proposed import(name, submodule=True) has a compatible interface.
Actually, it's not. Keep in mind that import isn't a particular function, it's a defined interface to a family of functions. If that interface is extended, any replacement import functions will be required to conform to the new interface, and existing ones will no longer be valid.
-- Greg
- Previous message: [Python-Dev] __import__ problems
- Next message: [Python-Dev] socket.c, _rbufsize
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]