Skip to content

Releases: grievejia/pyre-ast

0.1.11

08 Jul 20:42
Compare
Choose a tag to compare

CHANGES:

  • Fixed a major bug in 0.1.10 where the parser cannot differentiate async def and def.

0.1.10

18 Jun 01:17
Compare
Choose a tag to compare

CHANGES:

  • Bump the bundled CPython version to 3.12.3

0.1.9

04 Nov 15:21
Compare
Choose a tag to compare

CHANGES:

  • Bump the bundled CPython version to 3.11.0
  • Fixed segfaults when parsing with default filename

0.1.8

22 Dec 03:51
Compare
Choose a tag to compare

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

02 Dec 04:18
Compare
Choose a tag to compare

CHANGES:

  • IndentationError now gets correctly recognized as syntax error. This provides us with more precise locations info for the error.

0.1.6

12 Nov 19:47
Compare
Choose a tag to compare

CHANGES:

  • Expose 2 additional fields end_lineno and end_offset from CPython3.10 SyntaxError. Fix an error in documentation where column numbers should start from 1 instead of 0.
  • Remove the optional filename argument from the parse_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

09 Oct 01:22
Compare
Choose a tag to compare

CHANGES:

  • Disable LTO build of CPython in release mode. Turning on LTO turns out to be rather detrimental to link time when building downstream binaries.

0.1.4

06 Oct 02:11
Compare
Choose a tag to compare

CHANGES:

  • Bump the bundled CPython version to 3.10.0

0.1.3

23 Jul 02:59
Compare
Choose a tag to compare

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.

0.1.2

21 Jul 04:31
Compare
Choose a tag to compare

CHANGES:

  • Fix linking flags and tests on Linux.