summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-07-27 21:02:02 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-07-27 21:02:02 (GMT)
commit5cfb05eef04707679077a45ebbe2b096840261a0 (patch)
tree57bcd4e40f31a8b3a36bffee8931e6244006bec1 /Misc
parentfe393f47c662c307d2d3e90f785edf5821d54a8d (diff)
downloadcpython-5cfb05eef04707679077a45ebbe2b096840261a0.zip
cpython-5cfb05eef04707679077a45ebbe2b096840261a0.tar.gz
cpython-5cfb05eef04707679077a45ebbe2b096840261a0.tar.bz2
Added a new fileno() method. ZODB's repozo.py wants this so it can
apply os.fsync() to the GzipFile backup files it creates.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 289754d..0fb2559 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -46,6 +46,10 @@ Extension modules
Library
-------
+- gzip.GzipFile has a new fileno() method, to retrieve the handle of the
+ underlying file object (provided it has a fileno() method). This is
+ needed if you want to use os.fsync() on a GzipFile.
+
- imaplib has two new methods: deleteacl and myrights.
- nntplib has two new methods: description and descriptions. They