log Lib/test/test_complex.py @ 70817:dd775b1561ba

age author description
Sat, 05 Mar 2011 15:15:55 +0100 Georg Brandl Dummy-merge 3.1 branch into 3.2 branch. 3.2
Sat, 04 Dec 2010 15:26:13 +0000 Eric Smith Issue 10625: Add tests for negative zeros in complex str and repr.
Sat, 04 Dec 2010 15:17:38 +0000 Eric Smith Issue #10624: Use support.requires_IEEE_754 in all appropriate tests.
Sat, 04 Dec 2010 13:27:34 +0000 Eric Smith Removed static function complex_format, moved it into complex_repr. Modified tests to check both str and repr, which are the same for complex.
Sat, 04 Dec 2010 03:38:46 +0000 Alexander Belopolsky Issue #10557: Fixed error messages from float() and other numeric
Thu, 25 Nov 2010 16:08:06 +0000 Eric Smith Issue #7094: Add alternate ('#') flag to __format__ methods for float, complex and Decimal. Allows greater control over when decimal points appear. Added to make transitioning from %-formatting easier. '#g' still has a problem with Decimal which I'll fix soon.
Sat, 20 Nov 2010 19:04:17 +0000 Ezio Melotti #9424: Replace deprecated assert* methods in the Python test suite.
Sun, 01 Aug 2010 10:41:49 +0000 Mark Dickinson Issue #9416: Fix some issues with complex formatting where the
Wed, 30 Jun 2010 11:13:36 +0000 Mark Dickinson Issue #9011: Tests for Python 3.2's treatment of negated imaginary literals.
Fri, 21 May 2010 14:55:26 +0000 Mark Dickinson Issue #8748: Fix two issues with comparisons between complex and integer
Fri, 02 Apr 2010 18:52:12 +0000 Florent Xicluna (partially)
Sat, 13 Mar 2010 09:48:39 +0000 Mark Dickinson Issue #7845: Make 1j.__le__(2j) return NotImplemented rather than raising TypeError.
Mon, 22 Feb 2010 18:54:44 +0000 Eric Smith Merged revisions 78329 via svnmerge from
Sat, 20 Feb 2010 09:47:55 +0000 Ezio Melotti Merged revisions 78249 via svnmerge from
Mon, 26 Oct 2009 21:51:18 +0000 Mark Dickinson Remove length limitation on string arguments to complex()
Sun, 21 Nov 2010 01:30:29 +0000 Ezio Melotti Merged revisions 86596 via svnmerge from 3.1
Sun, 01 Aug 2010 10:43:42 +0000 Mark Dickinson Merged revisions 83400 via svnmerge from 3.1
Wed, 30 Jun 2010 10:55:51 +0000 Mark Dickinson Tests for Python 3.1's treatment of negated imaginary literals. 3.1
Mon, 22 Feb 2010 19:26:06 +0000 Eric Smith Merged revisions 78333 via svnmerge from 3.1
Thu, 13 Aug 2009 08:51:18 +0000 Georg Brandl Merged revisions 73715 via svnmerge from 3.1
Wed, 20 May 2009 18:41:04 +0000 Mark Dickinson Issue #5829: complex('1e500') shouldn't raise OverflowError
Wed, 06 May 2009 13:08:15 +0000 Eric Smith Issue #3382. float 'F' formatting no longer maps to 'f'. This only affects nan and inf.
Tue, 05 May 2009 14:04:18 +0000 Eric Smith Issue #5920: Changed format.__float__ and complex.__float__ to use a precision of 12 when using the empty presentation type. This more closely matches str()'s behavior and reduces surprises when adding alignment flags to an empty format string. Patch by Mark Dickinson.
Thu, 30 Apr 2009 01:00:33 +0000 Eric Smith Issue #1588: Add complex.__format__.
Sat, 25 Apr 2009 10:11:40 +0000 Mark Dickinson Merged revisions 71869 via svnmerge from
Fri, 24 Apr 2009 13:25:20 +0000 Mark Dickinson Make sure that complex parsing code and corresponding tests
Thu, 23 Apr 2009 19:14:16 +0000 Mark Dickinson Issue #5816: Simplify code for parsing and printing of complex numbers.
Sat, 05 Mar 2011 15:15:07 +0100 Georg Brandl Dummy-merge 2.6 branch into 2.7 branch. 2.7
Sun, 21 Nov 2010 13:34:58 +0000 Ezio Melotti Merged revisions 86596 via svnmerge from 2.7
Sun, 01 Aug 2010 10:45:15 +0000 Mark Dickinson Merged revisions 83400 via svnmerge from 2.7
Sun, 30 May 2010 13:18:10 +0000 Mark Dickinson Issue #8748: Fix incorrect results from comparisons between an integer legacy-trunk
Sun, 30 May 2010 12:12:25 +0000 Mark Dickinson Issue #5211: Complete removal of implicit coercions for the complex legacy-trunk
Wed, 31 Mar 2010 22:01:03 +0000 Florent Xicluna Replace catch_warnings with check_warnings when it makes sense. Use assertRaises context manager to simplify some tests. legacy-trunk
Mon, 22 Feb 2010 18:33:47 +0000 Eric Smith Issue #7988: Fix default alignment to be right aligned for complex.__format__. Now it matches other numeric types. legacy-trunk
Sun, 21 Feb 2010 12:57:35 +0000 Mark Dickinson Issue #5211: Fix complex type to avoid implicit calls to legacy-trunk
Sat, 20 Feb 2010 09:40:07 +0000 Ezio Melotti Remove e assertIs definitions and use correct assert* methods. legacy-trunk
Sun, 29 Nov 2009 17:40:57 +0000 Eric Smith Issue #3382: Make '%F' and float.__format__('F') convert results to upper case. Much of the patch came from Mark Dickinson. legacy-trunk
Mon, 26 Oct 2009 22:28:14 +0000 Mark Dickinson Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod in legacy-trunk
Tue, 30 Jun 2009 22:57:08 +0000 Benjamin Peterson convert usage of fail* to assert* legacy-trunk
Wed, 20 May 2009 18:43:07 +0000 Mark Dickinson Issue #5829: don't raise OverflowError for complex('1e500'). Backport of r72803. legacy-trunk
Tue, 05 May 2009 18:26:08 +0000 Eric Smith Issue #5920: Changed format.__float__ and complex.__float__ to use a precision of 12 when using the empty presentation type. This more closely matches str()'s behavior and reduces surprises when adding alignment flags to an empty format string. Patch by Mark Dickinson. legacy-trunk
Thu, 30 Apr 2009 00:58:58 +0000 Eric Smith Issue #1588: Add complex.__format__. legacy-trunk
Sat, 25 Apr 2009 09:47:00 +0000 Mark Dickinson Fix typo in complex parsing code; expand tests. legacy-trunk
Fri, 24 Apr 2009 12:46:53 +0000 Mark Dickinson Issue #5816: legacy-trunk
Mon, 02 Aug 2010 23:34:49 +0000 Ezio Melotti Merged revisions 79539 via svnmerge from 2.6
Sat, 25 Apr 2009 13:16:50 +0000 Mark Dickinson Issue #5829: complex('1e-500') shouldn't raise an exception. 2.6
Wed, 04 Jun 2008 20:41:44 +0000 Alexandre Vassalotti Fixed complex.__getnewargs__() to not emit another complex object. legacy-trunk
Fri, 15 Feb 2008 06:57:08 +0000 Christian Heimes Fixed repr() and str() of complex numbers. Complex suffered from the same problem as floats but I forgot to test and fix them. legacy-trunk
Thu, 31 Jan 2008 22:17:37 +0000 Mark Dickinson Issue #1678380. Fix a bug that identifies 0j and -0j when they appear legacy-trunk
Tue, 27 Nov 2007 22:38:36 +0000 Guido van Rossum Patch # 1507 by Mark Dickinson. Make complex(x, -0) retain the sign of legacy-trunk
Fri, 09 Mar 2007 20:33:07 +0000 Collin Winter Patch #1491866: change the complex() constructor to allow parthensized forms. This means complex(repr(x)) now works instead of raising a ValueError. legacy-trunk
Sat, 25 Apr 2009 13:28:26 +0000 Mark Dickinson Issue #5829: complex('1e-500') shouldn't raise an exception; also, fix indentation problems. 3.0
Tue, 10 Jun 2008 16:37:50 +0000 Georg Brandl Merged revisions 63829-63831,63858,63865,63879,63882,63948,63970-63972,63976,63989,64014-64015,64021-64022,64063-64065,64067 via svnmerge from
Tue, 20 May 2008 21:35:26 +0000 Benjamin Peterson #2621 rename test.test_support to test.support
Sat, 16 Feb 2008 07:38:31 +0000 Christian Heimes Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678,60680-60683,60685-60686,60688,60690,60692-60694,60697-60700,60705-60706,60708,60711,60714,60720,60724-60730,60732,60736,60742,60744,60746,60748,60750-60751,60753,60756-60757,60759-60761,60763-60764,60766,60769-60770,60774-60784,60787-60845 via svnmerge from
Fri, 01 Feb 2008 08:12:03 +0000 Christian Heimes Merged revisions 60475-60479,60481-60488 via svnmerge from
Wed, 28 Nov 2007 10:04:30 +0000 Christian Heimes Merged revisions 59202-59211 via svnmerge from
Fri, 07 Sep 2007 15:15:49 +0000 Jeffrey Yasskin Check in some documentation tweaks for PEP 3141, add some tests, and implement
Mon, 27 Aug 2007 20:40:10 +0000 Guido van Rossum Changes in anticipation of stricter str vs. bytes enforcement.
Mon, 27 Aug 2007 17:23:59 +0000 Guido van Rossum Changes in anticipation of stricter str vs. bytes enforcement.