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 nicm
Recipients neologix, nicm, rpointel, vstinner
Date 2011-05-27.07:58:51
SpamBayes Score 0.00028299174
Marked as misclassified No
Message-id <1306483132.61.0.41026308475.issue12181@psf.upfronthosting.co.za>
In-reply-to
Content
Hi

The second one is correct - OpenBSD -current has this in event.h:

struct kevent {
        u_int           ident;          /* identifier for this event */
        short           filter;         /* filter for event */
        u_short         flags;
        u_int           fflags;
        int             data;
        void            *udata;         /* opaque user data identifier */
};

It's been like that since r1.1 so probably the 3.8 man page was wrong.

I don't know that backwards compatibility would be the main concern here, more what is the justification for changing. It does make sense to have ident wide enough to store a pointer so it would be better as a long, but making filter and flags into uint32_t seems unnecessary and I think udata is fine as a void*.
History
Date User Action Args
2011-05-27 07:58:52nicmsetrecipients: + nicm, vstinner, neologix, rpointel
2011-05-27 07:58:52nicmsetmessageid: <1306483132.61.0.41026308475.issue12181@psf.upfronthosting.co.za>
2011-05-27 07:58:52nicmlinkissue12181 messages
2011-05-27 07:58:51nicmcreate