Classes are not members of their respective modules??

Greg Ewing see_reply_address at something.invalid
Tue Aug 20 06:51:25 CEST 2002


Robert Dickinson wrote:

> I inspected the __dict__ of the
> module; the classes are not there, either


That's strange, they certainly should be there (every name
accessible through module.name should be there, in fact).

Have you somehow got hold of an incompletely-constructed
module? That can happen if importation of a module fails
part way through.

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg




More information about the Python-list mailing list