summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>1998-08-18 19:38:54 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>1998-08-18 19:38:54 (GMT)
commit42db27fedc6d1e1600eeb6fa68e7925890350255 (patch)
treee353722c6db8464ac3f93f7ca6cad552baa5b777 /Mac
parentce4ba897be5e4fc116f7cf805f38dec48cd5cfea (diff)
downloadcpython-42db27fedc6d1e1600eeb6fa68e7925890350255.zip
cpython-42db27fedc6d1e1600eeb6fa68e7925890350255.tar.gz
cpython-42db27fedc6d1e1600eeb6fa68e7925890350255.tar.bz2
Added an example that uses signal.alarm() to time out an os.open() that
takes too long. This example relies on the fact that raising an exception in a signal handler causes the exception to be re-raised when the main line of the program resumes execution. Is this guaranteed in CPython, or is this something that just happens to work by accident? Also fixed a typo.
Diffstat (limited to 'Mac')
0 files changed, 0 insertions, 0 deletions