PEP238 and zope

Barry A. Warsaw barry at zope.com
Wed Jul 25 00:16:54 CEST 2001


>>>>> "TJ" == Tom Jenkins <tjenkins at nospiced.ham.devis.com> writes:

    TJ> these snippets.  I don't believe zope will surface any
    TJ> warnings that PEP238 stipulates (tho I may be wrong).  How do
    TJ> we code _now_ so as to minimize our pain?

>>> must_be_int = 1 / 2
>>> must_be_int
0
>>> must_be_int = int(1.0 / 2.0)
>>> must_be_int
0

-Barry




More information about the Python-list mailing list