summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-07-23 03:32:08 (GMT)
committerGuido van Rossum <guido@python.org>2002-07-23 03:32:08 (GMT)
commit79f0a106e69db8d0e913fa266c9ff6e3366c2828 (patch)
tree8424286a45a58d1395b902e030a074a92cc16532 /Misc
parent58b63bf4e3e8ef082126c3687edd2cf75226303d (diff)
downloadcpython-79f0a106e69db8d0e913fa266c9ff6e3366c2828.zip
cpython-79f0a106e69db8d0e913fa266c9ff6e3366c2828.tar.gz
cpython-79f0a106e69db8d0e913fa266c9ff6e3366c2828.tar.bz2
Add news about strptime and socket.setdefaulttimeout().
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS7
1 files changed, 6 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 95fad62..0a1ce88 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -143,6 +143,9 @@ Core and builtins
Extension modules
+- The strptime function in the time module is now always available (a
+ Python implementation is used when the C library doesn't define it).
+
- The 'new' module is no longer an extension, but a Python module that
only exists for backwards compatibility. Its contents are no longer
functions but callable type objects.
@@ -197,7 +200,9 @@ Library
- 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).
+ mode, use s.settimeout(None). There's also a module function,
+ socket.setdefaulttimeout(T), which sets the default for all sockets
+ created henceforth.
- getopt.gnu_getopt was added. This supports GNU-style option
processing, where options can be mixed with non-option arguments.