Skip to content

Add concurrent.interpreters stubs for 3.14.0b3 #14307

New issue

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

brianschubert
Copy link
Member

@brianschubert brianschubert commented Jun 19, 2025

Refs #14303

Upstream issue: python/cpython#134939

_R = TypeVar("_R")
_P = ParamSpec("_P")

class ExecutionFailed(InterpreterError):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what to make of the pyright errors here and in _queues.pyi. It seems to be having issues with imports from _interpreters and _interpqueues?

/home/runner/work/typeshed/typeshed/stdlib/concurrent/interpreters/__init__.pyi
  /home/runner/work/typeshed/typeshed/stdlib/concurrent/interpreters/__init__.pyi:37:23 - error: Base class type is unknown, obscuring type of derived class (reportUntypedBaseClass)
/home/runner/work/typeshed/typeshed/stdlib/concurrent/interpreters/_queues.pyi
  /home/runner/work/typeshed/typeshed/stdlib/concurrent/interpreters/_queues.pyi:24:18 - error: Base class type is unknown, obscuring type of derived class (reportUntypedBaseClass)
  /home/runner/work/typeshed/typeshed/stdlib/concurrent/interpreters/_queues.pyi:25:17 - error: Base class type is unknown, obscuring type of derived class (reportUntypedBaseClass)
  /home/runner/work/typeshed/typeshed/stdlib/concurrent/interpreters/_queues.pyi:26:32 - error: Base class type is unknown, obscuring type of derived class (reportUntypedBaseClass)
4 errors, 0 warnings, 0 informations 

This comment has been minimized.

This comment has been minimized.

@srittau srittau marked this pull request as draft July 7, 2025 11:38
@srittau
Copy link
Collaborator

srittau commented Jul 7, 2025

I've marked this as a draft for now. As I understand it, this isn't ready to be merged. (Also, it has test errors.)

Copy link
Contributor

github-actions bot commented Jul 7, 2025

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

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