Search:
Help/Guide
About Trac
Preferences
Wiki
Timeline
Roadmap
Browse Source
View Tickets
Search
Context Navigation
←
Previous Change
Wiki History
Next Change
→
Changes between
Version 5
and
Version 6
of
Python
View differences
inline
side by side
Show
lines around each change
Show the changes in full context
Ignore:
Blank lines
Case changes
White space changes
Timestamp:
06/16/06 09:35:22 (
18 years
ago)
Author:
atzm
Comment:
--
Legend:
Unmodified
Added
Removed
Modified
Python
v5
v6
58
58
1, 2, 3.3, None, False, __main__.Hoge
59
59
}}}
60
61
== raw_input 中に SIGALRM 出すと EOFError ==
62
{{{
63
#!python
64
import signal
65
signal.signal(signal.SIGALRM, lambda *a: None)
66
signal.alarm(5)
67
raw_input()
68
}}}
69
70
* 5 秒待つと EOFError.
71
* 何とか回避できんもんかなぁ.