[issue32414] PyCapsule_Import fails when name is in the form 'package.module.capsule'

Nick Coghlan report at bugs.python.org
Thu May 3 09:33:47 EDT 2018


Nick Coghlan <ncoghlan at gmail.com> added the comment:

"package.module:attribute" is also the syntax used in packaging tools to unambiguously separate the name of the module to be imported from the attribute chain to be looked up within that module: https://packaging.python.org/specifications/entry-points/

So +1 from me for extending it to this use case as well.

----------

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


More information about the Python-bugs-list mailing list