loads lots of modules in top-level of cmds module

Bug #903650 reported by Jelmer Vernooij on 2011-12-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr-builddeb
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

Jelmer Vernooij (jelmer) on 2012-01-02
Changed in bzr-builddeb:
status: Triaged → In Progress
assignee: nobody → Jelmer Vernooij (jelmer)
Jelmer Vernooij (jelmer) on 2012-01-02
Changed in bzr-builddeb:
milestone: none → 2.8.1
status: In Progress → Fix Committed
Jelmer Vernooij (jelmer) on 2012-01-18
Changed in bzr-builddeb:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers