negative numbers are not equal...
Fredrik Lundh
fredrik at pythonware.com
Fri Aug 15 03:42:50 EDT 2008
ariel ledesma wrote:
> i see now, so i guess that's also why id() returns the same address for
> them as well...
> i'll dive into the implementation file, it may be a bit out of my league
> but i'll see what i can gather, and hey, that's how it works, right? :-)
well, there's another strategy, of course: instead of spending time on
figuring out when you can get away with doing things the wrong way on a
specific version (and have your programs break when you upgrade),
despite what the documentation says, you can spend that time writing
new, portable code that works and does useful things.
</F>
More information about the Python-list
mailing list