summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-01-19 15:42:23 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-01-19 15:42:23 (GMT)
commit596d30695082ee9798f3ad9974b306687cd757bd (patch)
tree8349a7d0a9cbdc643e99fcf4ed77e506f092a928
parent9a5b2ad38d605206f05a52fe32868d3f839e8a86 (diff)
downloadcpython-596d30695082ee9798f3ad9974b306687cd757bd.zip
cpython-596d30695082ee9798f3ad9974b306687cd757bd.tar.gz
cpython-596d30695082ee9798f3ad9974b306687cd757bd.tar.bz2
add a note about the ftruncate change
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 8ef9cef..c7be9e0 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ What's New in Python 2.7 alpha 1
Core and Builtins
-----------------
+- os.ftruncate raises OSErrors instead of IOErrors for consistency with other os
+ functions.
+
- Issue #4991: Passing invalid file descriptors to io.FileIO now raises an
OSError.