unpythonic icon indicating copy to clipboard operation
unpythonic copied to clipboard

Support new source location fields in Python 3.8+

Open Technologicat opened this issue 3 years ago • 1 comments
trafficstars

Python 3.8 added the end_lineno and end_col_offset fields to AST nodes that have lineno and col_offset.

Specs in the official documentation.

We should probably worry about these anywhere we handle source location info.

Technologicat avatar Jan 27 '22 11:01 Technologicat

Same in mcpyrate; tracked in https://github.com/Technologicat/mcpyrate/issues/32

Technologicat avatar Jan 27 '22 11:01 Technologicat