| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
LGTM! This matches the error message that CPython uses
Sorry, something went wrong.
There was a problem hiding this comment.
Actually, could you add a CHANGELOG entry under a new # Unreleased header?
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Hi typing-extension team. typing-extension version 4.6.0 just came out. It has caused some of the CI failures on our side (https://github.com/metaopt/optree/actions/runs/5054617196/jobs/9069750456). We are going to fix this misusage as a bug on our side (as the new behavior will be the standard API in future Python releases). But I found the error message that was raised is not very clear.
typing_extensions/src/typing_extensions.py
Lines 703 to 704 in 356934c
typing_extensions/src/typing_extensions.py
Lines 759 to 760 in 356934c
This PR changes deprecated @runtime to formal API @runtime_checkable in the error message.
The error in https://github.com/metaopt/optree/actions/runs/5054617196/jobs/9069750456 was raised by:
Refs: