
akuchlin at cnri
Dec 14, 1998, 12:36 PM
Post #1 of 1
(16 views)
Permalink
|
|
CVS: python/dist/src/Modules mpzmodule.c
|
|
Update of /projects/cvsroot/python/dist/src/Modules In directory amarok:/home/akuchlin/src/Python-1.5/Modules Modified Files: mpzmodule.c Log Message: Fixed bug reported to Gregor Hoffleit: > 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.
|