Skip to content

Commit

Permalink
[release] prepare a bug-fix release per but found by @Victorious3 (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
apalala authored Mar 22, 2021
1 parent 11d0112 commit 95e4c88
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,14 @@ The format of this *Change Log* is inspired by `keeapachangelog.org`_.

`X.Y.Z`_ @ 2021
---------------
.. _`X.Y.Z`: https://github.com/apalala/tatsu/compare/v5.6.0...master
.. _`X.Y.Z`: https://github.com/apalala/tatsu/compare/v5.6.1...master


`5.6.1`_ @ 2021-03-22
---------------------
.. _`5.6.0`: https://github.com/apalala/tatsu/compare/v5.6.0...v5.6.1

* Fix bug in which rule fields were forced on empty ``AST`` (`@Victorious3`_)

`5.6.0`_ @ 2021-03-21
---------------------
Expand Down Expand Up @@ -68,7 +73,7 @@ The format of this *Change Log* is inspired by `keeapachangelog.org`_.
* Allow empty patterns (``//``) like Python does
* `#65`_ Allow initial, consecutive, and trailing ``@namechars``
* `#73`_ Allow ``@@whitespace :: None`` and ``@@whitespace :: False``
* `#75`_ Complete implemenation of left recursion(`@Victorious3`_)
* `#75`_ Complete implemenation of left recursion (`@Victorious3`_)
* `#77`_ Allow ``@keyword`` throughout the grammar
* `#89`_ Make all attributes defined in the rule present in the resulting ``AST`` or ``Node`` even if the associated expression was not parsed
* `#93`_ Fix trace colorization on Windows
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
``` python
def WARNING():
"""
TatSu==5.6.0 requires Python>=3.8
TatSu>=5.7.0 will require Python>=3.9
TatSu>=5.6 requires Python>=3.8
TatSu>=5.7 will require Python>=3.9
Python 3.8 and 3.9 introduced new language features that allow
writing better programs more clearly. All code written for
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
def WARNING():
"""
TatSu==5.6.0 requires Python>=3.8
TatSu>=5.7.0 will require Python>=3.9
TatSu>=5.6 requires Python>=3.8
TatSu>=5.7 will require Python>=3.9
Python 3.8 and 3.9 introduced new language features that allow
writing better programs more clearly. All code written for
Expand Down
2 changes: 1 addition & 1 deletion tatsu/_config.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__toolname__ = 'TatSu'
__version__ = '5.6.0'
__version__ = '5.6.1'
2 changes: 1 addition & 1 deletion tatsu/collections/orderedset.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(self, iterable: Optional[Iterable[T]] = None):
self._map = dict.fromkeys(iterable) # type: Dict[T, int]
else:
self._map = {}
self._list_cache: Optional[list[T]] = None
self._list_cache: Optional[Sequence[T]] = None

def __len__(self):
return len(self._map)
Expand Down

0 comments on commit 95e4c88

Please sign in to comment.