In article <jlkg90$ghk$1...@reader1.panix.com>, John Gordon <gor...@panix.com> wrote:
> In <7367295.815.1333578860181.JavaMail.geo-discussion-forums@ynpp8> Miki > Tebeka <miki.teb...@gmail.com> 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