[Python-Dev] Removal of Win32 ANSI API

Hirokazu Yamamoto ocean-city at m2.ccsnet.ne.jp
Thu Nov 11 17:07:28 CET 2010


Hello. Is it possible to remove Win32 ANSI API (ie: GetFileAttributesA)
and only use Win32 WIDE API (ie: GetFileAttributesW)?
Mainly in posixmodule.c.
I think we can simplify the code hugely. (This means droping bytes
support for os.stat etc on windows)

# I recently did it for winsound.PlaySound with MvL's approval

Thank you.


More information about the Python-Dev mailing list