Skip to content

Missing attributes found running mypy on the standard library #2149

Closed
@emmatyping

Description

@emmatyping

The following are missing from stubs:

  • codecs
  • pkgutil.read_code
  • inspect.CO_COROUTINE
  • inspect.CO_ASYNC_GENERATOR
  • pickle.bytes_types
  • pickle.decode_long
  • tkinter.simpledialog
  • pdb.Pdb
  • msvcrt.setmode
  • sre_compile.SRE_FLAG_*
  • urrlib.request.HTTPError
  • docutils.parsers.rst.Parser
  • docutils.frontend
  • multiprocessing.get_start_method
  • multiprocessing.get_context
  • multiprocessing.TimeoutError
  • multiprocessing.AuthenticationError
  • multiprocessing.BufferTooShort

There also seem to be several uses of _thread, but I'm not familiar with typeshed's policy with "private" modules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    stubs: incompleteAnnotations or sub-modules missing from an existing package or module

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions