Releases: grievejia/pyre-ast
Releases · grievejia/pyre-ast
0.1.11
0.1.10
0.1.9
0.1.8
CHANGES:
- Bump the bundled CPython version to 3.10.1
- Fixed a potential segfault issue when parsing sources with non-utf8 encoding
- [API Breaking] The default line/column numbers for parsing errors are now set to -1, to be consistent with CPython runtime behaviors
0.1.7
0.1.6
CHANGES:
- Expose 2 additional fields
end_lineno
andend_offset
from CPython3.10SyntaxError
. Fix an error in documentation where column numbers should start from 1 instead of 0. - Remove the optional
filename
argument from theparse_module
API. It turns out that this argument is actually dropped when computing error messages so it does not serve any purpose at the moment.
0.1.5
0.1.4
0.1.3
CHANGES:
- Fix crashes when parsing non-UTF8-decodable string literals.
- \N escape sequence in string literals will no longer cause a syntax error.
- Module parsing APIs now accept an additional
enable_type_comment
argument, controlling whether to parse type comments or not.