28.02.18 12:49, Armin Rigo пише:
On 27 February 2018 at 15:32, Serhiy Storchaka <storch...@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).
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com