• Andrew M. Kuchling's avatar
    Fixed bug reported to Gregor Hoffleit: · 4c07f81d
    Andrew M. Kuchling yazdı
    > mpz.mpz('\xff') should return mpz(255).  Instead it returns
    > mpz(4294967295L). Looks like the constructor doesn't work with strings
    > containing characters above chr(128).
    Caused by using just 'char' where 'unsigned char' should have been used.
    4c07f81d
mpzmodule.c 41.4 KB