[Stackless-checkins] CVS: slpdev/src/2.3/src/Python exceptions.c, 1.3, 1.4

Christian Tismer tismer at centera.de
Wed Apr 7 19:32:21 CEST 2004


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

Modified Files:
	exceptions.c 
Log Message:
cured a really bad bug in the Windows stack switching code.
This turned up, after I de-virtualized the cstack operations,
and less registers were used.
Also clarified a possibly dangling pointer from cstack to tasklet.
And TaskletExit inherits from SystemExit, now.

Index: exceptions.c
===================================================================
RCS file: /home/cvs/slpdev/src/2.3/src/Python/exceptions.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** exceptions.c	14 Jan 2004 19:11:08 -0000	1.3
--- exceptions.c	7 Apr 2004 17:32:19 -0000	1.4
***************
*** 1676,1683 ****
   {"StopIteration", &PyExc_StopIteration, &PyExc_Exception,
    StopIteration__doc__},
- #ifdef STACKLESS
-  {"TaskletExit", &PyExc_TaskletExit, &PyExc_Exception,
-   TaskletExit__doc__},
- #endif
   {"StandardError", &PyExc_StandardError, &PyExc_Exception,
    StandardError__doc__},
--- 1676,1679 ----
***************
*** 1688,1691 ****
--- 1684,1691 ----
   {"SystemExit", &PyExc_SystemExit, &PyExc_Exception, SystemExit__doc__,
    SystemExit_methods},
+ #ifdef STACKLESS
+  {"TaskletExit", &PyExc_TaskletExit, &PyExc_SystemExit,
+   TaskletExit__doc__},
+ #endif
   {"KeyboardInterrupt",  &PyExc_KeyboardInterrupt, 0, KeyboardInterrupt__doc__},
   {"ImportError",        &PyExc_ImportError,       0, ImportError__doc__},


_______________________________________________
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