This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: BSD support for multiprocessing.cpu_count
Type: Stage:
Components: Library (Lib) Versions: Python 3.0, Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: jnoller Nosy List: epg, jnoller, vstinner
Priority: normal Keywords:

Created on 2008-10-30 05:18 by epg, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
diff epg, 2008-10-30 05:18
Messages (5)
msg75353 - (view) Author: Eric Gillespie (epg) Date: 2008-10-30 05:18
Tested on NetBSD, but should work on any; sysctl goes back to 4.4BSD.
msg75358 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2008-10-30 09:04
I prefer to use the test "sys.platform in ('darwin', 'bsd')" ;-)
msg75371 - (view) Author: Eric Gillespie (epg) Date: 2008-10-30 16:02
sys.platform is 'netbsd4', and presumably 'freebsd5' and so on, so that
won't work.
msg75372 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2008-10-30 16:37
@epg: Ooops, I read sys.platform == 'bsd'.
msg76548 - (view) Author: Jesse Noller (jnoller) * (Python committer) Date: 2008-11-28 19:02
Fixed, trunk r67423
History
Date User Action Args
2022-04-11 14:56:40adminsetgithub: 48488
2008-11-28 19:02:04jnollersetstatus: open -> closed
resolution: fixed
messages: + msg76548
2008-10-30 20:39:45benjamin.petersonsetassignee: jnoller
nosy: + jnoller
2008-10-30 16:37:06vstinnersetmessages: + msg75372
2008-10-30 16:02:56epgsetmessages: + msg75371
2008-10-30 09:04:25vstinnersetnosy: + vstinner
messages: + msg75358
2008-10-30 05:18:44epgcreate