python / python/typing

Spec: Specify how inheriting from Any works

Open
#1,546 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

topic: typing spec
Dominant language
Python
Stars
1.8k
Forks
302
Avg merge
23h
Merged PRs (30d)
8

Description

I can't find anywhere in the current spec where we specify how inheriting from Any should work. I've heard that it's relied upon in typeshed. (E.g. class pmem(Any) in gevent and psutil, and class _NotImplementedType(Any) in builtins.)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by locating the current specification text covering inheritance and compare it with the typeshed examples mentioned for gevent, psutil, and builtins; done means the behavior of inheriting from Any is explicitly specified and those examples are covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
compilers, documentation
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.