Changeset [a4beb8053780a9feb86fd85f0ce649717b9e7919] by Shayan Pooya
February 11th, 2014 @ 09:34 AM
Make the passed arguments to sysctlbyname convertible to c_char_p.
In python3, the default type of strings are unicode which cannot
be
converted to c_char_p, resulting a type error from
sysctlbyname,
using a b prefix for the string makes it convertible to
c_char_p.
https://github.com/discoproject/disco/commit/a4beb8053780a9feb86fd8...
Committed by Shayan Pooya
- M lib/disco/sysutil.py
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Disco is an open-source implementation of the Map-Reduce framework for distributed computing. As the original framework, Disco supports parallel computations over large data sets on unreliable cluster of computers.