28 Feb
2018
28 Feb
'18
7:04 p.m.
28.02.18 12:49, Armin Rigo пише:
On 27 February 2018 at 15:32, Serhiy Storchaka
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).