Skip to content

bpo-43918: document signature and default argument of anext builtin #25551

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

Merged
merged 4 commits into from
Jun 22, 2021

Conversation

eriknw
Copy link
Contributor

@eriknw eriknw commented Apr 23, 2021

As described at https://bugs.python.org/issue43918, the new anext builtin doesn't include any signature information. help(anext) should show something like anext(aiterator[, default]), which is added in this PR.

I also added text describing the default argument as I understand it. This text was adapted from next. See the description in the documentation here: https://github.com/python/cpython/pull/23847/files#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439R87

I ran the clinic on " Python/bltinmodule.c".

Alright, now I need to figure out how to add a blurb...

https://bugs.python.org/issue43918

@terryjreedy terryjreedy requested a review from gvanrossum April 25, 2021 00:55
eriknw and others added 2 commits April 27, 2021 13:37
Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
@github-actions
Copy link

github-actions bot commented Jun 3, 2021

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Jun 3, 2021
@eriknw
Copy link
Contributor Author

eriknw commented Jun 3, 2021

The test failure seemed intermittent and unrelated. How do we rerun the tests?

Other than the failed checks, this should be ready to merge, right?

@gvanrossum
Copy link
Member

Close and reopen the PR.

@eriknw eriknw closed this Jun 3, 2021
@eriknw eriknw reopened this Jun 3, 2021
@github-actions github-actions bot removed the stale Stale PR or inactive for long period of time. label Jun 4, 2021
@eriknw
Copy link
Contributor Author

eriknw commented Jun 4, 2021

👍 Restarted and tests now pass.

There are two workflows awaiting approval before they can run.

@gvanrossum
Copy link
Member

Sorry for the slow response! I will land once tests fail.

@gvanrossum
Copy link
Member

s/fail/pass/ :-)

@gvanrossum
Copy link
Member

How long has that address sanitizer CI run been hanging? Is it perhaps time to restart the tests again (via close + reopen PR)?

@gvanrossum gvanrossum closed this Jun 22, 2021
@gvanrossum gvanrossum reopened this Jun 22, 2021
@gvanrossum gvanrossum merged commit 6af4e6b into python:main Jun 22, 2021
@bedevere-bot
Copy link

@gvanrossum: Please replace # with GH- in the commit message next time. Thanks!

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.

5 participants