[Python-ideas] Could the ast module's ASTs preserve source_length in addition to lineno and col_offset?

Steven D'Aprano steve at pearwood.info
Thu May 30 02:09:13 CEST 2013


On 30/05/13 10:04, Haoyi Li wrote:
> I don't need to keep the source code, I just need a single integer for each
> node. I would then be able to reconstruct the source snippet.

And so you did say. Sorry for the noise.

-- 
Steven


More information about the Python-ideas mailing list