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

Pavel Panchekha pypy-dev-issue at codespeak.net
Sun Apr 4 23:18:55 CEST 2010


New submission from Pavel Panchekha <pavpanchekha at gmail.com>:

The `_ast` module in pypy currently forces the user to specify the `lineno` and 
`col_offset` fields when constructing any of the AST objects that have them. For 
better conformance to CPython 2.6's behavior, these two attributes should be 
optional, and when they are not provided, should not be set.

----------
effort: easy
messages: 1683
nosy: hpk, pavpanchekha, pypy-issue
priority: wish
release: ???
status: unread
title: `_ast` make `lineno` and `col_offset` optional

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



More information about the Pypy-issue mailing list