[Python-Dev] Backward incompatible change about docstring AST
Armin Rigo
armin.rigo at gmail.com
Wed Feb 28 05:49:14 EST 2018
Hi,
On 27 February 2018 at 15:32, Serhiy Storchaka <storchaka at gmail.com> wrote:
> 1. CPython and PyPy set different position for multiline strings. PyPy sets
> the position of the start of string, but CPython sets the position of the
> end of the string. A program that utilizes the docstring position needs to
> handle both of these cases.
If that's true it's a PyPy bug.
https://bitbucket.org/pypy/pypy/issues/2767/docstring-position-in-the-ast
A bientôt,
Armin.
More information about the Python-Dev
mailing list