[Python-checkins] CVS: python/dist/src PLAN.txt,1.1.2.14,1.1.2.15

Guido van Rossum gvanrossum@users.sourceforge.net
Fri, 06 Jul 2001 15:02:37 -0700


Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv21426

Modified Files:
      Tag: descr-branch
	PLAN.txt 
Log Message:
Add a new optional task: signature objects.


Index: PLAN.txt
===================================================================
RCS file: /cvsroot/python/python/dist/src/Attic/PLAN.txt,v
retrieving revision 1.1.2.14
retrieving revision 1.1.2.15
diff -C2 -r1.1.2.14 -r1.1.2.15
*** PLAN.txt	2001/07/06 21:37:01	1.1.2.14
--- PLAN.txt	2001/07/06 22:02:35	1.1.2.15
***************
*** 119,122 ****
--- 119,134 ----
  of number, etc.  A lot of thinking can go into this!
  
+ *** NEW TASK??? ***
+ Implement "signature" objects.  These are alluded to in PEP 252 but
+ not yet specified.  Supposedly they provide an easily usable API to
+ find out about function/method arguments.  Building these for Python
+ functions is simple.  Building these for built-in functions will
+ require a change to the PyMethodDef structure, so that a type can
+ provide signature information for its C methods.  (This would also
+ help in supporting keyword arguments for C methods with less work than
+ PyArg_ParseTupleAndKeywords() currently requires.)  But should we do
+ this?  It's additional work and not required for any of the other
+ parts.
+ 
  
  Project: making classes use the new machinery