From: Benjamin Peterson Date: Mon, 19 Jan 2009 15:42:23 +0000 (+0000) Subject: add a note about the ftruncate change X-Git-Tag: v2.7a1~2250 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=596d30695082ee9798f3ad9974b306687cd757bd;p=python add a note about the ftruncate change --- diff --git a/Misc/NEWS b/Misc/NEWS index 8ef9cefbea..c7be9e05ed 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.