[New-bugs-announce] [issue30274] Make importlib.abc.ExtensionFileLoader.__init__() documentation match code

Brett Cannon report at bugs.python.org
Thu May 4 18:24:49 EDT 2017


New submission from Brett Cannon:

https://docs.python.org/3/library/importlib.html#importlib.machinery.ExtensionFileLoader says "fullname, path" for __init__(), but https://github.com/python/cpython/blob/647c3d381e67490e82cdbbe6c96e46d5e1628ce2/Lib/importlib/_bootstrap_external.py#L909 says "name, path". While I would much rather change the parameter name to match the rest of the module, I don't think I'm comfortable with the backwards-compatibility breakage over just a single parameter name (although chances are no one will notice in either direction as everyone probably passes by position).

----------
assignee: docs at python
components: Documentation
messages: 293022
nosy: brett.cannon, docs at python
priority: normal
severity: normal
stage: needs patch
status: open
title: Make importlib.abc.ExtensionFileLoader.__init__() documentation match code

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30274>
_______________________________________


More information about the New-bugs-announce mailing list