[issue21859] Add Python implementation of FileIO

Serhiy Storchaka report at bugs.python.org
Fri Apr 10 18:01:24 CEST 2015


Serhiy Storchaka added the comment:

There are test failures on Windows: http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/6073/steps/test/logs/stdio

1. ValueError is not raised if file name contains a null character.

2. os.ftruncate doesn't exist on Windows.

Here is a patch that adds explicit check for null character and skips tests with not implemented truncate.

----------
resolution: fixed -> 
stage: resolved -> patch review
status: closed -> open
Added file: http://bugs.python.org/file38889/pyio_fileio_fix.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21859>
_______________________________________


More information about the Python-bugs-list mailing list