Skip to content

gh-104232: Change sys.settrace docs to reflect actual behaviour #104245

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

Closed
wants to merge 0 commits into from

Conversation

L3viathan
Copy link
Contributor

@L3viathan L3viathan commented May 6, 2023

This fixes a longstanding discrepancy between the documentation and behaviour of local trace functions: When they return None, they don't actually turn off tracing in the current scope.

Closes #104232.


📚 Documentation preview 📚: https://cpython-previews--104245.org.readthedocs.build/

@L3viathan
Copy link
Contributor Author

Note that I'm not a native English speaker, so I'm not 100% sure on the wording.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Local trace function return value: bug or documentation issue
2 participants