Message312567
| 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. |
|