FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.11] test_ast uses infinite_recursion() to prevent crash (GH-100104) by miss-islington · Pull Request #100105 · python/cpython · GitHub

/ cpython Public

[3.11] test_ast uses infinite_recursion() to prevent crash (GH-100104) - #100105

Merged
miss-islington merged 1 commit into
python:3.11from
miss-islington:backport-cd67c1b-3.11
Dec 8, 2022
Merged

[3.11] test_ast uses infinite_recursion() to prevent crash (GH-100104)#100105
miss-islington merged 1 commit into
python:3.11from
miss-islington:backport-cd67c1b-3.11

Conversation

Copy link
Copy Markdown
Contributor

test.test_ast_recursion_limit() now uses infinite_recursion() of
test.support to prevent crashes on debug builds.

Before this change, the test crashed on ARM64 Windows 3.x buildbot
worker which builds Python in debug mode.
(cherry picked from commit cd67c1b)

Co-authored-by: Victor Stinner vstinner@python.org

test.test_ast_recursion_limit() now uses infinite_recursion() of
test.support to prevent crashes on debug builds.

Before this change, the test crashed on ARM64 Windows 3.x buildbot
worker which builds Python in debug mode.
(cherry picked from commit cd67c1b)

Co-authored-by: Victor Stinner <vstinner@python.org>

vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM, good bot.

miss-islington merged commit 42fde2d into python:3.11 Dec 8, 2022
miss-islington deleted the backport-cd67c1b-3.11 branch December 8, 2022 08:52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip issue skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL