Message192104
Yes I have a Mac and I am glad to help, so I gave it a test run tonight. The first thing I did was apply the patch then I ran idle from the console like so:
./python.exe Lib/idlelib/idle.py
For testing I used a simple print command to print to stderr:
sys.stderr.write("spam/n")
which I got the output of
spam/n6
I also tried to use the newer print function:
print("fatal error", file=sys.stderr)
Python 3.4 on the Mac behaved exactly the same way with or without the patch. I got the stderr output in the Python shell and nothing appeared in the console. With the patch applied I saw no dialog box to capture the stderr output. Maybe I didn't perform the test correctly?
Another thing to consider is for Mac IDLE runs in a special mode via macosxSupport.py which I turn on by forcing runningAsOSXApp() to always return True. Even after setting runningAsOSXApp() to true a dialog box does not appear when writing to stderr.
Maybe I am not testing this patch correctly? Let me know if I can do anything else to help, thanks. |
|
Date |
User |
Action |
Args |
2013-07-01 03:23:05 | Todd.Rovito | set | recipients:
+ Todd.Rovito, terry.reedy, amaury.forgeotdarc, ned.deily, roger.serwy, asvetlov |
2013-07-01 03:23:05 | Todd.Rovito | set | messageid: <1372648985.46.0.0579860639137.issue13582@psf.upfronthosting.co.za> |
2013-07-01 03:23:05 | Todd.Rovito | link | issue13582 messages |
2013-07-01 03:23:05 | Todd.Rovito | create | |
|