You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 13, 2025. It is now read-only.
Originally reported by: Anselm Kruis (Bitbucket: akruis, GitHub: akruis)
Currently __init__(self) runs at least at nesting level 1, even if soft switching is enabled(). This is usually not a big problem, because it is generally considered bad practise, to run complex code in __init__(self). Unfortunately the text test runner (or result) from the Python standard library calls the test cases from its __init__-method. This affects the test suite of Stackless, because the main tasklet now runs at nesting level 1. (PyDev runs the same tests at level 0).
Pull request #20 enhances Stackless to call __init__() stackless, if soft switching is enabled.
Originally reported by: Anselm Kruis (Bitbucket: akruis, GitHub: akruis)
Currently __init__(self) runs at least at nesting level 1, even if soft switching is enabled(). This is usually not a big problem, because it is generally considered bad practise, to run complex code in __init__(self). Unfortunately the text test runner (or result) from the Python standard library calls the test cases from its __init__-method. This affects the test suite of Stackless, because the main tasklet now runs at nesting level 1. (PyDev runs the same tests at level 0).
Pull request #20 enhances Stackless to call __init__() stackless, if soft switching is enabled.
The text was updated successfully, but these errors were encountered: