[PyPy-issue] [issue639] ASTBuilder's handling of lineno & col_offset is not compliant with CPython 2.7

Vincent Legoll 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.

----------
assignedto: vincele
effort: easy
messages: 2152
nosy: pypy-issue, vincele
priority: bug
release: 1.4
status: in-progress
title: ASTBuilder's handling of lineno & col_offset is not compliant with CPython 2.7

_______________________________________________________
PyPy development tracker <pypy-dev-issue at codespeak.net>
<https://codespeak.net/issue/pypy-dev/issue639>
_______________________________________________________



More information about the Pypy-issue mailing list