Mercurial > hg
comparison mercurial/graphmod.py @ 13007:e98bf6948092 stable
posix: remove is-comparison between integers
Comparing integers by identity relies on a CPython implementation
detail of caching integers between -5 and 256.[1]
[1] <http://docs.python.org/c-api/int.html#PyInt_FromLong>
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Tue, 16 Nov 2010 21:35:58 +0100 |
parents | 101366ad816c |
children | 9966c95b8c4f |
comparison
equal
deleted
inserted
replaced
13006:ea68947ad0ce | 13007:e98bf6948092 |
---|