Skip to content

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

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:pep737_v2
Dec 5, 2023
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:pep737_v2

Conversation

@vstinner

@vstinner vstinner commented Dec 1, 2023 •

Copy link
Copy Markdown
Member

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

@vstinner

vstinner commented Dec 1, 2023

Copy link
Copy Markdown
Member Author

@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
@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