[reportlab-users] pyRXP - strange non-deterministic errors on python 2.7 and 64-bit Linux

Tim Roberts timr at probo.com
Thu May 12 12:50:53 EDT 2011


Roger Whittaker wrote:

> On Thu, May 12, 2011 at 10:19:27AM +0100, Robin Becker wrote:

>> It might be of interest to know the values of sys.maxunicode. On my

>> x64 systems I think we still have 16bit unicode so that

>>

>> $ python25 -c"import sys;print sys.maxint,sys.maxunicode"

>> 9223372036854775807 65535

>>

>> I think that means configured with --enable-unicode=ucs2

>>

>> rxp the internal library uses a 16bit wide character type internally

>> so perhaps there's a bug lurking in there somewhere.

> $ python -c"import sys;print sys.maxint,sys.maxunicode"

> 9223372036854775807 1114111

>

> But on another 64-bit Linux system (openSUSE 11.3) with python 2.6,

> where I don't see the problem, I get the same output from this:

>

> $ python -c"import sys;print sys.maxint,sys.maxunicode"

> 9223372036854775807 1114111


The machine I tried (Debian, Python 2.4.4), where it worked, returns
$ python -c "import sys;print sys.maxint,sys.maxunicode"
9223372036854775807 1114111
$

So, that appears to have a low factor of correlation.

--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the reportlab-users mailing list