Lazysequence

Latest version: v0.3.0

Safety actively analyzes 623909 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.3.0

Changes

:boom: Breaking Changes

* :boom: Remove `storage` parameter from constructor (55) cjolowicz

:beetle: Fixes

* :bug: Fix crash when using multiple iterators over the same sequence (56) cjolowicz

0.2.7

Changes

:beetle: Fixes

* :bug: Allow interleaved iteration over sequences with shared data (52) cjolowicz

:package: Dependencies

* ⬆️ Bump virtualenv from 20.4.7 to 20.5.0 in /.github/workflows (53) dependabot

0.2.6

Changes

:package: Packaging

* :package: Mark development status as alpha (50) cjolowicz

:hammer: Refactoring

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

:books: Documentation

* :books: Add missing docstrings (47) cjolowicz

:rotating_light: Testing

* :white_check_mark: Improve formatting of slice test parameters (43) cjolowicz

0.2.5

Changes

:beetle: Fixes

* :bug: Fix missing last item in `s[i:j:k]` when `k` is negative and `j` is smaller than `-len(s)` (29) cjolowicz

:racehorse: Performance

* :racehorse: Share internal data between lazy sequence and its slices (22) cjolowicz

:package: Dependencies

* ⬆️ Bump pep8-naming from 0.11.1 to 0.12.0 (28) dependabot

0.2.4

Changes

:beetle: Fixes

* :bug: Fix `s[i:j:k]` when `k` is negative and `(i,j)` are not both None (26) cjolowicz

:package: Dependencies

* ⬆️ Bump sphinx from 4.0.2 to 4.0.3 in /docs (24) dependabot
* ⬆️ Bump sphinx from 4.0.2 to 4.0.3 (25) dependabot

0.2.3

Changes

:beetle: Fixes

* :bug: Fix `s[i]` when the index is smaller than `-len(s)` (20) cjolowicz
* :bug: Fix `s[i:j]` when the start or stop index is smaller than `-len(s)` (19) cjolowicz

:books: Documentation

* :books: Clarify the side effects of `release()` (18) cjolowicz
* :books: Use `range()` in usage example (17) cjolowicz

:package: Dependencies

* ⬆️ Bump black from 20.8b1 to 21.6b0 (21) dependabot

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.