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 -- http://mail.python.org/mailman/listinfo/python-list