Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: >The patch is OK, even if the second half is not necessary: >PyType_Ready() takes care of the ob_type field.
Oh, OK. >Adding brackets in the macro would be wrong: the object layout is >different between 2.6 and 3.0. I Undarstand. How about the attached patch? Added file: http://bugs.python.org/file11571/_fileio.patch _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3945> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com