gh-149231: tomllib: Limit the number of parts in a key#149233
gh-149231: tomllib: Limit the number of parts in a key#149233encukou merged 2 commits intopython:mainfrom
Conversation
gpshead
left a comment
There was a problem hiding this comment.
cute re-use of recursionlimit. i could argue for just declaring a max nesting constant instead but realistically the important thing is having a limit at all. this works.
|
What's invisible here is that |
|
Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
|
Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
|
Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
|
Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.15. |
|
Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
|
Sorry, @encukou, I could not cleanly backport this to |
|
Sorry, @encukou, I could not cleanly backport this to |
|
Sorry, @encukou, I could not cleanly backport this to |
|
Sorry, @encukou, I could not cleanly backport this to |
|
GH-149677 is a backport of this pull request to the 3.15 branch. |
This roughly syncs up with latest
tomli. I excluded the (growing number of)mypyc-specific parts.