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

Serhiy Storchaka report at bugs.python.org
Wed May 16 07:28:53 EDT 2018


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

In your case importing xnd automatically imports xnd._xnd and sets it as an attribute of xnd. This case works now. PR 6898 adds support for cases when a submodule is not imported automatically by importing a package.

----------

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


More information about the Python-bugs-list mailing list