[Python-checkins] CVS: python/dist/src/Modules mpzmodule.c

Andrew M. Kuchling akuchlin@cnri.reston.va.us
1998年12月14日 14:36:18 -0500 (EST)


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.

AltStyle によって変換されたページ (->オリジナル) /