Serhiy Storchaka added the comment: The Standard is not guarantee that result of converting null pointer to integer is zero or even it is a even number. I remember the ancient C implementation, where it was not so (but Python is not supports these platform).
Of course, such a method of obtaining aligned pointers is one great trick. I'm not sure whether to worry about that. ---------- nosy: +mark.dickinson _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16216> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com