easy question on parsing python: "is not None"

Bruno Desthuilliers bruno.42.desthuilliers at websiteburo.invalid
Mon Aug 9 11:04:40 CEST 2010

Gregory Ewing a écrit :
> Ethan Furman wrote:
>> Instead of using 'is' use '=='.  Maybe not as cute, but definitely 
>> more robust!
> It's also just as efficient if you use strings that
> resemble identifiers, because they will be interned,

Remember : this IS an implementation detail.

More information about the Python-list mailing list