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 martin.panter
Recipients eric.smith, gvanrossum, martin.panter, yselivanov
Date 2016-11-18.21:23:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479504224.12.0.862745727102.issue28739@psf.upfronthosting.co.za>
In-reply-to
Content
There was a bit of discussion at the top of <https://bugs.python.org/issue25179#msg254298>.

IMO it would be simpler do disallow all f-strings as docstrings. Otherwise, what would the result of this be:

name = "module level"
class C:
    name = "class level"
    def m(self, name="default param"):
        f"{name}"
History
Date User Action Args
2016-11-18 21:23:44martin.pantersetrecipients: + martin.panter, gvanrossum, eric.smith, yselivanov
2016-11-18 21:23:44martin.pantersetmessageid: <1479504224.12.0.862745727102.issue28739@psf.upfronthosting.co.za>
2016-11-18 21:23:44martin.panterlinkissue28739 messages
2016-11-18 21:23:43martin.pantercreate