summaryrefslogtreecommitdiff
path: root/Objects/complexobject.c
AgeCommit message (Expand)AuthorLines
2010-05-09Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou-904/+904
2009-05-17Merged revisions 72718 via svnmerge fromMark Dickinson-3/+3
2009-04-25Issue #5829: complex('1e-500') shouldn't raise an exception.Mark Dickinson-9/+9
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-9/+9
2008-06-04Fixed complex.__getnewargs__() to not emit another complex object.Alexandre Vassalotti-1/+2
2008-05-26Renamed PyString to PyBytesChristian Heimes-9/+9
2008-04-18I finally got the time to update and merge Mark's and my trunk-math branch. T...Christian Heimes-3/+62
2008-03-28Fix compiler warning about finite() missing on Solaris.Neal Norwitz-0/+4
2008-02-15Fixed repr() and str() of complex numbers. Complex suffered from the same pro...Christian Heimes-7/+40
2008-01-28static PyObject* variables should use PyString_InternFromString() instead of ...Christian Heimes-6/+7
2008-01-19Indentation normalization.Georg Brandl-8/+8
2008-01-03Backport PEP 3141 from the py3k branch to the trunk. This includes r50877 (justJeffrey Yasskin-6/+54
2007-12-03Shut up a compiler warning.Guido van Rossum-0/+1
2007-11-27Patch # 1507 by Mark Dickinson. Make complex(x, -0) retain the sign ofGuido van Rossum-9/+15
2007-09-17Add a bunch of GIL release/acquire points in tp_print implementations and forBrett Cannon-0/+2
2007-07-21PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis-2/+1
2007-03-17Patch #1675423: PyComplex_AsCComplex() now tries to convert an objectGeorg Brandl-1/+48
2007-03-13Patch #1642844: comments to clarify the complexobject constructor.Georg Brandl-4/+25
2007-03-09Patch #1491866: change the complex() constructor to allow parthensized forms....Collin Winter-5/+25
2007-03-09Fix SF #1676971, Complex OverflowError has a typoNeal Norwitz-1/+1
2006-07-16Use sizeof(buffer) instead of duplicating the constants to ensure they won'tNeal Norwitz-7/+7
2006-06-01Correctly allocate complex types with tp_alloc. (bug #1498638)Georg Brandl-2/+2
2006-04-18C++ compiler cleanup: bunch-o-casts, plus use of unsigned loop index var in a...Skip Montanaro-1/+1
2006-03-30Remove unnecessary casts in type object initializers.Georg Brandl-5/+5
2006-02-27Revert backwards-incompatible const changes.Martin v. Löwis-1/+1
2006-02-15Merge ssize_t branch.Martin v. Löwis-2/+2
2005-12-10Add const to several API functions that take char *.Jeremy Hylton-1/+1
2005-09-16patch [ 1118729 ] Error in representation of complex numbers(again)Georg Brandl-6/+3
2004-12-19Bug #1079011: Incorrect error message (somewhat)Raymond Hettinger-1/+1
2004-08-22Fix repr for negative imaginary part. Fixes #1013908.Martin v. Löwis-2/+6
2004-06-08Patch #774665: Make Python LC_NUMERIC agnostic.Martin v. Löwis-9/+14
2003-10-12Simplify and speedup uses of Py_BuildValue():Raymond Hettinger-2/+2
2003-08-30Remove 'e.g.' from error messageRaymond Hettinger-3/+3
2003-08-15complex_new(): This could leak when the argument was neither string norTim Peters-0/+3
2003-06-17Fix typo in comment.Walter Dörwald-1/+1
2003-03-02Fix from Greg Chapman from SF bug #695651: a complex subclassGuido van Rossum-2/+3
2003-01-29Implement appropriate __getnewargs__ for all immutable subclassable builtinGuido van Rossum-0/+7
2002-08-29complex() was the only numeric constructor that created a new instanceRaymond Hettinger-0/+9
2002-08-19Call me anal, but there was a particular phrase that was speading toGuido van Rossum-1/+1
2002-06-13Patch #568124: Add doc string macros.Martin v. Löwis-2/+2
2002-06-13Rearrange the #ifndef WITHOUT_COMPLEX so it can be picked up fromGuido van Rossum-2/+2
2002-06-06Close SF bug 563740. complex() now finds __complex__() in new style classes.Raymond Hettinger-26/+23
2002-04-15Deprecate % as well. The message for deprecation of //, % and divmodGuido van Rossum-1/+6
2002-04-15SF bug #543387.Guido van Rossum-0/+5
2002-04-14SF bug 543840: complex(string) accepts strings with \0Tim Peters-1/+1
2002-04-12PyObject_Del can now be used as a function designator.Neil Schemenauer-1/+1
2002-03-22SF bug 533198: Complex power underflow raises exception.Tim Peters-3/+9
2002-02-08Declare real and imag as read-only attributes.Guido van Rossum-2/+2
2001-12-13Ensure that complex() only accepts a string argument as the first arg,Fred Drake-1/+13
2001-11-28complex_to_buf(), complex_subtype_from_c_complex(): Conversion ofBarry Warsaw-8/+10