Re: [GNC-dev] Problems with python 3 and the gnucash python bindings.

2018-07-12 Thread Derek Atkins
John Ralls writes: >> PS. Another solution would be to force byte string only arguments for >> python 3 using a SWIG define SWIG_PYTHON_STRICT_BYTE_CHAR. >> >> This would require a major re-write of the gnucash_core.py to perform the >> unicode<->byte transformations. > > ISTM it would be better

Re: [GNC-dev] Problems with python 3 and the gnucash python bindings.

2018-07-12 Thread John Ralls
> On Jul 12, 2018, at 7:23 AM, Derek Atkins wrote: > > John Ralls writes: > >>> PS. Another solution would be to force byte string only arguments for >>> python 3 using a SWIG define SWIG_PYTHON_STRICT_BYTE_CHAR. >>> >>> This would require a major re-write of the gnucash_core.py to perform t