Author Mark.Shannon
Recipients Mark.Shannon, benjamin.peterson, georg.brandl, inada.naoki, ned.deily, rhettinger, serhiy.storchaka, vstinner
Date 2018-02-23.10:16:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1519381015.03.0.467229070634.issue32911@psf.upfronthosting.co.za>
In-reply-to
Content
Serhiy, thanks for reopening this issue.

It seems to be that there are three reasonable choices:
1. Revert to 3.6 behaviour, with the addition of `docstring` attribute.
2. Change the docstring attribute to an AST node, possibly by modifying the grammar.
3. Do nothing.

I would prefer 1, as it requires no changes to 3rd party code and doesn't present an additional obstacle when porting from Python 2.

2 would be acceptable, as it allows tools to easily convert the body back to its 3.6 form (or vice-versa)

3 is a pain as it involves re-tokenizing the file to get the location of the doc-string.
History
Date User Action Args
2018-02-23 10:16:55Mark.Shannonsetrecipients: + Mark.Shannon, georg.brandl, rhettinger, vstinner, benjamin.peterson, ned.deily, inada.naoki, serhiy.storchaka
2018-02-23 10:16:55Mark.Shannonsetmessageid: <1519381015.03.0.467229070634.issue32911@psf.upfronthosting.co.za>
2018-02-23 10:16:55Mark.Shannonlinkissue32911 messages
2018-02-23 10:16:54Mark.Shannoncreate