We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python: 3.8.5
import sys from typing import TypeVar def run(): sys.modules.pop("typing_extensions", None) from typing_extensions import ParamSpec return isinstance(ParamSpec("P"), TypeVar) def trace_call(frame, event, arg): return trace_call if __name__ == "__main__": print(run()) # True sys.setprofile(trace_call) print(run()) # False?? sys.setprofile(None) print(run()) # True
The text was updated successfully, but these errors were encountered:
FWIW, I can reproduce this with Python 3.8.18 and 3.9.18, but not with 3.10.13 and 3.11.6, where the typing version of ParamSpec is re-exported.
Sorry, something went wrong.
No branches or pull requests
python: 3.8.5
The text was updated successfully, but these errors were encountered: