forked from eriknw/cytoolz
-
Notifications
You must be signed in to change notification settings - Fork 75
Safely iterate over non-dict mappings. See #127 #130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
LGTM, @eriknw |
eriknw
added a commit
to eriknw/toolz
that referenced
this pull request
Jul 11, 2019
eriknw
added a commit
to pytoolz/toolz
that referenced
this pull request
Jul 11, 2019
Add regression test from pytoolz/cytoolz#130
This was referenced Jul 12, 2019
clrpackages
pushed a commit
to clearlinux-pkgs/toolz
that referenced
this pull request
Jul 12, 2019
…erformance gain.
Arie Bovenberg (13):
implement Compose.__repr__
implement Compose equality
refactor Compose.__repr__
implement compose.__hash__
Compose now acts as method when bound to a class
implement Compose.__wrapped__
implement basic Compose.__signature__
extend Compose.__signature__ tests
add clarifying comment
add coverage exemptions
set annotations in tests in python2-compatible manner
remove signature exception propagation test.
drop py26 and py33 support
Elias Mistler (7):
added clojure style function
test for apply
change signature of `apply` as per @eriknw
add apply to toolz.curried
add apply to toolz.curried
format __all__ to fit in line breaks
complete code coverage
Eric Yen (2):
fix memory leak
Remove unecessary definitions of exceptions
Erik Welch (7):
Revert 899a932, which worked around a bug in pypy3<2.5
Minor clean up after recent merges. Nothing of substance.
Add signature for new (as of Python 3.7) `breakpoint`
`toolz.curried` should always be available
Add test for `sliding_window` with much longer window size than iterator
Add regression test from pytoolz/cytoolz#130
Bump version to 0.10.0 to prepare for release
Floris Lambrechts (2):
Point to itertoolz and functoolz at mrocklin's GitHub account
Change HTTP links to use HTTPS
Hugo (12):
Remove broken download badge
Add support for Python 3.7
Drop support for EOL Python 2.6 and 3.3
Use 'is None' rather than equality comparison
Remove redundant parentheses
Add python_requires to help pip
Upgrade Python syntax with pyupgrade (but not % formatting)
Fix DeprecationWarning in Python 3.7
Ignore file created when running tests
Don't cover non-runnable code on Python 3
Ignore file created when running tests with coverage
Move compat code to compatibility.py
John Jacobsen (1):
Use correct URL to fix encoding issue in benchmark test. (#395)
Kale Franz (1):
python3.7 generator expression fix
Marek Šuppa (1):
Update streaming-analytics.rst
Mital Ashok (1):
Added peekn
Pedro Rodrigues (6):
adds failing tests
refactor to allow use with multiprocessing.Pool.map()
raise if chunksize less than two
remove failing test
fix codestyle issues
stop tracking .tox dir
Ryan Grout (26):
Avoid using .index()
Try to find first index of no_pad more intelligently.
len(prev) == n
Add regression test.
Fix comments to make pep8 happy.
Remove added whitespace from tests.
Test both fast and slow paths and make sure they give same result.
Avoid overhead of islice.
Fix accumulate for Python 3.7
Handle StopIteration in Python 3.7+
Revert "Handle StopIteration in Python 3.7+"
More efficient assoc.
Make dissoc smarter.
Remove import.
Fix indentation error.
Add dissoc to curried namespace.
Avoid error catching inside loop for significant performance gain.
On Python 2, don't create a copy of the dictionary items.
Detect join case and perform each case separately.
Restore identity comparisons.
Adjust line breaks to 79 characters.
Use a non-recursive implementation inspired by cytoolz.
Remove unnecessary parens.
Avoid lookups for set.add method.
Fix linting error.
Update tests for dissoc to use factory keyword argument.
Sam Frances (6):
Write pipeline function, with tests
Correct failing doctest
Convert pipeline() tests from pytest to nose
Correct docstring for pipeline()
Rename pipline() to compose_left()
Add compose_left to toolz.curried
dlovell (1):
DOC/BUG: fix import so in memory split-apply-combine example runs
lumbric (2):
Add hint for groupby to documentation
Fix wrong docstring for unzip()
This was referenced Jul 12, 2019
This was referenced Jul 26, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a fairly cheap workaround that lets us keep fast iteration over
dictobjects.