Skip to content

Don't use builtins.function and others anymore #8240

Open
@davidhalter

Description

@davidhalter

There are at least two classes in typeshed's builtins.pyi (
class function and class ellipsis, that should not belong there.

The issues in typeshed are:

However, typeshed's CI will break if you still use these classes. Please find another way to implement this and let typeshed remove those classes (respectively rename ellipsis to _ellipsis).

The problem is that other software does depend on typeshed as well and for example Jedi this leads to bugs.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions