int/long unification hides bugs

Cliff Wells clifford.wells at
Tue Oct 26 07:34:55 CEST 2004

On Tue, 2004-10-26 at 05:10 +0000, Sam Holden wrote:
> On 25 Oct 2004 21:25:07 -0700, kartik <kartick_vaddadi at> wrote:
> >
> > integers are used in different ways from strings. i may expect file
> > paths to be around 100 characters, and if i get a 500-character path,
> > i have no problem just because of the length. but if a person's age is
> > 500 where i expect it to be less than 100, then **definitely**
> > something's wrong.
> What if Noah is using your program?

Then Python clearly needs a special mode so that when a person's age is
entered large numbers are allowed, but when counting animals it throws
an exception if the number is greater than two.


Cliff Wells <clifford.wells at>

More information about the Python-list mailing list