On Wed, Mar 15, 2006 at 11:09:22PM -0300, Jorge Godoy wrote: > Jason Chu <[EMAIL PROTECTED]> writes: > > > I just figured doing this in every case would probably make things more > > consistent. Then, if I have an Int() validator, I'll know that d['value'] > > will *always* be an int. > > Another option is always "casting" the value to an int using > int(d['value'])...
In this case, yes. As long as d['value'] was a valid integer (and not someone screwing with our form...) Jason -- If you understand, things are just as they are. If you do not understand, things are just as they are.
pgpMft3JoX79C.pgp
Description: PGP signature
