Re: Pyrex Digest, Vol 58, Issue 5
Claudio Freire <[email protected]> Wed, 14 Oct 2009 11:06:57 -0300
| Newsgroups | gmane.comp.python.pyrex |
|---|---|
| Message-ID | <[email protected]> |
--===============0144897866== Content-Type: multipart/alternative; boundary=0016e648ca30091dde0475e5ad37 --0016e648ca30091dde0475e5ad37 Content-Type: text/plain; charset=ISO-8859-1 From: John Arbash Meinel <[email protected]> > > It seems pyrex 0.9.8.5 has a bug with how it handles "hash()". I have > this code: > > cdef long the_hash > > the_hash = hash(my_object) > Shouldn't that be cdef long long the_hash ? --0016e648ca30091dde0475e5ad37 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <br><br><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style= =3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; p= adding-left: 1ex;">From:=A0John Arbash Meinel <<a href=3D"mailto:john@ar= bash-meinel.com">[email protected]</a>><br> <br> It seems pyrex 0.9.8.5 has a bug with how it handles "hash()". I = have<br> this code:<br> <br> cdef long the_hash<br> <br> the_hash =3D hash(my_object)<br></blockquote><div><br>Shouldn't that be= cdef long long the_hash ?<br></div></div><br> --0016e648ca30091dde0475e5ad37-- --===============0144897866== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline _______________________________________________ Pyrex mailing list [email protected] http://lists.copyleft.no/mailman/listinfo/pyrex --===============0144897866==--