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.

classification
Title: struni: _fileio fixes for Windows
Type: Stage:
Components: Interpreter Core Versions: Python 3.0
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: theller Nosy List: amaury.forgeotdarc, theller
Priority: normal Keywords: patch

Created on 2007-07-11 20:56 by amaury.forgeotdarc, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
fileio-1.diff amaury.forgeotdarc, 2007-07-11 20:56 Support for unicode filenames on Windows
fileio-2.diff amaury.forgeotdarc, 2007-07-11 20:58 ftruncate() replacement on Windows
Messages (3)
msg52851 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2007-07-11 20:56
Theses patches correct two problems in the _fileio module on Windows:
- fileio-1.diff: Support for wide filenames: we use _wopen() with a unicode string.
- fileio-2.diff: Replaces ftruncate with Win32 API functions. Code borrowed from fileobject.c
msg52852 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2007-07-11 20:58
File Added: fileio-2.diff
msg52853 - (view) Author: Thomas Heller (theller) * (Python committer) Date: 2007-07-12 11:29
Commited both changes.  Thanks for the great work.
History
Date User Action Args
2022-04-11 14:56:25adminsetgithub: 45178
2008-01-06 22:29:45adminsetkeywords: - py3k
versions: + Python 3.0
2007-07-11 20:56:45amaury.forgeotdarccreate