PEP0238 lament

Stephen Horne steve at lurking.demon.co.uk
Mon Jul 23 23:33:48 EDT 2001


On Mon, 23 Jul 2001 17:23:18 -0700, Paul Prescod
<paulp at ActiveState.com> wrote:

>It is very common to pass floats to functions that expect integers and
>vice versa without really thinking about it. It is *especially* common
>to pass integers to functions that expect floats.

And in my mind this is the problem, not division. The traditional
solutions to the problem of bad inputs are called *validation* and
*documentation*.




More information about the Python-list mailing list