Message1937
Philip pointed me to StdoutWrapper and after playing with it a little bit I was able to come up with a simple patch (attached) that makes the original example pass. I run dist/Lib/test/regrtest.py on 2.2 maint branch both w/ and w/o the patch and got same failures so it doesn't break everything.
I have to confess that I don't really know the code in StdoutWrapper nor the code using it so I may very well be missing something totally obvious. The patch is rather ugly (catching Throwable is probably not the best idea) and should be taken as a prototype at this phase.
File Added: unic.patch |
|
Date |
User |
Action |
Args |
2008-02-20 17:18:03 | admin | link | issue1802339 messages |
2008-02-20 17:18:03 | admin | create | |
|