summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-08-03 17:58:55 (GMT)
committerFred Drake <fdrake@acm.org>2004-08-03 17:58:55 (GMT)
commitf901abdd62c9067f993b85392dbb73a560af6325 (patch)
tree70cedeab8d5d6b1999a7bfcbd1bb0045c9aa0b90 /Misc
parentd04573fef0346ee9a131e0c63d18ab9fbd12ea63 (diff)
downloadcpython-f901abdd62c9067f993b85392dbb73a560af6325.zip
cpython-f901abdd62c9067f993b85392dbb73a560af6325.tar.gz
cpython-f901abdd62c9067f993b85392dbb73a560af6325.tar.bz2
allow ctime(), gmtime(), and localtime() to take None as equivalent to an omitted arg
(closes SF bug #658254, patch #663482)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 2ea4cb1..11e224b 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -72,6 +72,11 @@ Extension modules
Library
-------
+- The following methods in time support passing of None: ctime(), gmtime(),
+ and localtime(). If None is provided, the current time is used (the
+ same as when the argument is omitted).
+ [SF bug 658254, patch 663482]
+
- nntplib does now allow to ignore a .netrc file.
- urllib2 now recognizes Basic authentication even if other authentication