170 Commits (34de2d312b3687994ddbc29adb66e88f672034c7)

Author SHA1 Message Date
Guido van Rossum e7fc50f2d0 Add an errors parameter to open() and TextIOWrapper() to specify error handling. 18 years ago
Guido van Rossum e227263a6c Shut up a compiler warning. 18 years ago
Christian Heimes 69a79638ad Merged revisions 59202-59211 via svnmerge from 18 years ago
Guido van Rossum 715ec1818d Patch # 1507 by Mark Dickinson. Make complex(x, -0) retain the sign of 18 years ago
Neil Schemenauer 16c7075164 Remove more cruft leftover from nb_coerce. Rename nb_coerce to 19 years ago
Brett Cannon 0153159e67 Add a bunch of GIL release/acquire points in tp_print implementations and for 19 years ago
Neal Norwitz ed2b7397a0 Use unicode and remove support for some uses of str8. 19 years ago
Guido van Rossum 04dbf3b5ec Kill all uses and definitions of tp_print under Objects/. (Others will follow.) 19 years ago
Guido van Rossum 46334cdae8 Kill div, mod and divmod on complex (already deprecated in 2.x). 19 years ago
Martin v. Löwis 9f2e346911 Merged revisions 56467-56482 via svnmerge from 19 years ago
Martin v. Löwis 6819210b9e PEP 3123: Provide forward compatibility with Python 3.0, while keeping 19 years ago
Martin v. Löwis 5b222135f8 Make identifiers str (not str8) objects throughout. 19 years ago
Walter Dörwald 7696ed7b92 Change float.__str__() and complex.__str__() to return 19 years ago
Walter Dörwald 1ab8330827 Add functions PyUnicode_Append() and PyUnicode_AppendAndDel() that mirror 19 years ago
Guido van Rossum 8d30cc0144 Get rid of all #ifdef Py_USING_UNICODE (it is always present now). 19 years ago
Guido van Rossum d8faa3654c Merged revisions 53952-54987 via svnmerge from 19 years ago
Georg Brandl 2b869943fa Patch #1675423: PyComplex_AsCComplex() now tries to convert an object 19 years ago
Georg Brandl 8f032cbb05 Patch #1642844: comments to clarify the complexobject constructor. 19 years ago
Collin Winter e38051db87 Patch #1491866: change the complex() constructor to allow parthensized forms. This means complex(repr(x)) now works instead of raising a ValueError. 19 years ago
Neal Norwitz e7881559f2 Fix SF #1676971, Complex OverflowError has a typo 19 years ago
Neal Norwitz 0593de32d9 Fix SF #1676971, Complex OverflowError has a typo 19 years ago
Guido van Rossum ddefaf31b3 Merged the int/long unification branch, by very crude means (sorry Thomas!). 19 years ago
Jack Diederich 4dafcc4ece - patch #1600346 submitted by Tomer Filiba 19 years ago
Guido van Rossum 18a67ba0bd Fix comparing complex to non-complex numbers. 20 years ago
Neal Norwitz 4886cc331f Get rid of most of the rest of coerce (slot is still there for now). 20 years ago
Thomas Wouters 0e3f591aee Merged revisions 46753-51188 via svnmerge from 20 years ago
Guido van Rossum 3cf5b1eef9 Get rid of most of the flags (in tp_flags) that keep track of various 20 years ago
Neal Norwitz 4b0a315c31 Use sizeof(buffer) instead of duplicating the constants to ensure they won't 20 years ago
Thomas Wouters 4d70c3d9dd Partially merge trunk into p3yk. The removal of Mac/Tools is confusing svn 20 years ago
Georg Brandl 6b50c63a23 Correctly allocate complex types with tp_alloc. (bug #1498638) 20 years ago
Thomas Wouters 49fd7fa443 Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 20 years ago
Skip Montanaro 429433b30b C++ compiler cleanup: bunch-o-casts, plus use of unsigned loop index var in a couple places 20 years ago
Georg Brandl 347b30042b Remove unnecessary casts in type object initializers. 20 years ago
Neal Norwitz bcc0db82dc Get rid of remnants of integer division 20 years ago
Martin v. Löwis 15e62742fa Revert backwards-incompatible const changes. 20 years ago
Martin v. Löwis 18e165558b Merge ssize_t branch. 20 years ago
Jeremy Hylton af68c874a6 Add const to several API functions that take char *. 20 years ago
Georg Brandl c404ff2f2d patch [ 1118729 ] Error in representation of complex numbers(again) 21 years ago
Raymond Hettinger 5d01aa4f6a Bug #1079011: Incorrect error message (somewhat) 21 years ago
Martin v. Löwis 70aa1f2095 Fix repr for negative imaginary part. Fixes #1013908. 22 years ago
Martin v. Löwis 737ea82a5a Patch #774665: Make Python LC_NUMERIC agnostic. 22 years ago
Raymond Hettinger 8ae4689657 Simplify and speedup uses of Py_BuildValue(): 23 years ago
Raymond Hettinger 0970dbab97 Remove 'e.g.' from error message 23 years ago
Tim Peters 465fa3dac4 complex_new(): This could leak when the argument was neither string nor 23 years ago
Walter Dörwald 5ecd6c4db2 Fix typo in comment. 23 years ago
Guido van Rossum 4eadfa2b2e Fix from Greg Chapman from SF bug #695651: a complex subclass 23 years ago
Guido van Rossum 5d9113d8be Implement appropriate __getnewargs__ for all immutable subclassable builtin 23 years ago
Raymond Hettinger 604cd6ae79 complex() was the only numeric constructor that created a new instance 24 years ago
Guido van Rossum e3a8e7ed1d Call me anal, but there was a particular phrase that was speading to 24 years ago
Martin v. Löwis 14f8b4cfcb Patch #568124: Add doc string macros. 24 years ago