Version 0.10.0
- Detect generalized unpacking (3.5, PEP-448)
- Detect
%
formatting and directives forbytes
andbytearray
(3.5, PEP-461) - Detect keyword-only arguments (3.0, #37)
- ~1700 new/modified rules thanks to @gousaiyang and his Python change parser (#34, #36)
- Big speedups to file detection by ignoring many file extensions (416) known not to contain Python source code, and by halving the number of calls to
os.stat()
- Huge speedups to source code analysis by executing certain code fragments only once for each source file analysis, and by using
isinstance(x, y)
instead oftype(x) == y
- Ensure ".py3, ".pyj", and ".pyi" are always analyzed in addition to ".py" and ".pyw"
- Fixed
array.array
typecode border case - Fixed issues with kwargs handling in rare cases
- Improved format directives regex
- Fixed general border case bugs obtained by running on several Python distribution sources
A special thanks to @gousaiyang who's been a great help for this release.