[issue42195] Inconsistent __args__ between typing.Callable and collections.abc.Callable

Dong-hee Na report at bugs.python.org
Sat Oct 31 01:53:27 EDT 2020


Dong-hee Na <donghee.na at python.org> added the comment:

@gvanrossum

Sorry, Not this time. I just add myself to observe how to solve this issue.

Maybe Batuhan is the proper member to handle this issue.

Just question to this issue.
Since GenericAlias does not have a Py_TPFLAGS_BASETYPE flag, IMHO we have to add Py_TPFLAGS_BASETYPE to type declaration and this behavior does not occur any regression?

----------

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


More information about the Python-bugs-list mailing list