[PyPy-issue] [issue639] ASTBuilder's handling of lineno & col_offset is not compliant with CPython 2.7
pypy-dev-issue at codespeak.net
Mon Feb 21 01:06:31 CET 2011
New submission from Vincent Legoll <vincent.legoll at gmail.com>:
The test AST_Tests.test_snippets from lib-python/2.7.0/test/test_ast.py is
failing because of that.
CPython changed lineno & col_offset reporting, see:
http://bugs.python.org/issue6704 (Fix Commited in r74464)
The attached patch fixes this, and it covers other cases not currently tested. A
modified test is available in the patch that add missing test snippets.
nosy: pypy-issue, vincele
title: ASTBuilder's handling of lineno & col_offset is not compliant with CPython 2.7
PyPy development tracker <pypy-dev-issue at codespeak.net>
More information about the Pypy-issue