loads lots of modules in top-level of cmds module
Bug #903650 reported by
Jelmer Vernooij
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-builddeb |
Fix Released
|
Medium
|
Jelmer Vernooij |
Bug Description
bzr-builddeb loads lots of modules in the top-level of cmds.py.
This means that code that introspects commands like "bzr bash-completion" loads these modules as well, and slows them down.
Ideally, the modules should be lazily imported, or imported locally in the commands.
Related branches
lp:~jelmer/bzr-builddeb/defer-imports
- James Westby: Approve
-
Diff: 283 lines (+87/-42)2 files modifiedcmds.py (+84/-41)
debian/changelog (+3/-1)
Changed in bzr-builddeb: | |
status: | Triaged → In Progress |
assignee: | nobody → Jelmer Vernooij (jelmer) |
Changed in bzr-builddeb: | |
milestone: | none → 2.8.1 |
status: | In Progress → Fix Committed |
Changed in bzr-builddeb: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.