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, something went wrong.
|
Sorry, @cfbolz and @serhiy-storchaka, I could not cleanly backport this to |
Sorry, something went wrong.
…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, something went wrong.
|
Sorry @cfbolz and @serhiy-storchaka, I had trouble checking out the |
Sorry, something went wrong.
…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>
…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