[Python-3000] [Python-Dev] Need help fixing failing Py3k Unittests in py3k-struni

Amaury Forgeot d'Arc amauryfa at gmail.com
Wed Jul 11 14:27:35 CEST 2007


Thomas Heller wrote:
> I would love to look into these, but I prefer debugging on Windows.
> However, the windows build does not work because the _fileio builtin
> module is missing from config.c.  Again, this is not so easy to fix,
> because the ftruncate function does not exist on Windows.

In fileobject.c, there is a replacement for ftruncate. See the code
around the call to SetEndOfFile().

I'll try to provide a patch later today.

-- 
Amaury Forgeot d'Arc


More information about the Python-3000 mailing list