Tuple assignment and generators?
Erik Max Francis
max at alcyone.com
Fri May 5 03:37:42 EDT 2006
vdrab wrote:
> what the...?
> does anybody else get mighty uncomfortable about this?
No. Why should you ever care about whether two integers representing
values are the same object? Your tests should be with `==`, not `is`.
--
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
More fodder for the new lost generation
-- Nik Kershaw
More information about the Python-list
mailing list