PyWart: Language missing maximum constant of numeric types!

Rick Johnson rantingrickjohnson at gmail.com
Fri Feb 24 08:37:31 EST 2012


I get sick and tired of doing this!!!

if maxlength == UNLIMITED:
    allow_passage()
elif len(string) > maxlength:
    deny_passage()

What Python needs is some constant that can be compared to ANY numeric
type and that constant will ALWAYS be larger!






More information about the Python-list mailing list