[Python-Dev] constant folding of -0
dickinsm at gmail.com
Thu Mar 10 21:30:07 CET 2011
On Thu, Mar 10, 2011 at 2:17 AM, Eugene Toder <eltoder at gmail.com> wrote:
>> Indeed, see http://bugs.python.org/issue11244
> Yes, I've noticed that too. However, if I'm not missing something, your patches
> do not address folding of -0.
Hmm, it seems that way. Could you post a comment on the tracker issue
about that, please?
I'm not sure why the original changeset went in, but I agree it looks
as though it's no longer necessary. Certainly there should be enough
-0.0 versus 0.0 tests around to detect any issues, so if all the tests
pass with the extra PyObject_IsTrue check disabled then there probably
isn't a problem.
More information about the Python-Dev