#26 closed defect (fixed)
Loading module inside a package can't find C-extension
| Reported by: | ole | Owned by: | ole |
|---|---|---|---|
| Priority: | normal | Milestone: | AnuGA ready for release |
| Component: | Architecture and API | Version: | 1.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
When loading a module inside a package Python can't find it's C-extension.
Example
import pyvolution.util
then util can't find its C-extension even though it exists within the pyvolution directory.
It could be solved by adding pyvolution to the PYTHONPATH, but it seems silly.
Change History (3)
comment:1 Changed 20 years ago by
| Owner: | changed from someone to ole |
|---|---|
| Status: | new → assigned |
comment:2 Changed 20 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:3 Changed 20 years ago by
| Component: | Documentation → Architecture and API |
|---|
Note: See
TracTickets for help on using
tickets.

See changeset:1945