Threads with independant IO streams

Will Stuyvesant hwlgw at hotmail.com
Thu Mar 13 19:12:52 EST 2003


[Alex Martelli]
> [Tim Peters]
> > The print statement passes the object to be printed to sys.displayhook()
> > for display.  You could try supplying your own displayhook function.
> 
> The print statement does not use sys.displayhook in any Python version
> I've seen -- sys.displayhook is used by the interactive interpreter to
> display the values returned by expression-statements.  So, is somebody
> spoofing the timbot, or am I in a dangerously low blood-sugar condition?

Not spoofing but abusing the C mode.  The timbot is spending most of
its time programming in C, not in Python.  The Python part is usually
only just checking things with the interactive interpreter.  And we
are thankful for the C mode.  Unfortunately.




More information about the Python-list mailing list