In article <[email protected]>,
 John Gordon <[email protected]> wrote:

> In <7367295.815.1333578860181.JavaMail.geo-discussion-forums@ynpp8> Miki 
> Tebeka <[email protected]> writes:
> 
> > Greetings,
> 
> > I'm going to give a "Python Gotcha's" talk at work.
> > If you have an interesting/common "Gotcha" (warts/dark corners ...)
> > please share.
> 
> This is fairly pedestrian as gotchas go, but it has bitten me:
> 
> If you are working with data that is representable as either an integer
> or a string, choose one and stick to it.  Treating it as both/either will
> eventually lead to grief.
> 
> Or, in other words: 1 != '1'

Tell that to the PHP crowd :-)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to