Antoine Pitrou <pit...@free.fr> added the comment: > Nope. It's only well-defined for pointers pointing into the same > array (or to one past the end of an array). Otherwise it's undefined > behaviour.
How can the compiler tell whether two pointers are "into the same array"? That sounds like an undecidable criterion. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10044> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com