]> granicus.if.org Git - python/commit
Patch # 1507 by Mark Dickinson. Make complex(x, -0) retain the sign of
authorGuido van Rossum <guido@python.org>
Tue, 27 Nov 2007 22:38:36 +0000 (22:38 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 27 Nov 2007 22:38:36 +0000 (22:38 +0000)
commit715ec1818de43836cffea50d5f4b5e53fc68a849
tree0c6fca13960a035e451fbda4b1d2839afa7e26d9
parentb61a1f5219fb52d3d5a6a8bee427b94efeee4894
Patch # 1507 by Mark Dickinson.  Make complex(x, -0) retain the sign of
the imaginary part (as long as it's not complex).
Backport candidate?
Lib/test/test_complex.py
Objects/complexobject.c