--profile-imports crashes with relative imports in plugin
Bug #1572314 reported by
Ryan P. Kelly
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Expired
|
Undecided
|
Unassigned |
Bug Description
Using --profile-imports in conjunction with relative imports in a plugin (anywhere, really) will cause a crash because timed_import doesn't pass down level into __import__.
To post a comment you must log in.
You can see my proposed fix here: https:/ /bazaar. launchpad. net/~rpkelly22- m/bzr/1572314- profile- imports- relative/ view/head: /profile_ imports. py#L153