Skip to content
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

PEP 737: Add %N format, recommend fully qualified name #3560

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Dec 1, 2023


📚 Documentation preview 📚: https://pep-previews--3560.org.readthedocs.build/

@vstinner
Copy link
Member Author

vstinner commented Dec 1, 2023

@vstinner vstinner force-pushed the pep737_v2 branch 2 times, most recently from b98da1b to dd492ff Compare December 5, 2023 10:38
@vstinner vstinner marked this pull request as ready for review December 5, 2023 10:39
* Add %N and %#N formats.
* The %T and %#T formats now expect an object instead of a type.
* Exchange %T and %#T formats: %T now formats the fully qualified
  name.
* Recommend using the type fully qualified name in error messages and
  in __repr__() methods in new code.
* Skip the __main__ module in the fully qualified name.
@vstinner vstinner merged commit 9982546 into python:main Dec 5, 2023
4 checks passed
@vstinner vstinner deleted the pep737_v2 branch December 5, 2023 11:15
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.

1 participant