Commits

Anonymous committed 62c0895

Fix TaskletException. An incorrect macro was used to define it and so, accessiong TaskletException().code could cause a crash.

Comments (0)

Files changed (1)

Objects/exceptions.c

 /*
  *    TaskletExit extends SystemExit
  */
-SimpleExtendsException(PyExc_SystemExit, TaskletExit,
+MiddlingExtendsException(PyExc_SystemExit, TaskletExit, SystemExit,
                        "This exception is used to silently kill a tasklet");
 #endif