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 ncoghlan
Recipients methane, ncoghlan, ned.deily, nedbat, serhiy.storchaka
Date 2018-06-05.14:41:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
While I wouldn't describe this as completely intentional (as it's an artifact of the change-and-revert dance with 3.7 previously removing docstring nodes from the AST entirely), I also wouldn't want to change it again at this late stage of the release process.

Instead I'd suggest simply noting it in the porting section of What's New. Something like "Due to a change in the way docstrings are handled by the compiler, the implicit ``return None`` in a function body consisting solely of a docstring is now marked as occurring on the same line as the docstring, not on the function's header line".
Date User Action Args
2018-06-05 14:41:55ncoghlansetrecipients: + ncoghlan, nedbat, ned.deily, methane, serhiy.storchaka
2018-06-05 14:41:54ncoghlansetmessageid: <>
2018-06-05 14:41:54ncoghlanlinkissue33745 messages
2018-06-05 14:41:54ncoghlancreate