Message139097
Well, sys.stdout and sys.stderr don't have to be real file objects. You could substitute a file-like object (one that implements the methods that get called during the interpretation loop) that does your multiplexing. That kind of trick is one of the things that makes Python so much fun to work with :) |
|
Date |
User |
Action |
Args |
2011-06-25 16:23:21 | r.david.murray | set | recipients:
+ r.david.murray, tebeka, santoso.wijaya, docs@python |
2011-06-25 16:23:21 | r.david.murray | set | messageid: <1309019001.11.0.366260847336.issue12403@psf.upfronthosting.co.za> |
2011-06-25 16:23:20 | r.david.murray | link | issue12403 messages |
2011-06-25 16:23:20 | r.david.murray | create | |
|