New submission from Batuhan <batuhanosmantask...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue39019> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com