[issue9784] _msi.c warnings under 64-bit Windows

Martin v. Löwis report at bugs.python.org
Sun Sep 12 15:37:40 CEST 2010

Martin v. Löwis <martin at v.loewis.de> added the comment:

It's probably best to rewrite these functions in the way the SDK Example section works (i.e. CreateFile/ReadFile) instead of _open/_read (*). As Amaury says, the warnings are harmless: the file numbers will always be in range, as _open created them that way (in fact, they will most likely be below 20 or so).

(*) They must have changed the SDK docs over time; IIRC, I already copied the current text (using _open) from the SDK docs back then.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list