summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS12
1 files changed, 11 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 6d6c659..257546d 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -48,7 +48,17 @@ Extension modules
- readline now supports setting the startup_hook and the pre_event_hook.
-- posix supports chroot and setgroups where available.
+- os and posix supports chroot() and setgroups() where available. The
+ stat(), fstat(), statvfs() and fstatvfs() functions now return
+ "pseudo-sequences" -- the various fields can now be accessed as
+ attributes (e.g. os.stat("/").st_mtime) but for backwards
+ compatibility they also behave as a fixed-length sequence. Some
+ platform-specific fields (e.g. st_rdev) are only accessible as
+ attributes.
+
+- time: localtime(), gmtime() and strptime() now return a
+ pseudo-sequence similar to the os.stat() return value, with
+ attributes like tm_year etc.
- Decompression objects in the zlib module now accept an optional
second parameter to decompress() that specifies the maximum amount