Re: [E-devel] Python bindings NOTICE: Getting things Python 3 compatible.

2012-06-12 Thread Kai Huuhko
2012/6/12 Davide Andreoli : > 2012/6/12 Tom Hacohen : >> On 10/06/12 15:13, Kai Huuhko wrote: >>> Heads up, expect the unexpected. >>> >>> I've started getting the bindings ready for Py3. >>> >>> I'm going to add two functions, fruni and touni (see below), which >>> will handle string conversions.

Re: [E-devel] Python bindings NOTICE: Getting things Python 3 compatible.

2012-06-12 Thread Davide Andreoli
2012/6/12 Tom Hacohen : > On 10/06/12 15:13, Kai Huuhko wrote: >> Heads up, expect the unexpected. >> >> I've started getting the bindings ready for Py3. >> >> I'm going to add two functions, fruni and touni (see below), which >> will handle string conversions. Any *_set method taking in strings >>

Re: [E-devel] Python bindings NOTICE: Getting things Python 3 compatible.

2012-06-11 Thread Tom Hacohen
On 10/06/12 15:13, Kai Huuhko wrote: > Heads up, expect the unexpected. > > I've started getting the bindings ready for Py3. > > I'm going to add two functions, fruni and touni (see below), which > will handle string conversions. Any *_set method taking in strings > will need to wrap the value(s) i

[E-devel] Python bindings NOTICE: Getting things Python 3 compatible.

2012-06-11 Thread Kai Huuhko
Heads up, expect the unexpected. I've started getting the bindings ready for Py3. I'm going to add two functions, fruni and touni (see below), which will handle string conversions. Any *_set method taking in strings will need to wrap the value(s) in fruni and the *_get methods returning char* wra