cpython/Python
Guido van Rossum 6f7993765a Add optional docstrings to member descriptors. For backwards
compatibility, this required all places where an array of "struct
memberlist" structures was declared that is referenced from a type's
tp_members slot to change the type of the structure to PyMemberDef;
"struct memberlist" is now only used by old code that still calls
PyMember_Get/Set.  The code in PyObject_GenericGetAttr/SetAttr now
calls the new APIs PyMember_GetOne/SetOne, which take a PyMemberDef
argument.

As examples, I added actual docstrings to the attributes of a few
types: file, complex, instance method, super, and xxsubtype.spamlist.

Also converted the symtable to new style getattr.
2001-09-20 20:46:19 +00:00
..
.cvsignore
atof.c
bltinmodule.c Get rid of builtin_open() entirely (the C code and docstring, not the 2001-09-13 21:49:44 +00:00
ceval.c Add optional docstrings to member descriptors. For backwards 2001-09-20 20:46:19 +00:00
codecs.c
compile.c Add optional docstrings to member descriptors. For backwards 2001-09-20 20:46:19 +00:00
dup2.c
dynload_aix.c
dynload_beos.c
dynload_dl.c
dynload_hpux.c
dynload_mac.c
dynload_next.c
dynload_os2.c
dynload_shlib.c Patch #455231: Support ELF properly on OpenBSD. 2001-09-05 14:24:43 +00:00
dynload_stub.c
dynload_win.c
errors.c PyErr_Format(): Factor out most of this code into 2001-08-24 18:35:23 +00:00
exceptions.c Introduce OverflowWarning -- to be issued when short int operations 2001-08-23 02:56:07 +00:00
fmod.c
frozen.c
frozenmain.c
future.c Fix SF bug [ #450245 ] Error in parsing future stmts 2001-08-20 20:32:33 +00:00
getargs.c Fix core dump in PyArg_ParseTuple() with Unicode arguments. 2001-09-10 01:54:43 +00:00
getcompiler.c
getcopyright.c
getcwd.c
getmtime.c
getopt.c
getplatform.c
getversion.c
graminit.c
hypot.c
import.c Add a new function imp.lock_held(), and use it to skip test_threaded_import 2001-08-30 05:16:13 +00:00
importdl.c
importdl.h
mactoolboxglue.c Replaced PyMac_FullPath by PyMac_FullPathname, which has an extra 'length' 2001-09-10 22:00:39 +00:00
marshal.c fix for part of bug #453523: disable unmarshalling of code objects in 2001-08-30 14:50:20 +00:00
memmove.c
modsupport.c
mysnprintf.c
mystrtoul.c
pyfpe.c
pystate.c
pythonrun.c Add warning mode for classic division, almost exactly as specified in 2001-08-31 17:40:15 +00:00
sigcheck.c
strdup.c
strerror.c
strtod.c
structmember.c Add optional docstrings to member descriptors. For backwards 2001-09-20 20:46:19 +00:00
symtable.c Add optional docstrings to member descriptors. For backwards 2001-09-20 20:46:19 +00:00
sysmodule.c
thread.c
thread_beos.h
thread_cthread.h
thread_foobar.h
thread_lwp.h
thread_nt.h SF bug [#456252] Python should never stomp on [u]intptr_t. 2001-08-29 21:37:10 +00:00
thread_os2.h
thread_pth.h
thread_pthread.h Improve threading on Solaris, according to SF patch #460269, submitted 2001-09-10 14:10:54 +00:00
thread_sgi.h
thread_solaris.h
thread_wince.h
traceback.c