logging problems

Michael Hoffman cam.ac.uk at mh391.invalid
Thu Apr 28 20:31:10 EDT 2005


Simon Dahlbacka wrote:

> print sys.modules["traceback"]
> import traceback
> print "Hello World"
> sys.stdout.flush()
> 
> just renders: <module 'traceback' from 'C:\Python23\lib\traceback.pyc'> in the
> console, and no "Hello World"

Works fine on Python 2.4 for Windows.

> I'm running out of ideas what to try next, so suggestions/ideas appreciated!

That's a very strange failure condition. Perhaps something is wrong with your
Python installation. Have you edited any other system modules besides logging?

I would try a clean installation of the newest version and see if that fixes
it.
-- 
Michael Hoffman



More information about the Python-list mailing list