[New-bugs-announce] [issue39019] Missing class getitems in standard library classes

Batuhan report at bugs.python.org
Tue Dec 10 12:55:54 EST 2019


New submission from Batuhan <batuhanosmantaskaya at gmail.com>:

After working on issue 38994 and issue 38978, I decided to write a simple AST analyzer to find class getitem syntax usage in typeshed. It discovered a few classes (I am not sure if there are more). As @brett.cannon suggested in PR 17498 I'll prepare individual pull requests.  

typeshed/stdlib/3/subprocess.pyi:868  => Popen
typeshed/stdlib/3/subprocess.pyi:82   => CompletedProcess
typeshed/stdlib/3/tempfile.pyi:98     => SpooledTemporaryFile
typeshed/stdlib/3/os/__init__.pyi:463 => DirEntry
typeshed/stdlib/3/http/cookies.pyi:5  => Morsel

----------
messages: 358209
nosy: BTaskaya, brett.cannon
priority: normal
severity: normal
status: open
title: Missing class getitems in standard library classes

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39019>
_______________________________________


More information about the New-bugs-announce mailing list