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

[3.12] gh-108851: Fix tomllib recursion tests (GH-108853) by miss-islington · Pull Request #109012 · python/cpython · GitHub

/ cpython Public

[3.12] gh-108851: Fix tomllib recursion tests (GH-108853) - #109012

Merged
Yhg1s merged 1 commit into
python:3.12from
miss-islington:backport-8ff1142-3.12
Sep 8, 2023
Merged

[3.12] gh-108851: Fix tomllib recursion tests (GH-108853)#109012
Yhg1s merged 1 commit into
python:3.12from
miss-islington:backport-8ff1142-3.12

Conversation

miss-islington commented Sep 6, 2023
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor
  • Add get_recursion_available() and get_recursion_depth() functions
    to the test.support module.
  • Change infinite_recursion() default max_depth from 75 to 100.
  • Fix test_tomllib recursion tests for WASI buildbots: reduce the
    recursion limit and compute the maximum nested array/dict depending
    on the current available recursion limit.
  • test.pythoninfo logs sys.getrecursionlimit().
  • Enhance test_sys tests on sys.getrecursionlimit()
    and sys.setrecursionlimit().
    (cherry picked from commit 8ff1142)

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

* Add get_recursion_available() and get_recursion_depth() functions
  to the test.support module.
* Change infinite_recursion() default max_depth from 75 to 100.
* Fix test_tomllib recursion tests for WASI buildbots: reduce the
  recursion limit and compute the maximum nested array/dict depending
  on the current available recursion limit.
* test.pythoninfo logs sys.getrecursionlimit().
* Enhance test_sys tests on sys.getrecursionlimit()
  and sys.setrecursionlimit().
(cherry picked from commit 8ff1142)

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.

Yhg1s merged commit 55d7e8f into python:3.12 Sep 8, 2023
miss-islington deleted the backport-8ff1142-3.12 branch September 8, 2023 13:18
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL