[Python-checkins] python/dist/src/Misc NEWS,1.337.2.4.2.75,1.337.2.4.2.76
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
2003年4月30日 12:25:02 -0700
Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1:/tmp/cvs-serv4120/Misc
Modified Files:
Tag: release22-maint
NEWS
Log Message:
file_truncate(): Backported 2.3 code so that file.truncate(n) works on
Windows when n is too big to fit in a 32-bit int. This was a hole in
2.2's large file support on Windows, and turns out it's a bad hole at
least for ZODB.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.337.2.4.2.75
retrieving revision 1.337.2.4.2.76
diff -C2 -d -r1.337.2.4.2.75 -r1.337.2.4.2.76
*** NEWS 25 Apr 2003 05:40:31 -0000 1.337.2.4.2.75
--- NEWS 30 Apr 2003 19:24:59 -0000 1.337.2.4.2.76
***************
*** 3,6 ****
--- 3,10 ----
============================
+ - Windows: file.truncate(size) failed on large files when size didn't
+ fit in 32 bits. This was fixed by backporting new Windows truncation
+ code and tests from 2.3.
+
- It is no longer possible to use object.__setattr__ to circumvent the
restrictions on setting attributes of type objects.