135 Commits (41bade96a4d1dcd35bbba79c2eabe052d02756a4)

Author SHA1 Message Date
Guido van Rossum d8faa3654c Merged revisions 53952-54987 via svnmerge from 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 20 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
Thomas Wouters 4d70c3d9dd Partially merge trunk into p3yk. The removal of Mac/Tools is confusing svn 20 years ago
Thomas Wouters 49fd7fa443 Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 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
Guido van Rossum 65ce6de35c Rearrange the #ifndef WITHOUT_COMPLEX so it can be picked up from 24 years ago
Raymond Hettinger 478d47a168 Close SF bug 563740. complex() now finds __complex__() in new style classes. 24 years ago
Guido van Rossum 69cf3c7641 Deprecate % as well. The message for deprecation of //, % and divmod 24 years ago
Guido van Rossum 9ec4c78a54 SF bug #543387. 24 years ago
Tim Peters 077f27141f SF bug 543840: complex(string) accepts strings with \0 24 years ago
Neil Schemenauer aa769ae468 PyObject_Del can now be used as a function designator. 24 years ago
Tim Peters bab22beda8 SF bug 533198: Complex power underflow raises exception. 24 years ago
Guido van Rossum fa2e4c27d2 Declare real and imag as read-only attributes. 24 years ago
Fred Drake 526c7a0101 Ensure that complex() only accepts a string argument as the first arg, 25 years ago
Barry Warsaw 01d697a067 complex_to_buf(), complex_subtype_from_c_complex(): Conversion of 25 years ago
Guido van Rossum 70e3688364 complex_subtype_from_string(): move the declaration of s_buffer[] out 25 years ago
Guido van Rossum 9475a2310d Enable GC for new-style instances. This touches lots of files, since 25 years ago
Guido van Rossum 2ed6bf87c9 Merge branch changes (coercion, rich comparisons) into trunk. 25 years ago
Guido van Rossum 2205642fe0 Do the same thing to complex that I did to str: the rich comparison 25 years ago
Guido van Rossum 6f7993765a Add optional docstrings to member descriptors. For backwards 25 years ago
Guido van Rossum 638059603c complex_coerce(): add explicit PyComplex_Check() test. Previously, 25 years ago
Tim Peters 2400fa4ad1 Again perhaps the end of [#460020] bug or feature: unicode() and subclasses. 25 years ago
Martin v. Löwis 387c547fd3 Revert parts of patch #453627, documenting the resulting test failures 25 years ago
Martin v. Löwis 655c9557f6 Patch #453627: Define the following macros when compiling on a UnixWare 7.x system: 25 years ago
Tim Peters 9fffa3eea3 Raise OverflowError when appropriate on long->float conversion. Most of 25 years ago
Guido van Rossum 1832de4bc0 PEP 238 documented -Qwarn as warning only for classic int or long 25 years ago
Guido van Rossum 393661d15f Add warning mode for classic division, almost exactly as specified in 25 years ago
Martin v. Löwis 339d0f720e Patch #445762: Support --disable-unicode 25 years ago
Martin v. Löwis e3eb1f2b23 Patch #427190: Implement and use METH_NOARGS and METH_O. 25 years ago