Message162645
@Ramchandra: "__name__" does not exist for many objects.
This issue with the sys.stdout.write encompasses a lot of other issues involving the shortcomings of the RPCProxy object. The following code prevents another prompt from appearing:
>>> class A:
pass
>>> import sys
>>> sys.stdout.write(A)
Even though "A" is pickleable, IDLE gets stuck trying to write to stdout. In run.py, Executive.runcode gets stuck on "exec(code, self.locals)", and is not interruptable. Restarting the shell makes the IDLE shell responsive again to commands. |
|
Date |
User |
Action |
Args |
2012-06-11 21:13:22 | roger.serwy | set | recipients:
+ roger.serwy, loewis, terry.reedy, orsenthil, Ramchandra Apte |
2012-06-11 21:13:22 | roger.serwy | set | messageid: <1339449202.12.0.940074276304.issue13532@psf.upfronthosting.co.za> |
2012-06-11 21:13:21 | roger.serwy | link | issue13532 messages |
2012-06-11 21:13:20 | roger.serwy | create | |
|