[Python-checkins] python/dist/src/Python bltinmodule.c,2.302,2.303

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Sun Nov 16 11:17:51 EST 2003


Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1:/tmp/cvs-serv13946/Python

Modified Files:
	bltinmodule.c 
Log Message:
* Migrate set() and frozenset() from the sandbox.
* Install the unittests, docs, newsitem, include file, and makefile update.
* Exercise the new functions whereever sets.py was being used.

Includes the docs for libfuncs.tex.  Separate docs for the types are
forthcoming.



Index: bltinmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/bltinmodule.c,v
retrieving revision 2.302
retrieving revision 2.303
diff -C2 -d -r2.302 -r2.303
*** bltinmodule.c	6 Nov 2003 14:06:48 -0000	2.302
--- bltinmodule.c	16 Nov 2003 16:17:49 -0000	2.303
***************
*** 2117,2120 ****
--- 2117,2121 ----
   	SETBUILTIN("enumerate",		&PyEnum_Type);
  	SETBUILTIN("float",		&PyFloat_Type);
+ 	SETBUILTIN("frozenset",		&PyFrozenSet_Type);
  	SETBUILTIN("property",		&PyProperty_Type);
  	SETBUILTIN("int",		&PyInt_Type);
***************
*** 2123,2126 ****
--- 2124,2128 ----
  	SETBUILTIN("object",		&PyBaseObject_Type);
  	SETBUILTIN("reversed",		&PyReversed_Type);
+ 	SETBUILTIN("set",		&PySet_Type);
  	SETBUILTIN("slice",		&PySlice_Type);
  	SETBUILTIN("staticmethod",	&PyStaticMethod_Type);





More information about the Python-checkins mailing list