Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
`from . cimport modulename` tries to search in parent package from `__init__.pxd`. #3442
Because of this, I think there should not be much functional code out there that depends on the relative
# from . cimport submodule # Fails, "'cyrel_package/submodule.pxd' not found" — Attempts to import relative to parent package directory instead of current package directory. # from .subpackage cimport submodule # Fails, "'cyrel_package/subpackage/subpackage/submodule.pxd' not found" — Attempts to (correctly) import relative to current package directory. from cyrel_package.subpackage cimport submodule # Works.
It also fails with