-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
gh-121921: Update Lib/test/crashers #126360
base: main
Are you sure you want to change the base?
Conversation
The gc crasher seems to hang and occasionally segfault on the FT build, I'll skip it for now and open a separate issue about it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One confusing comment then fixing or removing. Otherwise LGTM.
Lib/test/test_sys_settrace.py
Outdated
pass | ||
|
||
def g(*args): | ||
if True: # change to True to crash interpreter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment seems wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does, but I copied it verbatim from the original crasher. I can remove it though if you prefer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went ahead and removed the comment
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
I have made the requested changes; please review again 🙂 |
Thanks for making the requested changes! @markshannon: please review the changes made to this pull request. |
mutation_inside_cyclegc.py
andtrace_at_recursion_limit.py
do not crash anymore.This PR moves them out of crashers and into unit tests to ensure they do not start crashing again.
Lib/test/crashers
#121921