[Python-Dev] Backward incompatible change about docstring AST
Serhiy Storchaka
storchaka at gmail.com
Wed Feb 28 06:04:57 EST 2018
More information about the Python-Dev mailing list
Wed Feb 28 06:04:57 EST 2018
- Previous message (by thread): [Python-Dev] Backward incompatible change about docstring AST
- Next message (by thread): [Python-Dev] Backward incompatible change about docstring AST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
28.02.18 12:49, Armin Rigo пише: > 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 This is rather a CPython bug (somewhere may be an open issue for this).
- Previous message (by thread): [Python-Dev] Backward incompatible change about docstring AST
- Next message (by thread): [Python-Dev] Backward incompatible change about docstring AST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list