Skip to content

fix: resolve numpydoc StopIteration error for async functions - #675

Merged
larsoner merged 2 commits into
numpy:mainfrom
LinyanZhang:bugfix/issue511-numpydoc-async-support
Apr 23, 2026
Merged

fix: resolve numpydoc StopIteration error for async functions#675
larsoner merged 2 commits into
numpy:mainfrom
LinyanZhang:bugfix/issue511-numpydoc-async-support

Conversation

@LinyanZhang

Copy link
Copy Markdown
Contributor

No description provided.

@larsoner

Copy link
Copy Markdown
Collaborator

Does this fix #511? Can you add a test that fails on main but passes on this PR?

@LinyanZhang
LinyanZhang force-pushed the bugfix/issue511-numpydoc-async-support branch from 63ba4f8 to d8d1ddb Compare April 23, 2026 02:34
@LinyanZhang

Copy link
Copy Markdown
Contributor Author

Sorry for the late response! Yes, this fixes #511. I've added a test case (test_async) to DecoratorClass in test_validate.py that fails on main but passes on this PR.

@larsoner larsoner left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good, marking for merge-when-green, thanks in advance @LinyanZhang !

@larsoner
larsoner enabled auto-merge (squash) April 23, 2026 14:53
@larsoner
larsoner merged commit 6101eb3 into numpy:main Apr 23, 2026
24 of 25 checks passed
@stefanv stefanv added this to the 1.10.0 milestone Apr 23, 2026
@jarrodmillman jarrodmillman modified the milestones: 1.10.0, 1.11.0 Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants