doted filenames in import statements

Christian Heimes lists at
Wed Jul 22 00:48:40 CEST 2009

Chris Rebert wrote:
> You want the imp.load_module() function:
> __import__() only operates on module/package names. I'm not sure how
> you even got it to work with a filename...

It used to work with filenames but it was a bug. I guess several people
are swearing curses on me for removing this 'feature'. *g*


More information about the Python-list mailing list