AttributeError: logging module bug ?
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Mon Dec 21 02:35:54 EST 2009
More information about the Python-list mailing list
Mon Dec 21 02:35:54 EST 2009
- Previous message (by thread): AttributeError: logging module bug ?
- Next message (by thread): AttributeError: logging module bug ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
En Sat, 19 Dec 2009 00:18:26 -0300, Peter <vmail at mycircuit.org> escribió: > This was somehow unexpected for me, since in a module using logger.py, I > could use either import: > > from mylogger import logger # without package name > > or > > from of.mylogger import logger # with package name > > but this does not seem to work for the class specification in the config > file (only the former works). Then you have a big problem with the Python search path (sys.path): you should *not* have two different (absolute) ways to refer to the same module, ever. If "of" is a package, it should not be listed in sys.path -- Gabriel Genellina
- Previous message (by thread): AttributeError: logging module bug ?
- Next message (by thread): AttributeError: logging module bug ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list