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.

Author vstinner
Recipients neologix, nicm, rpointel, vstinner
Date 2011-05-27.08:52:14
SpamBayes Score 7.0840224e-06
Marked as misclassified No
Message-id <201105271052.09225.victor.stinner@haypocalc.com>
In-reply-to <1306482292.79.0.803028017827.issue12181@psf.upfronthosting.co.za>
Content
If there are only two versions of the structure on all operating systems, we 
can add a check in configure (e.g. test the size of the ident attribute, =int 
or >=void*?) to define a macro (e.g. HAVE_OPENBSD_KEVENT_STRUCT). You might be 
able to change the type of the fields in the Python structure at run time (in 
select module init), but I prefer to do it at compile time! Or you can add 
*checks* at runtime (at select init) on the size of the fields.
History
Date User Action Args
2011-05-27 08:52:15vstinnersetrecipients: + vstinner, nicm, neologix, rpointel
2011-05-27 08:52:15vstinnerlinkissue12181 messages
2011-05-27 08:52:14vstinnercreate