You can subscribe to this list here.
2003 |
Jan
(7) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
---|
From: <fal...@us...> - 2003-10-05 00:00:30
|
Update of /cvsroot/pyaros/PyAROS/Modules In directory sc8-pr-cvs1:/tmp/cvs-serv29806/Modules Modified Files: pcre-int.h Log Message: AROS Posix includes don't contain BOOL, FALSE and TRUE definitions anymore, so define them Index: pcre-int.h =================================================================== RCS file: /cvsroot/pyaros/PyAROS/Modules/pcre-int.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pcre-int.h 30 Dec 2002 12:27:03 -0000 1.3 --- pcre-int.h 5 Oct 2003 00:00:26 -0000 1.4 *************** *** 100,109 **** /* Miscellaneous definitions */ ! #ifndef __AROS__ ! typedef int BOOL; ! # define FALSE 0 ! # define TRUE 1 ! #endif /* __AROS__ */ /* These are escaped items that aren't just an encoding of a particular data --- 100,107 ---- /* Miscellaneous definitions */ ! typedef int BOOL; ! #define FALSE 0 ! #define TRUE 1 /* These are escaped items that aren't just an encoding of a particular data |
From: <cho...@us...> - 2003-05-01 21:19:25
|
Update of /cvsroot/pyaros/PyAROS/AROS In directory sc8-pr-cvs1:/tmp/cvs-serv26361 Modified Files: HISTORY Log Message: Added changelog for 0.1r2. Index: HISTORY =================================================================== RCS file: /cvsroot/pyaros/PyAROS/AROS/HISTORY,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** HISTORY 31 Oct 2002 12:18:15 -0000 1.1 --- HISTORY 1 May 2003 21:19:20 -0000 1.2 *************** *** 1,2 **** --- 1,9 ---- + 0.1r2 [2.2.1] (2003-05-01) + -------------------------- + + The binaries now work with the current AROS builds. No changes have been made + otherwise; this is a straight recompile of 0.1. + + 0.1 [2.2.1] (2002-10-31) ------------------------ |
From: <cho...@us...> - 2003-01-25 19:01:59
|
Update of /cvsroot/pyaros/PyAROS/Modules In directory sc8-pr-cvs1:/tmp/cvs-serv28855 Modified Files: amigamodule.c Log Message: Synced the docstrings of stat() and lstat() against Python 2.2.1 posixmodule. Index: amigamodule.c =================================================================== RCS file: /cvsroot/pyaros/PyAROS/Modules/amigamodule.c,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** amigamodule.c 31 Dec 2002 12:50:39 -0000 1.11 --- amigamodule.c 25 Jan 2003 19:01:55 -0000 1.12 *************** *** 493,497 **** #ifdef PYTHON_INCLUDE_DOCSTRINGS static char amiga_stat__doc__[] = ! "stat(path) -> (mode,ino,dev,nlink,uid,gid,size,atime,mtime,ctime)\n\ Perform a stat system call on the given path."; #else --- 493,498 ---- #ifdef PYTHON_INCLUDE_DOCSTRINGS static char amiga_stat__doc__[] = ! "stat(path) -> (st_mode, st_ino, st_dev, st_nlink, st_uid, st_gid,\n\ ! st_size, st_atime, st_mtime, st_ctime)\n\ Perform a stat system call on the given path."; #else *************** *** 935,939 **** #ifdef PYTHON_INCLUDE_DOCSTRINGS static char amiga_lstat__doc__[] = ! "lstat(path) -> (mode,ino,dev,nlink,uid,gid,size,atime,mtime,ctime)\n\ Like stat(path), but do not follow symbolic links."; #else --- 936,941 ---- #ifdef PYTHON_INCLUDE_DOCSTRINGS static char amiga_lstat__doc__[] = ! "lstat(path) -> (st_mode, st_ino, st_dev, st_nlink, st_uid, st_gid,\n\ ! st_size, st_atime, st_mtime, st_ctime)\n\ Like stat(path), but do not follow symbolic links."; #else |
From: <cho...@us...> - 2003-01-04 22:57:51
|
Update of /cvsroot/pyaros/PyAROS/Parser In directory sc8-pr-cvs1:/tmp/cvs-serv1786/Parser Modified Files: intrcheck.c module.make Added Files: intrcheck_aros.c Log Message: Moved the AROS part of intrcheck.c into intrcheck_aros.c for code clarity. Also saves some bytes since we don't need PyOS_AfterFork(). --- NEW FILE: intrcheck_aros.c --- #include "Python.h" #include <proto/dos.h> #include <dos/dos.h> void PyOS_InitInterrupts(void) { } void PyOS_FiniInterrupts(void) { } int PyOS_InterruptOccurred(void) { if( CheckSignal( SIGBREAKF_CTRL_C ) ) return TRUE; else return FALSE; } Index: intrcheck.c =================================================================== RCS file: /cvsroot/pyaros/PyAROS/Parser/intrcheck.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** intrcheck.c 30 Dec 2002 12:27:03 -0000 1.3 --- intrcheck.c 4 Jan 2003 22:57:46 -0000 1.4 *************** *** 100,128 **** #endif /* macintosh */ - #ifdef __AROS__ - #include <proto/dos.h> - #include <dos/dos.h> - - void - PyOS_InitInterrupts(void) - { - } - - void - PyOS_FiniInterrupts(void) - { - } - - int - PyOS_InterruptOccurred(void) - { - if( CheckSignal( SIGBREAKF_CTRL_C ) ) - return TRUE; - else - return FALSE; - } - - #define OK - #endif #ifndef OK --- 100,103 ---- Index: module.make =================================================================== RCS file: /cvsroot/pyaros/PyAROS/Parser/module.make,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** module.make 16 Oct 2002 08:02:26 -0000 1.1 --- module.make 4 Jan 2003 22:57:47 -0000 1.2 *************** *** 13,17 **** printgrammar \ tokenizer \ ! intrcheck USER_CFLAGS += -IParser --- 13,17 ---- printgrammar \ tokenizer \ ! intrcheck_aros USER_CFLAGS += -IParser |
From: <cho...@us...> - 2003-01-02 14:44:02
|
Update of /cvsroot/pyaros/PyAROS/Include In directory sc8-pr-cvs1:/tmp/cvs-serv20847/Include Modified Files: pyconfig.h Log Message: Disable unicode support when building TINY version. Index: pyconfig.h =================================================================== RCS file: /cvsroot/pyaros/PyAROS/Include/pyconfig.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** pyconfig.h 31 Dec 2002 12:52:24 -0000 1.4 --- pyconfig.h 2 Jan 2003 14:43:55 -0000 1.5 *************** *** 189,202 **** /* #undef _LARGEFILE_SOURCE */ ! /* Define if you want to have a Unicode type. */ ! #define Py_USING_UNICODE 1 ! /* Define as the integral type used for Unicode representation. */ ! /* FIXME: Should be decided dynamically... */ ! #define PY_UNICODE_TYPE unsigned short ! /* Define as the size of the unicode type. */ ! /* FIXME: Should be decided dynamically... */ ! #define Py_UNICODE_SIZE 2 /* Define if nice() returns success/failure instead of the new priority. */ --- 189,204 ---- /* #undef _LARGEFILE_SOURCE */ ! #ifndef PYTHON_TINY ! /* Define if you want to have a Unicode type. */ ! # define Py_USING_UNICODE 1 ! /* Define as the integral type used for Unicode representation. */ ! /* FIXME: Should be decided dynamically... */ ! # define PY_UNICODE_TYPE unsigned short ! /* Define as the size of the unicode type. */ ! /* FIXME: Should be decided dynamically... */ ! # define Py_UNICODE_SIZE 2 ! #endif /* Define if nice() returns success/failure instead of the new priority. */ |
From: <cho...@us...> - 2003-01-02 14:44:02
|
Update of /cvsroot/pyaros/PyAROS/Objects In directory sc8-pr-cvs1:/tmp/cvs-serv20847/Objects Modified Files: module.make Log Message: Disable unicode support when building TINY version. Index: module.make =================================================================== RCS file: /cvsroot/pyaros/PyAROS/Objects/module.make,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** module.make 16 Oct 2002 08:02:25 -0000 1.1 --- module.make 2 Jan 2003 14:43:55 -0000 1.2 *************** *** 25,31 **** tupleobject \ typeobject \ - unicodectype \ - unicodeobject \ weakrefobject # Don't compile obmalloc unless WITH_PYMALLOC is defined, or we'll crash --- 25,35 ---- tupleobject \ typeobject \ weakrefobject + + ifeq ($(TINY),no) + LOCAL_FILES += \ + unicodectype \ + unicodeobject + endif # Don't compile obmalloc unless WITH_PYMALLOC is defined, or we'll crash |
From: <cho...@us...> - 2003-01-02 02:35:24
|
Update of /cvsroot/pyaros/PyAROS In directory sc8-pr-cvs1:/tmp/cvs-serv314 Modified Files: Makefile Log Message: Implemented separate build directories for intermedietary files, which means that you can have several version built (tiny, regular, tiny+debug, regular+debug) without them interfering with each other [no more "make clean"]. Index: Makefile =================================================================== RCS file: /cvsroot/pyaros/PyAROS/Makefile,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Makefile 30 Dec 2002 13:16:47 -0000 1.9 --- Makefile 2 Jan 2003 02:35:19 -0000 1.10 *************** *** 1,49 **** ! # Configuration section ! EXEDIR ?= ../Build ! EXE ?= $(EXEDIR)/Python ! TINY ?= no ! DEBUG ?= yes ! ifeq ($(DEBUG),yes) ! CC := i386-linux-aros-gcc ! EXEDIR := $(EXEDIR)-Debug else ! CC := i386-pc-aros-gcc endif ! ifeq ($(TINY),yes) ! EXEDIR := $(EXEDIR)-Tiny endif ! SUBDIRS := Python Parser Objects Modules Lib ! # Every component makefile will add to the variables below, if needed. ! FILES := # Source files to be compiled. ! MODULE_FILES := # Module files to be copied to $(PYTHONDIR). ! MODULE_DIRS := # Module directories to be created in $(PYTHONDIR). ! CFLAGS := -I. -IInclude -DAROS -D'PLATFORM="AROS"' ! LIBS := -larossupport -lamiga ! ifeq ($(TINY),no) ! LIBS := $(LIBS) -larosz -lexpat endif - # Setup additional options ifeq ($(TINY),yes) ! CFLAGS += -DPYTHON_TINY ! endif ! ! ifeq ($(DEBUG),yes) ! CFLAGS += -g3 else ! CFLAGS += -O3 -fomit-frame-pointer endif include $(patsubst %, %/module.make, $(SUBDIRS)) SRCS := $(patsubst %, %.c, $(FILES)) ! OBJS := $(patsubst %, %.o, $(FILES)) ! DEPS := $(patsubst %, %.d, $(FILES)) ! DIRS := $(EXEDIR) $(EXEDIR)/Libs $(EXEDIR)/Libs/Python \ $(patsubst %, $(EXEDIR)/Libs/Python/%, $(MODULE_DIRS)) MODS := $(patsubst %, $(EXEDIR)/Libs/Python/%, $(MODULE_FILES)) --- 1,65 ---- ! ### Configuration ############################################################## ! #%% Options %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ! # Build tiny version? ! TINY ?= no ! # Build debug version? ! DEBUG ?= yes ! #%% Paths %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ! # Base directory for intermediate build files. ! OBJDIR_BASE ?= ../Build ! # Base directory for final build files. ! EXEDIR_BASE ?= ../Final ! ! ### Initial setup ############################################################## ! #%% Components %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ! SUBDIRS := Python Parser Objects Modules Lib ! ! # Every component makefile will add to the variables below, if needed. ! FILES := # Source files to be compiled. ! MODULE_FILES := # Module files to be copied to $(PYTHONDIR). ! MODULE_DIRS := # Module directories to be created in $(PYTHONDIR). ! ! ### Processing of options ###################################################### ! #%% Paths %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ! ifeq ($(TINY),yes) ! SUFFIX := Tiny else ! SUFFIX := Regular endif ! ifeq ($(DEBUG),yes) ! SUFFIX := $(SUFFIX)DEBUG endif ! OBJDIR := $(OBJDIR_BASE)/$(SUFFIX) ! EXEDIR := $(EXEDIR_BASE)/$(SUFFIX) ! EXE := $(EXEDIR)/Python ! #%% Compiler and libraries %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ! CFLAGS := -I. -IInclude -DAROS -D'PLATFORM="AROS"' ! LIBS := -larossupport -lamiga ! ifeq ($(DEBUG),yes) ! CC := i386-linux-aros-gcc ! CFLAGS := $(CFLAGS) -g3 ! else ! CC := i386-pc-aros-gcc ! CFLAGS := $(CFLAGS) -O3 -fomit-frame-pointer endif ifeq ($(TINY),yes) ! CFLAGS := $(CFLAGS) -DPYTHON_TINY else ! LIBS := $(LIBS) -larosz -lexpat endif + ### Build rules ################################################################ include $(patsubst %, %/module.make, $(SUBDIRS)) SRCS := $(patsubst %, %.c, $(FILES)) ! OBJS := $(patsubst %, $(OBJDIR)/%.o, $(FILES)) ! DEPS := $(patsubst %, $(OBJDIR)/%.d, $(FILES)) ! DIRS := $(EXEDIR) $(EXEDIR)/Libs $(EXEDIR)/Libs/Python $(OBJDIR) \ $(patsubst %, $(EXEDIR)/Libs/Python/%, $(MODULE_DIRS)) MODS := $(patsubst %, $(EXEDIR)/Libs/Python/%, $(MODULE_FILES)) *************** *** 51,72 **** all : setup depend $(EXE) - $(EXE) : $(OBJS) - @echo Linking $(basename $@) ... - @$(CC) $(CFLAGS) $^ $(LIBS) -o $@ - ifeq ($(DEBUG),no) - @echo Stripping $(basename $@) ... - @strip --strip-unneeded $@ - endif - - %.o : %.c - @echo Compiling $@ ... - @$(CC) $(CFLAGS) $< -c -o $@ - - depend : $(DEPS) - - %.d : %.c - @echo Finding dependencies for $< ... - @$(CC) $(CFLAGS) -M $< > $@ - setup : @mkdir -p $(DIRS) --- 67,70 ---- *************** *** 79,82 **** --- 77,100 ---- fi; \ done + + depend : $(DEPS) + + $(EXE) : $(OBJS) + @echo Linking $(notdir $@)... + @$(CC) $(CFLAGS) $^ $(LIBS) -o $@ + ifeq ($(DEBUG),no) + @echo Stripping $(notdir $@)... + @strip --strip-unneeded $@ + endif + + $(OBJDIR)/%.d : %.c + @echo Finding dependencies for $<... + @mkdir -p $(dir $@) + @$(CC) $(CFLAGS) -M $< > $@ + + $(OBJDIR)/%.o : %.c + @echo Compiling $<... + @mkdir -p $(dir $@) + @$(CC) $(CFLAGS) $< -c -o $@ clean : |
From: <cho...@us...> - 2003-01-01 17:45:53
|
Update of /cvsroot/pyaros/PyAROS/Objects In directory sc8-pr-cvs1:/tmp/cvs-serv19738 Modified Files: funcobject.c intobject.c Log Message: Optionally disable docstrings. Index: funcobject.c =================================================================== RCS file: /cvsroot/pyaros/PyAROS/Objects/funcobject.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** funcobject.c 14 Oct 2002 20:40:08 -0000 1.1.1.1 --- funcobject.c 1 Jan 2003 17:45:48 -0000 1.2 *************** *** 494,497 **** --- 494,498 ---- } + #ifdef PYTHON_INCLUDE_DOCSTRINGS static char classmethod_doc[] = "classmethod(function) -> method\n\ *************** *** 514,517 **** --- 515,521 ---- Class methods are different than C++ or Java static methods.\n\ If you want those, see the staticmethod builtin."; + #else + #define classmethod_doc NULL + #endif PyTypeObject PyClassMethod_Type = { *************** *** 626,629 **** --- 630,634 ---- } + #ifdef PYTHON_INCLUDE_DOCSTRINGS static char staticmethod_doc[] = "staticmethod(function) -> method\n\ *************** *** 643,646 **** --- 648,654 ---- Static methods in Python are similar to those found in Java or C++.\n\ For a more advanced concept, see the classmethod builtin."; + #else + #define staticmethod_doc NULL + #endif PyTypeObject PyStaticMethod_Type = { Index: intobject.c =================================================================== RCS file: /cvsroot/pyaros/PyAROS/Objects/intobject.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** intobject.c 14 Oct 2002 20:40:08 -0000 1.1.1.1 --- intobject.c 1 Jan 2003 17:45:48 -0000 1.2 *************** *** 827,830 **** --- 827,831 ---- } + #ifdef PYTHON_INCLUDE_DOCSTRINGS static char int_doc[] = "int(x[, base]) -> integer\n\ *************** *** 835,838 **** --- 836,842 ---- the optional base. It is an error to supply a base when converting a\n\ non-string."; + #else + #define int_doc NULL + #endif static PyNumberMethods int_as_number = { |
From: <cho...@us...> - 2003-01-01 15:55:45
|
Update of /cvsroot/pyaros/PyAROS/Modules In directory sc8-pr-cvs1:/tmp/cvs-serv23972 Modified Files: gcmodule.c Log Message: Optionally disable docstrings. Index: gcmodule.c =================================================================== RCS file: /cvsroot/pyaros/PyAROS/Modules/gcmodule.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** gcmodule.c 14 Oct 2002 20:39:25 -0000 1.1.1.1 --- gcmodule.c 1 Jan 2003 15:55:41 -0000 1.2 *************** *** 490,498 **** } static char gc_enable__doc__[] = "enable() -> None\n" "\n" ! "Enable automatic garbage collection.\n" ! ; static PyObject * --- 490,501 ---- } + #ifdef PYTHON_INCLUDE_DOCSTRINGS static char gc_enable__doc__[] = "enable() -> None\n" "\n" ! "Enable automatic garbage collection.\n"; ! #else ! #define gc_enable__doc__ NULL ! #endif static PyObject * *************** *** 509,517 **** } static char gc_disable__doc__[] = "disable() -> None\n" "\n" ! "Disable automatic garbage collection.\n" ! ; static PyObject * --- 512,523 ---- } + #ifdef PYTHON_INCLUDE_DOCSTRINGS static char gc_disable__doc__[] = "disable() -> None\n" "\n" ! "Disable automatic garbage collection.\n"; ! #else ! #define gc_disable__doc__ NULL ! #endif static PyObject * *************** *** 528,536 **** } static char gc_isenabled__doc__[] = "isenabled() -> status\n" "\n" ! "Returns true if automatic garbage collection is enabled.\n" ! ; static PyObject * --- 534,545 ---- } + #ifdef PYTHON_INCLUDE_DOCSTRINGS static char gc_isenabled__doc__[] = "isenabled() -> status\n" "\n" ! "Returns true if automatic garbage collection is enabled.\n"; ! #else ! #define gc_isenabled__doc__ NULL ! #endif static PyObject * *************** *** 544,552 **** } static char gc_collect__doc__[] = "collect() -> n\n" "\n" ! "Run a full collection. The number of unreachable objects is returned.\n" ! ; static PyObject * --- 553,564 ---- } + #ifdef PYTHON_INCLUDE_DOCSTRINGS static char gc_collect__doc__[] = "collect() -> n\n" "\n" ! "Run a full collection. The number of unreachable objects is returned.\n"; ! #else ! #define gc_collect__doc__ NULL ! #endif static PyObject * *************** *** 573,576 **** --- 585,589 ---- } + #ifdef PYTHON_INCLUDE_DOCSTRINGS static char gc_set_debug__doc__[] = "set_debug(flags) -> None\n" *************** *** 587,592 **** " DEBUG_OBJECTS - Print objects other than instances.\n" " DEBUG_SAVEALL - Save objects to gc.garbage rather than freeing them.\n" ! " DEBUG_LEAK - Debug leaking programs (everything but STATS).\n" ! ; static PyObject * --- 600,607 ---- " DEBUG_OBJECTS - Print objects other than instances.\n" " DEBUG_SAVEALL - Save objects to gc.garbage rather than freeing them.\n" ! " DEBUG_LEAK - Debug leaking programs (everything but STATS).\n"; ! #else ! #define gc_set_debug__doc__ NULL ! #endif static PyObject * *************** *** 600,608 **** } static char gc_get_debug__doc__[] = "get_debug() -> flags\n" "\n" ! "Get the garbage collection debugging flags.\n" ! ; static PyObject * --- 615,626 ---- } + #ifdef PYTHON_INCLUDE_DOCSTRINGS static char gc_get_debug__doc__[] = "get_debug() -> flags\n" "\n" ! "Get the garbage collection debugging flags.\n"; ! #else ! #define gc_get_debug__doc__ NULL ! #endif static PyObject * *************** *** 615,624 **** } static char gc_set_thresh__doc__[] = "set_threshold(threshold0, [threshold1, threshold2]) -> None\n" "\n" "Sets the collection thresholds. Setting threshold0 to zero disables\n" ! "collection.\n" ! ; static PyObject * --- 633,645 ---- } + #ifdef PYTHON_INCLUDE_DOCSTRINGS static char gc_set_thresh__doc__[] = "set_threshold(threshold0, [threshold1, threshold2]) -> None\n" "\n" "Sets the collection thresholds. Setting threshold0 to zero disables\n" ! "collection.\n"; ! #else ! #define gc_set_thresh__doc__ NULL ! #endif static PyObject * *************** *** 633,641 **** } static char gc_get_thresh__doc__[] = "get_threshold() -> (threshold0, threshold1, threshold2)\n" "\n" ! "Return the current collection thresholds\n" ! ; static PyObject * --- 654,665 ---- } + #ifdef PYTHON_INCLUDE_DOCSTRINGS static char gc_get_thresh__doc__[] = "get_threshold() -> (threshold0, threshold1, threshold2)\n" "\n" ! "Return the current collection thresholds\n"; ! #else ! #define gc_get_thresh__doc__ NULL ! #endif static PyObject * *************** *** 677,683 **** --- 701,711 ---- } + #ifdef PYTHON_INCLUDE_DOCSTRINGS static char gc_get_referrers__doc__[]= "get_referrers(*objs) -> list\n\ Return the list of objects that directly refer to any of objs."; + #else + #define gc_get_referrers__doc__ NULL + #endif static PyObject * *************** *** 694,703 **** } static char gc_get_objects__doc__[] = "get_objects() -> [...]\n" "\n" "Return a list of objects tracked by the collector (excluding the list\n" ! "returned).\n" ! ; /* appending objects in a GC list to a Python list */ --- 722,734 ---- } + #ifdef PYTHON_INCLUDE_DOCSTRINGS static char gc_get_objects__doc__[] = "get_objects() -> [...]\n" "\n" "Return a list of objects tracked by the collector (excluding the list\n" ! "returned).\n"; ! #else ! #define gc_get_objects__doc__ NULL ! #endif /* appending objects in a GC list to a Python list */ *************** *** 738,741 **** --- 769,773 ---- + #ifdef PYTHON_INCLUDE_DOCSTRINGS static char gc__doc__ [] = "This module provides access to the garbage collector for reference cycles.\n" *************** *** 750,755 **** "get_threshold() -- Return the current the collection thresholds.\n" "get_objects() -- Return a list of all objects tracked by the collector.\n" ! "get_referrers() -- Return the list of objects that refer to an object.\n" ! ; static PyMethodDef GcMethods[] = { --- 782,789 ---- "get_threshold() -- Return the current the collection thresholds.\n" "get_objects() -- Return a list of all objects tracked by the collector.\n" ! "get_referrers() -- Return the list of objects that refer to an object.\n"; ! #else ! #define gc__doc__ NULL ! #endif static PyMethodDef GcMethods[] = { |