On Mon, Nov 30, 2009 at 2:05 PM, Lie Ryan <lie.1...@gmail.com> wrote: > On 12/1/2009 5:58 AM, inhahe wrote: >> >> i wasn't suggesting it as a feature for python, just pointing out why >> it might seem counterintuitive. > > I'm interested, what do YOU (inhahe) think the result should be? Should both > become -9 or both become 9. What was your expectation when you wrote that > post? > -- > http://mail.python.org/mailman/listinfo/python-list >
i think the way it works currently is the sane way..pays respect to the standard order of operations, doesn't have to do anything special with x = -3, just treats it as an integer, and corresponds with normal algebra. -- http://mail.python.org/mailman/listinfo/python-list