[Pythonmac-SIG] Is this a bug?

Stefan Petrucha petrucha@isnet.sk
Mon, 17 Feb 2003 19:00:41 +0100


MacPython 2.2.2:

Documentation on module sys says that sys.stdout and/or sys.stderr can
be any object having method write() taking one string argument. But
test.regrtest.main() traces back executing sys.stdout.flush().
(Background: Python is embedded into another application and sys.std*
are redirected.)

If I remember good MacPython 2.2.1 had no such problem.

Can this be considered as a bug? When yes: is it a documentation or
test.regrtest bug? Should I log it somewhere (of course by checking
first nobody did it already)?

Stefan Petrucha