[Stackless-checkins] CVS: slpdev/src/2.3/dev/Python pythonrun.c, 1.15, 1.16

Christian Tismer tismer at centera.de
Mon Apr 19 21:15:20 CEST 2004


Update of /home/cvs/slpdev/src/2.3/dev/Python
In directory centera.de:/tmp/cvs-serv23468/dev/Python

Modified Files:
	pythonrun.c 
Log Message:
moved the patched types for pickling into builtins.
This should generate less incompatibilites.
I tried to use copy_reg, but this still requires some location
for the global types, and still would mean to change the type names.

Index: pythonrun.c
===================================================================
RCS file: /home/cvs/slpdev/src/2.3/dev/Python/pythonrun.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** pythonrun.c	5 Apr 2004 17:17:36 -0000	1.15
--- pythonrun.c	19 Apr 2004 19:15:18 -0000	1.16
***************
*** 201,204 ****
--- 201,207 ----
  	Py_INCREF(interp->builtins);
  
+ #ifdef STACKLESS
+ 	_PyStackless_Init();
+ #endif
  	sysmod = _PySys_Init();
  	if (sysmod == NULL)
***************
*** 211,217 ****
  			     interp->modules);
  
- #ifdef STACKLESS
- 	_PyStackless_Init();
- #endif
  	_PyImport_Init();
  
--- 214,217 ----


_______________________________________________
Stackless-checkins mailing list
Stackless-checkins at stackless.com
http://www.stackless.com/mailman/listinfo/stackless-checkins



More information about the Stackless-checkins mailing list