]> granicus.if.org Git - python/commit
_PyLong_Copy(): was creating a copy of the absolute value, but should
authorTim Peters <tim.peters@gmail.com>
Sat, 2 Mar 2002 04:18:04 +0000 (04:18 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 2 Mar 2002 04:18:04 +0000 (04:18 +0000)
commit5329cdb3cea9f76a8b758aa61058455a5bfb4506
tree6cb30f325dd580aeb990393db29eb6876e8d0dd0
parentdb30ac41de4e9e8412429720445ea4852c3c241f
_PyLong_Copy():  was creating a copy of the absolute value, but should
copy the sign too.  Added a test to test_descr to ensure that it does.

Bugfix candidate.
Lib/test/test_descr.py
Objects/longobject.c