From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> On Wed, 11 Dec 2024 09:28:11 +0100, Bartosz Golaszewski wrote: > Certain polling APIs in the standard library - most notably: the > select() function and the poll class - allow to poll any object that > implements the fileno() method returning the underlying file descriptor > number. > > Implement fileno() for Chip and LineRequest which allows users to do: > > [...] Applied, thanks! [1/1] bindings: python: provide fileno() for Chip and LineRequest commit: 38adbae195555fae2b9d9e2a37c9507af1114757 Best regards, -- Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>