This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients pakal, pitrou
Date 2010-01-16.21:48:52
SpamBayes Score 1.9274723e-06
Marked as misclassified No
Message-id <1263678534.47.0.761246379979.issue6939@psf.upfronthosting.co.za>
In-reply-to
Content
First, I get the following compilation warnings under Linux:
/home/antoine/cpython/26/Modules/_fileio.c: In function ‘fileio_truncate’:
/home/antoine/cpython/26/Modules/_fileio.c:651: attention : unused variable ‘tempposobj’
/home/antoine/cpython/26/Modules/_fileio.c:650: attention : unused variable ‘oldposobj’

The two variables should be declared at the beginning of the Windows-specific block instead.

Second, there's a test failure in test_io:

======================================================================
FAIL: test_large_file_ops (test.test_io.IOTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/antoine/cpython/26/Lib/test/test_io.py", line 221, in test_large_file_ops
    self.large_file_ops(f)
  File "/home/antoine/cpython/26/Lib/test/test_io.py", line 154, in large_file_ops
    self.assertEqual(f.tell(), self.LARGE + 1)
AssertionError: 2147483650L != 2147483649

----------------------------------------------------------------------
History
Date User Action Args
2010-01-16 21:48:54pitrousetrecipients: + pitrou, pakal
2010-01-16 21:48:54pitrousetmessageid: <1263678534.47.0.761246379979.issue6939@psf.upfronthosting.co.za>
2010-01-16 21:48:53pitroulinkissue6939 messages
2010-01-16 21:48:52pitroucreate