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. -- http://mail.python.org/mailman/listinfo/python-list