Public bug reported:

The various Ubuntu One Python modules each install .pth files, extending
the default Python import path. This means that all  applications that
import Python modules will try to use these paths.

For example, for bzr, this means that every time bzr is run there are
between 80 and 200 open/stat calls that are unnecessary. This isn't a
huge cost, but it adds up to the overall startup time.

Is there a particular reason the ubuntu one modules are installed in a
separate directory rather than in dist-packages, like other modules on
an Ubuntu system?

** Affects: ubuntuone-client
     Importance: Undecided
         Status: New

** Affects: ubuntu-sso-client (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ubuntuone-control-panel (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ubuntuone-couch (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ubuntuone-installer (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ubuntuone-storage-protocol (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: ubuntu-sso-client (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: ubuntuone-couch (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: ubuntuone-control-panel (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: ubuntuone-installer (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: ubuntuone-storage-protocol (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/903180

Title:
  extends python path, slowing down python imports

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntuone-client/+bug/903180/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to