Releases
2.0.0
Compare
Sorry, something went wrong.
No results found
trag1c
released this
29 Apr 17:51
Added
Aliases for enums
API tests
Common pattern tests (big thanks to @qexat )
Docstrings
Python 3.8 support
Typehints and docstrings are now supported when using mypyc wheels (big thanks to @Lunarmagpie)
Changed
Allowed underscores in numeric literal patterns
CrossandraTokenizationError and CrossandraValueError are now raised instead of CrossandraError (it can be used to catch both exceptions)
Improved documentation
Rule objects are now comparable, hashable and immutable
Slightly improved performance when tokenizing with empty enums (up to 10% faster)
The IGNORED/NOT_APPLIED constants (and their types) can now be imported directly
The pre-tokenization CRLF to LF conversion can now be disabled through the Crossandra(convert_crlf=...) parameter
Updated Rule signature:
Rule(converter=True) -> Rule(converter=None)
Rule(converter=False) -> Rule(ignore=True)
flags is now a keyword-only argument
Fixed
Fixed bad traversal bug (big thanks to @circuitsacul )
Fixed common patterns:
CHAR
DECIMAL
FLOAT (and its derivatives)
You can’t perform that action at this time.