diff options
author | Guido van Rossum <guido@python.org> | 2002-06-07 12:40:52 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-06-07 12:40:52 (GMT) |
commit | 5033c8e309b378f8f1f8d3b16f7c7edb6aa5bf9a (patch) | |
tree | 2a3148a94062d8ffc6807b8a549a204407c3842b /Misc/NEWS | |
parent | 715b861d948b972587375f870adbb5a960d11ca7 (diff) | |
download | cpython-5033c8e309b378f8f1f8d3b16f7c7edb6aa5bf9a.zip cpython-5033c8e309b378f8f1f8d3b16f7c7edb6aa5bf9a.tar.gz cpython-5033c8e309b378f8f1f8d3b16f7c7edb6aa5bf9a.tar.bz2 |
Add timeout mode. Clarify gnu_getopt.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -130,7 +130,13 @@ Extension modules Library -- getopt.gnu_getopt was added. +- Sockets now support timeout mode. After s.settimeout(T), where T is + a float expressing seconds, subsequent operations raise an exception + if they cannot be completed within T seconds. To disable timeout + mode, use s.settimeout(None). + +- getopt.gnu_getopt was added. This supports GNU-style option + processing, where options can be mixed with non-option arguments. - Stop using strings for exceptions. String objects used for exceptions are now classes deriving from Exception. The objects |