Skip to content

Conversation

@donbarbos
Copy link
Contributor

@donbarbos
Copy link
Contributor Author

Does typeshed have a clear policy regarding adding @deprecated to "soft" deprecations?
Frankly, I doubt it; it seems to blur the line between soft and hard deprecation.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 1, 2026

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

@srittau
Copy link
Collaborator

srittau commented Jan 15, 2026

Does typeshed have a clear policy regarding adding @deprecated to "soft" deprecations? Frankly, I doubt it; it seems to blur the line between soft and hard deprecation.

We don't even have a clear policy regarding "hard" deprecations ...

Edit: But my personal opinion is that we can be more liberal with actionable deprecations in typeshed than with runtime warnings, since the former only affects developers that are using the items in question, while the latter can even affect users who can't do anything about them.

@srittau srittau merged commit 4372b1d into python:main Jan 15, 2026
63 checks passed
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.

2 participants