← Back to team overview

registry team mailing list archive

[Bug 693140] [NEW] bzrlib.osutils.local_concurrency() always return 1 on kfreebsd-*

 

Public bug reported:

Rerported by Jakub Wilk in Debian bug #588853:

$ getconf _NPROCESSORS_ONLN
2

$ python -c 'from bzrlib.osutils import local_concurrency as c; print c()'
1


BTW, Python >= 2.6 already has a robust implementation of a similar function:
multiprocessing.cpu_count().

** Affects: bzr
     Importance: Low
         Status: Confirmed

** Affects: bzr (Debian)
     Importance: Unknown
         Status: Unknown

** Bug watch added: Debian Bug tracker #588853
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588853

** Also affects: bzr (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588853
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.
https://bugs.launchpad.net/bugs/693140

Title:
  bzrlib.osutils.local_concurrency() always return 1 on kfreebsd-*



Follow ups

References