Skip to content

Conversation

@ian-r-rose
Copy link

Tornado ships with quite nice inline annotations, and the stubs in this repository have fallen behind.

It seems they were already removed in #4321, restored for python 2-only in #4412, and now seem to have snuck back into general python2/3 usage. I think keeping these around creates more problems than they solve

@srittau
Copy link
Collaborator

srittau commented Apr 15, 2021

Cc @JukkaL

The stubs in typeshed are Python 2 only, though!

@JukkaL
Copy link
Contributor

JukkaL commented Apr 15, 2021

now seem to have snuck back into general python2/3 usage

These stubs are only used for Python 2 (metadata includes python3 = false). Can explain what you mean by general python 2/3 usage?

The inline annotations won't work on Python 2, so the stubs are still valuable for users using Python 2, and removing the stubs would make things worse for them, I think.

@ian-r-rose
Copy link
Author

Ah, my mistake, I had missed that metadata. Sorry for the noise!

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