[Stackless-checkins] CVS: slpdev/src/2.3/dev/Stackless stackless_version.h, 1.45, 1.46

Christian Tismer tismer at centera.de
Tue Nov 30 13:38:13 CET 2004


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

Modified Files:
	stackless_version.h 
Log Message:
There was a problem when running pyexpat as a tasklet.
pyexpat wants to use a frame, and the frame could not
be created,since a tasklet wrapped around a builtin
function has no frame and therefore no globals.

Now tasklets grab the current globals when they are created.
PyEval_GetGlobals uses this if no frame is found.

I'm not particuarly happy with this waste of an extra tasklet field,
especially since I think that this globals problem is a design error
in Python.

Index: stackless_version.h
===================================================================
RCS file: /home/cvs/slpdev/src/2.3/dev/Stackless/stackless_version.h,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** stackless_version.h	22 Jul 2004 17:49:42 -0000	1.45
--- stackless_version.h	30 Nov 2004 12:38:10 -0000	1.46
***************
*** 1,7 ****
  /*
   * Stackless Python version string
!  * created at Mon Jul 19 14:47:02 2004 by mkversion.py
   */
  
  /* keep this entry up-to-date */
! #define STACKLESS_VERSION "3.1b3 040719"
--- 1,7 ----
  /*
   * Stackless Python version string
!  * created at Tue Nov 30 12:34:10 2004 by mkversion.py
   */
  
  /* keep this entry up-to-date */
! #define STACKLESS_VERSION "3.1b3 041130"


_______________________________________________
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