From cortex at worlddomination.be Sun Jun 11 21:23:36 2017 From: cortex at worlddomination.be (Laurent Peuch) Date: Mon, 12 Jun 2017 03:23:36 +0200 Subject: [code-quality] baron v0.6.6 release with a requite requested bug fix and speed improvement Message-ID: <20170612012336.GA22612@griboiedov> 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