[issue3945] compile error in _fileio.c (cygwin)

Amaury Forgeot d'Arc report at bugs.python.org
Tue Sep 23 17:10:15 CEST 2008


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

The patch is OK, even if the second half is not necessary:
PyType_Ready() takes care of the ob_type field.

Adding brackets in the macro would be wrong: the object layout is
different between 2.6 and 3.0.
3.0 does not have this problem because _fileio.c is built-in and linked
with the core interpreter (2.6 leaves it in an extension module).

----------
nosy: +amaury.forgeotdarc

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


More information about the Python-bugs-list mailing list