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 eric.smith
Recipients abarry, docs@python, eric.smith, jayvdb
Date 2015-11-07.22:00:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1446933650.54.0.0954817497948.issue25179@psf.upfronthosting.co.za>
In-reply-to
Content
Since f-strings are not constant strings, they cannot be used as docstrings without some modifications to the compiler.

I'm not sure it's worth evaluating a docstring f-string at compile time to make them become docstrings: I can't think of a use case where this would be worthwhile. But maybe I'm not thinking hard enough.
History
Date User Action Args
2015-11-07 22:00:50eric.smithsetrecipients: + eric.smith, docs@python, jayvdb, abarry
2015-11-07 22:00:50eric.smithsetmessageid: <1446933650.54.0.0954817497948.issue25179@psf.upfronthosting.co.za>
2015-11-07 22:00:50eric.smithlinkissue25179 messages
2015-11-07 22:00:50eric.smithcreate