[New-bugs-announce] [issue43207] InspectLoader.is_package is not an abstract method

Jun report at bugs.python.org
Fri Feb 12 09:40:00 EST 2021


New submission from Jun <jkuroda.isa at gmail.com>:

In the documentation of importlib:
https://docs.python.org/3/library/importlib.html#importlib.abc.InspectLoader

It says InspectLoader.is_package is an abstract method while it is not in the implementation.

@abc.abstractmethod decorator was removed with this commit
https://github.com/python/cpython/commit/b523f8433a8982e10eb41a3e2b37ee0e6d6a6e00

----------
assignee: docs at python
components: Documentation
messages: 386866
nosy: Jun, docs at python
priority: normal
severity: normal
status: open
title: InspectLoader.is_package is not an abstract method
versions: Python 3.10

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


More information about the New-bugs-announce mailing list