1. Aleksandar Radulovic
  2. stackless

Commits

kristjan.jonsson  committed 62c0895

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

  • Participants
  • Parent commits 7e28d4e
  • Branches release25-maint

Comments (0)

Files changed (1)

File Objects/exceptions.c

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