Skip to content

v0.2.6

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Jul 21:22
· 46 commits to main since this release
029dc01

Changes

📦 Packaging

🔨 Refactoring

  • ♻️ Rename _slice.resolve_slice to _slice.resolveslice (#49) @cjolowicz
  • ♻️ Resolve negative indices inside _slice.resolve (#48) @cjolowicz
  • ♻️ Use _slice type for the hidden __init__ parameter (#46) @cjolowicz
  • ♻️ Resolve negative bounds during slice resolution, removing _slice.positive* (#45) @cjolowicz
  • ♻️ Move slice reversal from __len__ into _slice.length (#44) @cjolowicz
  • ♻️ Extract function _slice.resolve_slice from _getslice (#42) @cjolowicz
  • ♻️ Resolve slice start of None after construction (#41) @cjolowicz
  • ♻️ Extract functions _slice.positive{start,stop} from _slice.positive (#40) @cjolowicz
  • ♻️ Use abs in _slice.length instead of assuming positive step (#39) @cjolowicz
  • ♻️ Only call _slice.positive from other _slice methods (#36) @cjolowicz
  • ♻️ Generalize method _slice.resolve to resolve an index on a slice (#35) @cjolowicz
  • ♻️ Minor cleanups (#34) @cjolowicz
  • ♻️ Convert _slice methods to accept a Sized instance instead of the size (#33) @cjolowicz
  • ♻️ Add method _slice.positive for resolving negative bounds (#32) @cjolowicz
  • ♻️ Resolve negative bounds after construction (#31) @cjolowicz

📚 Documentation

🚨 Testing

  • ✅ Improve formatting of slice test parameters (#43) @cjolowicz