-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-25130: Make unit-test about restricting the maximum number of nested blocks cpython-only #28002
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-25130: Make unit-test about restricting the maximum number of nested blocks cpython-only #28002
Conversation
PyPy and potentially other implementations have different or no contraints on the number of blocks that can be statically nested. move the test that checks for this behaviour into a unit test and mark it as CPython-only.
Thanks @cfbolz for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10. |
Sorry, @cfbolz and @serhiy-storchaka, I could not cleanly backport this to |
GH-28016 is a backport of this pull request to the 3.10 branch. |
…ted blocks cpython-only (pythonGH-28002) PyPy and potentially other implementations have different or no contraints on the number of blocks that can be statically nested. move the test that checks for this behaviour into a unit test and mark it as CPython-only. (cherry picked from commit eb263f9) Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
Thanks @cfbolz for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9. |
Sorry @cfbolz and @serhiy-storchaka, I had trouble checking out the |
…of nested blocks cpython-only (pythonGH-28002) PyPy and potentially other implementations have different or no contraints on the number of blocks that can be statically nested. move the test that checks for this behaviour into a unit test and mark it as CPython-only.. (cherry picked from commit eb263f9) Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
GH-28017 is a backport of this pull request to the 3.9 branch. |
…ted blocks cpython-only (GH-28002) (GH-28016) PyPy and potentially other implementations have different or no contraints on the number of blocks that can be statically nested. move the test that checks for this behaviour into a unit test and mark it as CPython-only. (cherry picked from commit eb263f9) Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
…of nested blocks cpython-only (GH-28002) (GH-28017) PyPy and potentially other implementations have different or no contraints on the number of blocks that can be statically nested. move the test that checks for this behaviour into a unit test and mark it as CPython-only.. (cherry picked from commit eb263f9) Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
PyPy and potentially other implementations have different or no
constraints on the number of blocks that can be statically nested. move
the doctest that checks for this behaviour into a unit test and mark it as
CPython-only.
In PyPy, the doctest happily looped forever, because there is no syntax error raised 😞
https://bugs.python.org/issue25130