This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Leonardofreua
Recipients Leonardofreua
Date 2021-07-12.18:34:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1626114840.28.0.434964034307.issue44612@roundup.psfhosted.org>
In-reply-to
Content
There are some points in inspect module (I counted 48 since version 3.7) that could be using f-String formatting instead of format().

Changing these points will improve code readability, it will also decrease the complexity at these points and not to mention the fact that f-String formatting has better performance.

Obs.: Many other points could receive this improvement in other modules. This would provide the improvements I mentioned earlier, especially in older snippets of code.
History
Date User Action Args
2021-07-12 18:34:00Leonardofreuasetrecipients: + Leonardofreua
2021-07-12 18:34:00Leonardofreuasetmessageid: <1626114840.28.0.434964034307.issue44612@roundup.psfhosted.org>
2021-07-12 18:34:00Leonardofreualinkissue44612 messages
2021-07-12 18:34:00Leonardofreuacreate