summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2001-01-19 23:16:56 (GMT)
committerThomas Wouters <thomas@python.org>2001-01-19 23:16:56 (GMT)
commitfe385251f429dccddeb212f5ad02c026fe4a6550 (patch)
treec344f920bb8584040a5fed80bbcab3baefdedb40 /Misc/NEWS
parent5566c1ce36138bb3e91e0dac4d6694cfbb68f206 (diff)
downloadcpython-fe385251f429dccddeb212f5ad02c026fe4a6550.zip
cpython-fe385251f429dccddeb212f5ad02c026fe4a6550.tar.gz
cpython-fe385251f429dccddeb212f5ad02c026fe4a6550.tar.bz2
Make the 'time' argument to the timemodule functions strftime, asctime,
ctime, gmtime and localtime optional, defaulting to 'the current time' in all cases. Adjust docs, add news item. Also convert all argument-handling to METH_VARARGS. Closes SF patch #103265.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index f4f0a5c..5538611 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -169,6 +169,10 @@ Core language, builtins, and interpreter
Standard library
+- In the time module, the time argument to the functions strftime,
+ localtime, gmtime, asctime and ctime is now optional, defaulting to
+ the current time (in the local timezone).
+
- The ftplib module now defaults to passive mode, which is deemed a
more useful default given that clients are often inside firewalls
these days. Note that this could break if ftplib is used to connect