[Pythonmac-SIG] print to console window very slow

Jack Jansen jack@oratrix.nl
Thu, 14 Jun 2001 15:18:28 +0200


Recently, Christer =?iso-8859-1?Q?Fernstr=F6m?= <fernstrom@geocities.com> said:
> Printing to the console window is very slow, especially when the
> interpretor dumps out the execution stack after an exception. This takes
> more than a minute for the 15-20 lines! Anybody else having the same
> problem?

Strange... Is printing to the console always slow, or only in specific
cases? If it's only slow after a specific script crashes it could be
that the script sets sys.stdout to unbuffered, that will definitely
make output very slow.

If it's a general problem maybe you should give us a little more
information: Python version (including carbon/classic), OS version,
machine type, etc.
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm