summaryrefslogtreecommitdiff
path: root/Objects/complexobject.c
AgeCommit message (Expand)AuthorLines
2018-07-31[2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479)Serhiy Storchaka-2/+2
2017-02-20bpo-29602: fix signed zero handling in complex constructor (#204)Mark Dickinson-3/+3
2016-09-17Issue #28139: Fix messed up indentationMartin Panter-24/+24
2016-06-21Issue #22463: Backport compiler warning fixes and workaroundsMartin Panter-1/+1
2015-11-20Issue #25678: Copy buffer objects to null-terminated strings.Serhiy Storchaka-1/+1
2014-10-10Issue #22604: Fix assertion error in debug mode when dividing a complex numbe...Antoine Pitrou-2/+6
2013-10-06#19068: use imperative mood in complex object docstrings. Patch by Marco Buttu.Ezio Melotti-2/+2
2010-05-30Issue #8748: Fix incorrect results from comparisons between an integerMark Dickinson-9/+54
2010-05-30Remove declaration for unused variable.Mark Dickinson-1/+0
2010-05-30Issue #5211: Complete removal of implicit coercions for the complexMark Dickinson-19/+2
2010-05-09Untabify C files. Will watch buildbots.Antoine Pitrou-927/+927
2010-02-22#7482: clarify error message in case of division by zero of float and complex...Ezio Melotti-2/+2
2010-02-21Issue #5211: Fix complex type to avoid implicit calls toMark Dickinson-26/+45
2010-01-04factor out __complex__ lookup code to fix another caseBenjamin Peterson-50/+44
2010-01-04do correct lookup of the __complex__ methodBenjamin Peterson-8/+14
2009-11-28Include ieeefp.h (when available) in pyport.h instead of individually inMark Dickinson-4/+0
2009-10-26Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod inMark Dickinson-16/+29
2009-05-20Issue #5829: don't raise OverflowError for complex('1e500'). Backport of r72...Mark Dickinson-9/+0
2009-05-17Issue #6044: remove confusing wording from complex -> integer andMark Dickinson-3/+3
2009-05-05Issue #5920: Changed format.__float__ and complex.__float__ to use a precisio...Eric Smith-7/+10
2009-05-03Eliminate some locale-dependent calls to isspace and tolower.Mark Dickinson-4/+4
2009-04-30Issue #1588: Add complex.__format__.Eric Smith-0/+37
2009-04-26Reset errno before both calls to PyOS_ascii_strtod, not just one.Mark Dickinson-2/+2
2009-04-25Fix typo in complex parsing code; expand tests.Mark Dickinson-1/+1
2009-04-24Fix missing 'return NULL'Mark Dickinson-1/+1
2009-04-24Issue #5816:Mark Dickinson-163/+157
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