Skip to content

Change select() stub to accept iterables, not just sequences#3382

Merged
srittau merged 1 commit intopython:masterfrom
jstasiak:select-iterables
Oct 17, 2019
Merged

Change select() stub to accept iterables, not just sequences#3382
srittau merged 1 commit intopython:masterfrom
jstasiak:select-iterables

Conversation

@jstasiak
Copy link
Contributor

Arbitrary iterables work just fine.

Copy link
Collaborator

@srittau srittau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

select() uses PySequence_Fast, which works on iterables as well.

@srittau srittau merged commit fd7f106 into python:master Oct 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants