logging module missing in 2.3a1

Erik Max Francis max at alcyone.com
Wed Jan 22 21:24:17 EST 2003


Janto Dreijer wrote:

> Python 2.3a1 (#38, Dec 31 2002, 17:53:59) [MSC v.1200 32 bit (Intel)]
> on win32
> Type "copyright", "credits" or "license" for more information.
> IDLE 0.8 -- press F1 for help
> >>> import logging
> Traceback (most recent call last):
>   File "<pyshell#0>", line 1, in ?
>     import logging
> ImportError: No module named logging
> >>>
> 
> Eh? Is there something I'm missing?
> Or is the actual code a bit behind wrt the documentation?

I built 2.3a1 myself on Linux, and I have it:

Python 2.3a1 (#1, Jan 19 2003, 23:30:47) 
[GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import logging
>>> logging
<module 'logging' from '/usr/local/lib/python2.3/logging/__init__.pyc'>

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ We're looking for a custom fit in an off-the-rack world.
\__/ Capt. Benjamin "Hawkeye" Pierce
    PyUID / http://www.alcyone.com/pyos/uid/
 A module for generating "unique" IDs in Python.




More information about the Python-list mailing list