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 Mark.Shannon
Recipients Mark.Shannon, benjamin.peterson, georg.brandl, methane, rhettinger, serhiy.storchaka, vstinner
Date 2018-02-22.14:14:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1519308864.25.0.467229070634.issue32911@psf.upfronthosting.co.za>
In-reply-to
Content
Stating that "this is a feature not a bug" does not make it so.
This breaks existing code and reduces the capabilities of the `ast` module.
For example, how does one get the location of the docstring now?

From a syntactic point of view.
def foo():
   "help"
and
def foo():
   b'"help"
barely differ.
The S in AST stands for Syntax not Semantics.
History
Date User Action Args
2018-02-22 14:14:24Mark.Shannonsetrecipients: + Mark.Shannon, georg.brandl, rhettinger, vstinner, benjamin.peterson, methane, serhiy.storchaka
2018-02-22 14:14:24Mark.Shannonsetmessageid: <1519308864.25.0.467229070634.issue32911@psf.upfronthosting.co.za>
2018-02-22 14:14:24Mark.Shannonlinkissue32911 messages
2018-02-22 14:14:24Mark.Shannoncreate