229 Commits (c19bb3279cbb42c84a24255db48ee2d385bb8167)

Author SHA1 Message Date
Martin v. Löwis 3a62404264 Correctly forward exception in instance_contains(). 20 years ago
Georg Brandl af4337a017 Patch #1567691: super() and new.instancemethod() now don't accept 20 years ago
Georg Brandl 5d59c09834 Patch #1567691: super() and new.instancemethod() now don't accept 20 years ago
Guido van Rossum 47b9ff6ba1 Restructure comparison dramatically. There is no longer a default 20 years ago
Neal Norwitz 6cbb726539 Move initialization of interned strings to before allocating the 20 years ago
Neal Norwitz 3ba24783ba Move initialization of interned strings to before allocating the 20 years ago
Guido van Rossum 50e9fb9e2d Completely get rid of PyClass and PyInstance. 20 years ago
Neal Norwitz af33f2d571 Can't return NULL from a void function. If there is a memory error, 20 years ago
Neal Norwitz b09f4f578f Handle a whole lot of failures from PyString_FromInternedString(). 20 years ago
Neal Norwitz 1872b1c01f Fix a couple of bugs exposed by the new __index__ code. The 64-bit buildbots 20 years ago
Neal Norwitz 8a87f5d37e Patch #1538606, Patch to fix __index__() clipping. 20 years ago
Thomas Wouters 0e3f591aee Merged revisions 46753-51188 via svnmerge from 20 years ago
Martin v. Löwis ab2f8f7bd5 __hash__ may now return long int; the final hash 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
Brett Cannon ea3912b0da If a classic class defined a __coerce__() method that just returned its two 20 years ago
Thomas Wouters 73e5a5b65d Merge the rest of the trunk. 20 years ago
Thomas Wouters 4d70c3d9dd Partially merge trunk into p3yk. The removal of Mac/Tools is confusing svn 20 years ago
Armin Rigo fd01d7933b (arre, arigo) SF bug #1350060 20 years ago
Georg Brandl 2cfaa34dfa Correct some value converting strangenesses. 20 years ago
Thomas Wouters 477c8d5e70 Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 20 years ago
Georg Brandl e4e023c4d3 Simplify calling. 20 years ago
Georg Brandl 684fd0c8ec Replace PyObject_CallFunction calls with only object args 20 years ago
Martin v. Löwis 6685128b97 Fix more ssize_t issues. 20 years ago
Thomas Wouters 49fd7fa443 Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 20 years ago
Thomas Wouters c6e55068ca Use Py_VISIT in all tp_traverse methods, instead of traversing manually or 20 years ago
Anthony Baxter 377be11ee1 More C++-compliance. Note especially listobject.c - to get C++ to accept the 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
Neal Norwitz badc086543 Stop duplicating code and handle slice indices consistently and correctly 20 years ago
Neal Norwitz 2aa9a5dfdd Use macro versions instead of function versions when we already know the type. 21 years ago
Guido van Rossum 38fff8c4e4 Checking in the code for PEP 357. 21 years ago
Martin v. Löwis 15e62742fa Revert backwards-incompatible const changes. 21 years ago
Martin v. Löwis dde99d2633 Remove size constraints in SLICE opcodes. 21 years ago
Martin v. Löwis 18e165558b Merge ssize_t branch. 21 years ago
Jeremy Hylton af68c874a6 Add const to several API functions that take char *. 21 years ago
Guido van Rossum 630db60a55 - On 64-bit platforms, when __len__() returns a value that cannot be 21 years ago
Guido van Rossum ba3e6ec0c9 A minor fix for 64-bit platforms: when __len__() returns Python int 21 years ago
Raymond Hettinger bff60aeb93 Insert missing flag. 21 years ago
Michael W. Hudson e2749cb264 Fix for rather inaccurately titled bug 21 years ago
Tim Peters f4aca755bc A static swapped_op[] array was defined in 3 different C files, & I think 22 years ago
Michael W. Hudson 3f3b66823f Repair the same thinko in two places about handling of _Py_RefTotal in 22 years ago
Guido van Rossum baf0f8f24d - When method objects have an attribute that can be satisfied either 23 years ago
Armin Rigo 2b3eb4062c Deleting cyclic object comparison. 23 years ago
Raymond Hettinger 8ae4689657 Simplify and speedup uses of Py_BuildValue(): 23 years ago
Raymond Hettinger a9e14b7015 Fix leak in classobject.c. The leak surfaced on the error exit when 23 years ago
Guido van Rossum 2fb9fdc96a Make it possible to call instancemethod() with 2 arguments. 23 years ago
Tim Peters df875b99fc New private API function _PyInstance_Lookup. gc will use this to figure 23 years ago
Guido van Rossum 6bae46d8c1 Refactor instancemethod_descr_get() to (a) be more clear, (b) be safe 24 years ago
Raymond Hettinger ea3fdf44a2 SF patch #659536: Use PyArg_UnpackTuple where possible. 24 years ago
Walter Dörwald 7e5c6a02eb Change issubclass() so that recursive tuples (directly or indirectly 24 years ago