cpython/Objects
Jeremy Hylton 4f0dcc9a9a Provide __module__ attributes for functions defined in C and Python.
__module__ is the string name of the module the function was defined
in, just like __module__ of classes.  In some cases, particularly for
C functions, the __module__ may be None.

Change PyCFunction_New() from a function to a macro, but keep an
unused copy of the function around so that we don't change the binary
API.

Change pickle's save_global() to use whichmodule() if __module__ is
None, but add the __module__ logic to whichmodule() since it might be
used outside of pickle.
2003-01-31 18:33:18 +00:00
..
.cvsignore Ignore a bunch of generated files. 2000-05-02 18:34:30 +00:00
abstract.c Merge to trunk from release branch: 2002-12-31 19:50:03 +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 SF patch #659536: Use PyArg_UnpackTuple where possible. 2002-12-29 16:33:45 +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 SF patch #659536: Use PyArg_UnpackTuple where possible. 2002-12-29 16:33:45 +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 Allow PyFile_GetLine() to return Unicode objects. Fixes #660165. 2003-01-03 19:16:14 +00:00
floatobject.c Implement appropriate __getnewargs__ for all immutable subclassable builtin 2003-01-29 17:58:45 +00:00
frameobject.c Since the *_Init() are private, prefix with _, suggested by Skip 2002-12-31 03:42:13 +00:00
funcobject.c Provide __module__ attributes for functions defined in C and Python. 2003-01-31 18:33:18 +00:00
intobject.c Implement appropriate __getnewargs__ for all immutable subclassable builtin 2003-01-29 17:58:45 +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_NumBits(): The definition of this was too specific to the quirky 2003-01-31 15:52:05 +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 Recursive compare machinery: The code that intended to exempt tuples 2003-01-20 16:54:59 +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 SF # 654974, fix unchecked return values in structseq 2002-12-18 23:20:39 +00:00
tupleobject.c Implement appropriate __getnewargs__ for all immutable subclassable builtin 2003-01-29 17:58:45 +00:00
typeobject.c Fix for SF bug #642358: only provide a new with a __dict__ or 2003-01-07 13:41:37 +00:00
unicodectype.c Make lower/upper/title work for non-BMP characters. 2002-10-18 16:40:36 +00:00
unicodeobject.c Change the treatment of positions returned by PEP293 2003-01-31 17:19:08 +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