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

Serhiy Storchaka report at bugs.python.org
Wed May 16 07:00:43 EDT 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

Using ":" makes the syntax irregular. "package.module:attribute", but "module.attribute". And "package.module.attribute" works too if "package.module" already is imported.

It is possible to support importing submodules without using ":".

----------

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


More information about the Python-bugs-list mailing list