This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients amaury.forgeotdarc, eric.smith, mark.dickinson, pitrou, rhettinger, stutzbach
Date 2010-10-07.19:30:53
SpamBayes Score 0.0024742056
Marked as misclassified No
Message-id <1286479851.3143.1.camel@localhost.localdomain>
In-reply-to <>
> Technically arbitrary relational comparisons of pointers are
> undefined, but in practice Antoine's assumptions here are very modest.
> They boil down to:
>    v >= &array[0] && v < &array[array_len]

I can't say anything about the standard, but p > q looks like it should
be the same as (p - q) > 0, which looks rather well-defined for

(at worse we could cast to _Py_uintptr_t, hopefully the compiler
wouldn't produce any different code)
Date User Action Args
2010-10-07 19:30:55pitrousetrecipients: + pitrou, rhettinger, amaury.forgeotdarc, mark.dickinson, eric.smith, stutzbach
2010-10-07 19:30:54pitroulinkissue10044 messages
2010-10-07 19:30:53pitroucreate