]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add news about strptime and socket.setdefaulttimeout().
authorGuido van Rossum <guido@python.org>
Tue, 23 Jul 2002 03:32:08 +0000 (03:32 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 23 Jul 2002 03:32:08 +0000 (03:32 +0000)
Misc/NEWS

index 95fad62ab6d713b334b0b7fa40ceb77b2b4afc7a..0a1ce88e11ba680e1f1550e7e10249291da0d8ab 100644 (file)
--- 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.