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, pklanke, vstinner, yselivanov
Date 2017-07-04.15:02:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1499180550.64.0.35465280866.issue30844@psf.upfronthosting.co.za>
In-reply-to
Content
> To be able to use GPIO Sysfs Interface on our embedded platforms we require exceptional event support.

Antoine Pitrou noticed that "exception" term can be confusion in Python, since exceptions are like "raise ValueError(...)".

The manual page mentions "out-of-band (OOB) data".

http://man7.org/linux/man-pages/man2/select_tut.2.html

       exceptfds
              This set is watched for "exceptional conditions".  In
              practice, only one such exceptional condition is common: the
              availability of out-of-band (OOB) data for reading from a TCP
              socket.  See recv(2), send(2), and tcp(7) for more details
              about OOB data.  (One other less common case where select(2)
              indicates an exceptional condition occurs with pseudoterminals
              in packet mode; see ioctl_tty(2).)  After select() has
              returned, exceptfds will be cleared of all file descriptors
              except for those for which an exceptional condition has
              occurred.

Is it what you need for a GPIO? GPIO is unrelated to TCP, right?
History
Date User Action Args
2017-07-04 15:02:30vstinnersetrecipients: + vstinner, neologix, yselivanov, pklanke
2017-07-04 15:02:30vstinnersetmessageid: <1499180550.64.0.35465280866.issue30844@psf.upfronthosting.co.za>
2017-07-04 15:02:30vstinnerlinkissue30844 messages
2017-07-04 15:02:30vstinnercreate