From 596d30695082ee9798f3ad9974b306687cd757bd Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 19 Jan 2009 15:42:23 +0000 Subject: [PATCH] add a note about the ftruncate change --- Misc/NEWS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Misc/NEWS b/Misc/NEWS index 8ef9cefbeac..c7be9e05ed8 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.