[New-bugs-announce] [issue38782] Convert importlib.abc to use typing.Protocol

Brett Cannon report at bugs.python.org
Tue Nov 12 17:47:40 EST 2019


New submission from Brett Cannon <brett at python.org>:

Now that typing.Protocol exists we should convert the ABCs in importlib over to protocols as the import system functions off of structural typing and not nominal typing.

----------
components: Library (Lib)
messages: 356501
nosy: brett.cannon
priority: low
severity: normal
status: open
title: Convert importlib.abc to use typing.Protocol
type: enhancement
versions: Python 3.9

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


More information about the New-bugs-announce mailing list