Skip to content

v0.3.0

@gousaiyang gousaiyang tagged this 06 Feb 06:33
- `first_truthy` and `first_non_none` return `None` if no truthy values found/all values are `None`
- `parse_boolean_state`, `parse_linesep` and `parse_indentation` accept `None`/empty string as argument
- `detect_linesep` and `detect_indentation` accept a file object as argument
- `archive_files` returns path to the generated tar archive
- some performance optimization
- rename `ConvertError` to `BPCSyntaxError`
- the `file` argument of `parso_parse` is renamed to `filename`
- dropped the ability to configure encoding in `parso_parse`
- remove `LOCALE_ENCODING`
- do not use the term 'tabsize'
- test exported name
- test mixed linesep and indentation
- misc improvements
Assets 2
Loading