Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove 3.8 compat for executors; update ruff and cleanup #283

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

skshetry
Copy link
Member

No description provided.

yield oid
count += 1
if count > limit:
if i > limit:
Copy link
Member Author

Choose a reason for hiding this comment

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

This probably should be

Suggested change
if i > limit:
if i >= limit:

_oids_with_limit has off-by-one, as it returns limit + 1 oids. I am hesitant to change this behavior, so leaving it as is.

@skshetry skshetry merged commit 2448fd1 into main Feb 28, 2024
14 checks passed
@skshetry skshetry deleted the executors-3.9 branch February 28, 2024 07:46
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.

1 participant