Skip to content

add stubs for ijson#13462

Draft
DinhHuy2010 wants to merge 15 commits into
python:mainfrom
DinhHuy2010:ijson-stubs
Draft

add stubs for ijson#13462
DinhHuy2010 wants to merge 15 commits into
python:mainfrom
DinhHuy2010:ijson-stubs

Conversation

@DinhHuy2010

Copy link
Copy Markdown
Contributor

add stubs for ijson.

(disclaimer: I did not run the tests, yet.)

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@srittau srittau 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.

Thanks! The only thing I noticed is that we now require each instance of Any to be commented with the possible types that could be used for Any.

@DinhHuy2010

Copy link
Copy Markdown
Contributor Author

Thanks! The only thing I noticed is that we now require each instance of Any to be commented with the possible types that could be used for Any.

Where is "Any" here?

@srittau

srittau commented Feb 28, 2025

Copy link
Copy Markdown
Collaborator

Several files use Any. If you are unsure about the types, you can replace Any with Incomplete (from _typeshed) for now.

@github-actions

This comment has been minimized.

@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@brianschubert

Copy link
Copy Markdown
Collaborator

Marking this as a draft since CI isn't passing and there are now conflicts

@brianschubert brianschubert marked this pull request as draft March 14, 2026 19:58
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.

3 participants