Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
PR 31143 simplified some code without changing the common API: Objects/genericaliasobject.c | 46 ++++++++++++++-------------------------------- 1 file changed, 14 insertions(+), 32 deletions(-) Lib/_collections_abc.py | 63 +++++++++------------------------------------------------------ 1 file changed, 9 insertions(+), 54 deletions(-) PR 27511 will simplify it even more: Objects/genericaliasobject.c | 60 ++++++++++++++++++------------------------------------------ 1 file changed, 18 insertions(+), 42 deletions(-) (Lib/typing.py will be simplified too, even if this does not reduce the number of lines). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44796> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com