PEP238 and zope
Barry A. Warsaw
barry at zope.com
Wed Jul 25 12:45:35 EDT 2001
>>>>> "CT" == Christian Tanzer <tanzer at swing.co.at> writes:
>> really-portable-code-is-always-ugly-anyway-ly y'rs,
CT> So-lets-make-it-even-uglier-?-ly y'rs,
I don't consider int(math.floor(a / b)) to be ugly. In fact, it's
arguably much more Pythonic: Explicit is better than implicit.
There's no ambiguity in intention with that idiom, like there is with
bare a / b.
-Barry
More information about the Python-list
mailing list