Message38868
| Author |
loewis |
| Recipients |
| Date |
2002年10月08日.09:27:00 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
Logged In: YES
user_id=21627
I think you should implement a strategy to detect changes to
sys.stdin dynamically. For example, the old sys.stdin could
go away, closing the file, which would leave readline with a
garbage pointer.
Instead, I think you should hold onto sys.stdin, and compare
this reference from time to time with the current sys.stdin,
and arrange to reinitialize readline (if possible). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 15:10:51 | admin | link | issue512981 messages |
| 2007年08月23日 15:10:51 | admin | create |
|