[PyPy-issue] [issue517] `_ast` make `lineno` and `col_offset` optional

Vincent Legoll pypy-dev-issue at codespeak.net
Mon Feb 21 00:06:06 CET 2011


Vincent Legoll <vincent.legoll at gmail.com> added the comment:

The ast.py generator is modified to make the
two fields optional in ast.py

This patch also fixes two ERRORs from
lib-python/2.7.0/test/test_ast.py:
* AST_Tests.test_copy_location()
* AST_Tests.test_fix_missing_locations()

Please review.

_______________________________________________________
PyPy development tracker <pypy-dev-issue at codespeak.net>
<https://codespeak.net/issue/pypy-dev/issue517>
_______________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-test_ast.diff
Type: text/x-patch
Size: 77672 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pypy-issue/attachments/20110220/c3e1ceb5/attachment.bin>


More information about the Pypy-issue mailing list