baron v0.6.6 release with a requite requested bug fix and speed improvement

Hello everyone, Reminder: baron is the syntax tree used by RedBaron, a "write code that modify *source* code" library for Python https://github.com/PyCQA/redbaron (like writing custom refactoring but people seems to be using it for analysing also) I'll normally wouldn't make a mail for a small release like this one, but since this bug was affecting quite some people (basically making RedBaron unusable on some files because the parser crash). The fix situation was that indentation changing comment in the middle of a multi statements nodes (if/elif/else, try/except...) would causes Baron to crash. This is now fixed. Example: if a: pass # crashing comment else: pass This release also come with a big speed improvement on large files (between 40 and 75%). Release: https://github.com/PyCQA/baron/releases/tag/0.6.6 Kind regards, -- Laurent Peuch -- Bram
participants (1)
-
Laurent Peuch