[PATCH 4 of 8] posix: remove is-comparisons with non-singletons

Martin Geisler mg at aragost.com
Wed Nov 17 03:04:06 CST 2010


Dan Villiom Podlaski Christiansen <danchr at gmail.com> writes:

> # HG changeset patch
> # User Dan Villiom Podlaski Christiansen <danchr at gmail.com>
> # Date 1289939758 -3600
> # Branch stable
> # Node ID 3b589b8fe25cfa29ac827cd00462d5fdc2fe7abf
> # Parent  72e7c8769e4bb6cbfec1e796fd06e3416da51b26
> posix: remove is-comparisons with non-singletons.
>
> Comparing integers by identity relies on a CPython implementation
> detail of caching integers between -5 and 256.[1]

Pushed to the stable branch as e98bf6948092, thanks again!

I removed this "fluffy" final bit of the commit message:

> ENOENT ought to fall safely within these limits, but you never know...

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://mercurial.aragost.com/kick-start/


More information about the Mercurial-devel mailing list