cpython/Objects
Guido van Rossum 298e421453 SF patch #685738 by Michael Stone.
This changes the default __new__ to refuse arguments iff tp_init is the
default __init__ implementation -- thus making it a TypeError when you
try to pass arguments to a constructor if the class doesn't override at
least __init__ or __new__.
2003-02-13 16:30:16 +00:00
..
.cvsignore Ignore a bunch of generated files. 2000-05-02 18:34:30 +00:00
abstract.c Add missing cast in previous fix. 2003-02-12 03:36:05 +00:00
boolobject.c Make more functions static 2002-08-06 22:12:52 +00:00
bufferobject.c Call me anal, but there was a particular phrase that was speading to 2002-08-19 19:26:42 +00:00
cellobject.c Use new GC API. 2001-08-29 23:54:21 +00:00
classobject.c Refactor instancemethod_descr_get() to (a) be more clear, (b) be safe 2003-02-11 18:43:00 +00:00
cobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
complexobject.c Implement appropriate __getnewargs__ for all immutable subclassable builtin 2003-01-29 17:58:45 +00:00
descrobject.c Put proper tests in classmethod_get(). Remove the type argument to 2003-02-11 18:44:42 +00:00
dictobject.c SF patch #659536: Use PyArg_UnpackTuple where possible. 2002-12-29 16:33:45 +00:00
enumobject.c Remove the next() method -- one is supplied automatically by 2002-07-16 21:02:42 +00:00
fileobject.c SF patch #683187, fix universal newline problems on error 2003-02-09 01:10:02 +00:00
floatobject.c Implement appropriate __getnewargs__ for all immutable subclassable builtin 2003-01-29 17:58:45 +00:00
frameobject.c Refactor the logic for setting f_builtins. 2003-02-05 22:39:29 +00:00
funcobject.c Provide __module__ attributes for functions defined in C and Python. 2003-01-31 18:33:18 +00:00
intobject.c Issue a warning when int('0...', 0) returns an int with the sign 2003-02-12 20:48:22 +00:00
iterobject.c Squash a few calls to the hideously expensive PyObject_CallObject(o,a) 2002-08-16 17:01:09 +00:00
listobject.c Allow list sort's comparison function to explicitly be None. See SF patch 2003-01-02 20:51:08 +00:00
listsort.txt Fixed new typos, added a little info about ~sort versus "hint"s. 2002-08-10 07:04:01 +00:00
longobject.c _PyLong_Sign(): remove an assert that needed a variable ndigits that 2003-02-03 15:28:19 +00:00
methodobject.c Provide __module__ attributes for functions defined in C and Python. 2003-01-31 18:33:18 +00:00
moduleobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
object.c SF bug 681122: Built-in function dir() causes refcount leak in baseclasses. 2003-02-05 19:35:19 +00:00
obmalloc.c Remove MALLOC_ZERO_RETURNS_NULL. 2002-11-23 09:13:40 +00:00
rangeobject.c Update comments about the performance of xrange(). 2002-12-11 07:14:03 +00:00
sliceobject.c SF patch #659536: Use PyArg_UnpackTuple where possible. 2002-12-29 16:33:45 +00:00
stringobject.c Implement appropriate __getnewargs__ for all immutable subclassable builtin 2003-01-29 17:58:45 +00:00
structseq.c Removed all uses of the out-of-favor __safe_for_unpickling__ magic 2003-02-01 02:16:37 +00:00
tupleobject.c Implement appropriate __getnewargs__ for all immutable subclassable builtin 2003-01-29 17:58:45 +00:00
typeobject.c SF patch #685738 by Michael Stone. 2003-02-13 16:30:16 +00:00
unicodectype.c Make lower/upper/title work for non-BMP characters. 2002-10-18 16:40:36 +00:00
unicodeobject.c Add more missing PyErr_NoMemory() after failled memory allocs 2003-02-11 23:05:40 +00:00
unicodetype_db.h Add unidata_version. Bump generator version number. 2002-11-25 09:13:37 +00:00
weakrefobject.c Add support for the iterator protocol to weakref proxy objects. 2002-08-09 18:34:16 +00:00
xxobject.c Grammatical fix in comment. 2003-01-03 21:22:08 +00:00