cpython/Objects
Brett Cannon c3647ac93e Make subclasses of int, long, complex, float, and unicode perform type
conversion using the proper magic slot (e.g., __int__()).  Also move conversion
code out of PyNumber_*() functions in the C API into the nb_* function.

Applied patch #1109424.  Thanks Walter Doewald.
2005-04-26 03:45:26 +00:00
..
.cvsignore
abstract.c Make subclasses of int, long, complex, float, and unicode perform type 2005-04-26 03:45:26 +00:00
boolobject.c - bool() called without arguments now returns False rather than 2003-04-19 18:15:10 +00:00
bufferobject.c Ensure negative offsets cannot be passed to buffer(). When composing 2004-09-24 19:17:26 +00:00
cellobject.c
classobject.c Fix for rather inaccurately titled bug 2005-03-30 16:32:10 +00:00
cobject.c Make CObjects mutable. Fixes #477441. 2003-10-19 18:30:01 +00:00
complexobject.c Bug #1079011: Incorrect error message (somewhat) 2004-12-19 20:45:20 +00:00
descrobject.c As per discussion on python-dev, descriptors defined in C with a NULL setter 2005-04-19 23:43:40 +00:00
dictnotes.txt Fix typos and add some elaborations 2004-03-15 15:52:22 +00:00
dictobject.c SF bug #1183742: PyDict_Copy() can return non-NULL value on error 2005-04-15 15:58:42 +00:00
enumobject.c SF patch #1020188: Use Py_CLEAR where necessary to avoid crashes 2004-09-01 07:02:44 +00:00
fileobject.c If close() fails in file_dealloc, then print an error message to 2004-11-07 14:15:28 +00:00
floatobject.c Make subclasses of int, long, complex, float, and unicode perform type 2005-04-26 03:45:26 +00:00
frameobject.c SF Bug #215126: Over restricted type checking on eval() function 2004-07-02 06:41:07 +00:00
funcobject.c Fix 2005-02-17 10:37:21 +00:00
genobject.c SF patch #1020188: Use Py_CLEAR where necessary to avoid crashes 2004-09-01 07:02:44 +00:00
intobject.c Make subclasses of int, long, complex, float, and unicode perform type 2005-04-26 03:45:26 +00:00
iterobject.c SF patch #1020188: Use Py_CLEAR where necessary to avoid crashes 2004-09-01 07:02:44 +00:00
listobject.c Finalize the freelist of list objects. 2004-10-07 03:58:07 +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 Make subclasses of int, long, complex, float, and unicode perform type 2005-04-26 03:45:26 +00:00
methodobject.c * Added a new method flag, METH_COEXIST. 2003-12-13 11:26:12 +00:00
moduleobject.c Make the word "module" appear in the error string for calling the 2004-09-14 17:19:09 +00:00
object.c Make subclasses of int, long, complex, float, and unicode perform type 2005-04-26 03:45:26 +00:00
obmalloc.c whoops, I wanted that commented out by default, will add doc to Misc 2004-06-06 19:21:34 +00:00
rangeobject.c Remove PyRange_New(). 2004-12-03 11:45:13 +00:00
setobject.c SF 1062353: set pickling problems 2004-11-09 07:25:31 +00:00
sliceobject.c SF bug #800796: Difference between hash() and __hash__() 2003-09-05 14:27:30 +00:00
stringobject.c * Beef-up tests for str.count(). 2005-02-20 09:54:53 +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 Add a final permutation step to the tuple hash function. 2004-06-10 18:42:15 +00:00
typeobject.c SF bug #1155938: Missing None check for __init__(). 2005-03-03 16:45:19 +00:00
unicodectype.c SF #989185: Drop unicode.iswide() and unicode.width() and add 2004-08-04 07:38:35 +00:00
unicodeobject.c Correct the handling of 0-termination of PyUnicode_AsWideChar() 2004-11-22 13:02:31 +00:00
unicodetype_db.h SF #989185: Drop unicode.iswide() and unicode.width() and add 2004-08-04 07:38:35 +00:00
weakrefobject.c SF bug #1770766: weakref proxy has incorrect __nonzero__ behavior. 2005-03-27 03:04:54 +00:00