summaryrefslogtreecommitdiff
path: root/Objects/classobject.c
AgeCommit message (Expand)AuthorLines
2018-07-31[2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479)Serhiy Storchaka-1/+1
2017-09-13consistently use Py_TYPE, Py_REFCNT, and correct initializer macros (#3563)Benjamin Peterson-26/+23
2016-06-21Issue #22463: Backport compiler warning fixes and workaroundsMartin Panter-1/+1
2014-08-01Fix typo in comment.Raymond Hettinger-1/+1
2012-03-16check for string attribute names in old-style classes (closes #14334)Benjamin Peterson-3/+27
2011-10-15PyEval_CallObject requires a tuple of args (closes #13186)Benjamin Peterson-1/+1
2010-05-09Untabify C files. Will watch buildbots.Antoine Pitrou-2006/+2006
2010-03-31Issue #8268: Old-style classes (not just instances) now support weakAntoine Pitrou-1/+4
2009-09-01remove the check that classmethod's argument is a callableBenjamin Peterson-4/+0
2008-08-24generate py3k warnings on __getslice__, __delslice__, and __setslice__Benjamin Peterson-3/+24
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-87/+87
2008-05-26Renamed PyString to PyBytesChristian Heimes-87/+87
2008-03-18Issue 2332: add new attribute names for instance method objectsNeal Norwitz-0/+4
2008-02-14Implemented Martin's suggestion to clear the free lists during the garbage co...Christian Heimes-2/+11
2008-02-06Unified naming convention for free lists and their limits. All free listsChristian Heimes-2/+4
2008-02-06Limit free list of method and builtin function objects to 256 entries each.Christian Heimes-5/+18
2008-02-04Make int() and long() fall back to __trunc__(). See issue 2002.Jeffrey Yasskin-1/+23
2008-01-18Fix an edge case whereby the __del__() method of a classic class couldGuido van Rossum-0/+10
2007-05-07As per Armin Rigo's suggestion, remove special handing from intobject.c to de...Kristján Valur Jónsson-1/+13
2006-11-08Correctly forward exception in instance_contains().Martin v. Löwis-4/+6
2006-09-30Patch #1567691: super() and new.instancemethod() now don't acceptGeorg Brandl-0/+2
2006-08-19Move initialization of interned strings to before allocating theNeal Norwitz-11/+15
2006-08-14Can't return NULL from a void function. If there is a memory error,Neal Norwitz-2/+2
2006-08-13Handle a whole lot of failures from PyString_FromInternedString().Neal Norwitz-25/+101
2006-08-12Fix a couple of bugs exposed by the new __index__ code. The 64-bit buildbotsNeal Norwitz-6/+7
2006-08-12Patch #1538606, Patch to fix __index__() clipping.Neal Norwitz-18/+6
2006-08-09__hash__ may now return long int; the final hashMartin v. Löwis-5/+3
2006-06-13If a classic class defined a __coerce__() method that just returned its twoBrett Cannon-0/+3
2006-06-08(arre, arigo) SF bug #1350060Armin Rigo-3/+14
2006-05-29Correct some value converting strangenesses.Georg Brandl-2/+2
2006-05-26Simplify calling.Georg Brandl-8/+2
2006-05-25Replace PyObject_CallFunction calls with only object argsGeorg Brandl-5/+2
2006-04-22Fix more ssize_t issues.Martin v. Löwis-5/+5
2006-04-15Use Py_VISIT in all tp_traverse methods, instead of traversing manually orThomas Wouters-58/+11
2006-04-11More C++-compliance. Note especially listobject.c - to get C++ to accept theAnthony Baxter-27/+27
2006-03-30Remove unnecessary casts in type object initializers.Georg Brandl-40/+40
2006-03-23Stop duplicating code and handle slice indices consistently and correctlyNeal Norwitz-24/+3
2006-03-20Use macro versions instead of function versions when we already know the type.Neal Norwitz-5/+5
2006-03-07Checking in the code for PEP 357.Guido van Rossum-0/+38
2006-02-27Revert backwards-incompatible const changes.Martin v. Löwis-1/+1
2006-02-17Remove size constraints in SLICE opcodes.Martin v. Löwis-3/+3
2006-02-15Merge ssize_t branch.Martin v. Löwis-22/+26
2005-12-10Add const to several API functions that take char *.Jeremy Hylton-1/+1
2005-09-20- On 64-bit platforms, when __len__() returns a value that cannot beGuido van Rossum-1/+1
2005-09-19A minor fix for 64-bit platforms: when __len__() returns Python intGuido van Rossum-1/+11
2005-06-19Insert missing flag.Raymond Hettinger-1/+1
2005-03-30Fix for rather inaccurately titled bugMichael W. Hudson-0/+6
2004-09-23A static swapped_op[] array was defined in 3 different C files, & I thinkTim Peters-4/+1
2004-08-03Repair the same thinko in two places about handling of _Py_RefTotal inMichael W. Hudson-6/+7
2003-11-22- When method objects have an attribute that can be satisfied eitherGuido van Rossum-28/+30