[Patches] [ python-Patches-505375 ] Make doc strings optional

noreply@sourceforge.net noreply@sourceforge.net
Fri, 07 Jun 2002 06:00:47 -0700


Patches item #505375, was opened at 2002-01-18 09:00
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=505375&group_id=5470

Category: Core (C code)
Group: Python 2.3
Status: Open
>Resolution: Accepted
Priority: 5
Submitted By: Gustavo Niemeyer (niemeyer)
>Assigned to: Martin v. Löwis (loewis)
Summary: Make doc strings optional

Initial Comment:
As discussed in python-dev, documentation strings are 
responsible for 10% of python's executable footprint. 
This patch tries to merge everyone's idea about how 
documentation strings should be optional.

Please note that, for now, only sysmodule.c is using 
the new macros. When this patch get in, I (and 
others, maybe) will gradually implement these macros 
in all documentation strings available in python's 
code.

Reference:
http://mail.python.org/pipermail/python-dev/2002-January/019392.html


----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2002-06-07 09:00

Message:
Logged In: YES 
user_id=6380

Go for it.

----------------------------------------------------------------------

Comment By: Gustavo Niemeyer (niemeyer)
Date: 2002-06-06 17:22

Message:
Logged In: YES 
user_id=7887

Here's the new patch updated to  CVS. 
 
Just like before, I've introduced the new macros only in sysmodule.c. I chose 
this file given it's specific (unusual) requirements about doc strings. Once 
these macros are checked in, I'll promptly implement this functionality in 
everything else. 
 
Thanks! 

----------------------------------------------------------------------

Comment By: Gustavo Niemeyer (niemeyer)
Date: 2002-06-06 12:45

Message:
Logged In: YES 
user_id=7887

I'll work on it. Thanks! 

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2002-06-04 13:25

Message:
Logged In: YES 
user_id=21627

Can you please update the patch to the current code base?
Notice that pyconfig.h.in is a generated file, generated by
autoheader; you need to split this change into configure.in
and Include/something changes (something probably being
Python.h)

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=505375&group_id=5470