-
Notifications
You must be signed in to change notification settings - Fork 80
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
Fix simple typo: occurence -> occurrence #1
Open
timgates42
wants to merge
209
commits into
eriknw:master
Choose a base branch
from
timgates42:bugfix/typo_occurrence
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
…sions. These tests depend on `toolz`, and it is annoying when `toolz` changes in the middle of a PR. Now, the things these tests check for only need to be updated before being uploaded to PyPI.
It was in `cytoolz.utils`, which added `nose` as a dependency.
note: integer size fixes which require corresponding changes in itertoolz.pxd
clean up some unnecessary C-API usages and fix integer sizes
…range limitations
use cythonize() instead of old-style distutils hack
replace "int" usage by safer "Py_ssize_t" types
Add scoder to AUTHORS.md. Welcome to CyToolz!
- list comprehensions are actually faster than repeated calls to PyList_Append() - Py_XDECREF() works nicely on PyObject* (and the C compiler will usually drop the NULL check) - isinstance(x, builtin) translates directly to a PyBuiltin_Check() call
Add `cytoolz.utils.dev_skip_test` decorator to skip tests for dev versions
remove more unnecessary C-API usages
I'm not sure that this is worth it
This differentiates the additional bindings with a common convention. Currently, we only change bindings to return pointers instead of Python objects, and we change the name from "Py*" to "Ptr*". I expect we will add more bindings in the future, including passing pointers to functions. In this case, the name should be something like "*_ptr".
I test installation with the C files that *I* create using this branch: https://github.com/eriknw/cytoolz/tree/check_my_c_files Hence, we don't need to verify that cytoolz can be installed with only a C compiler for every commit.
Rename additional C bindings defined in `cytoolz.cpython`
Simplify TravisCI script, which makes travis finish faster
Support serialization of curry, compose, juxt, and complement objects.
Matches curry changes from pytoolz/toolz#170 Matches reduceby changes from pytoolz/toolz#184
Update `curry` and `reduceby` to match those in toolz
It was moved from `cytoolz.itertoolz._consume`. `toolz` does not have `consume`.
…ort cytoolz` work again. Also added a test to make sure we can cimport cytoolz.
preliminary debian package work
test python 3.7 in travi-ci
Fix pytoolz#101. Modify how we handle curried `memoize` to make `cimport cytoolz work again.
PyPI no longer provides download count badge. Also, Python 3.3 is the minimum version of Python 3 we test and support.
Update README.
Just released 0.9.0. Bump to next dev version, 0.9.1dev.
Bring cytoolz up to date with latest toolz
Fix pytoolz#123 when sliding_window n was larger than the sequence
Safely iterate over non-dict mappings. See pytoolz#127
Update readme to reflect minimum Python version
Just released! Bump to next dev version: 0.10.1dev
Python 3.8 failed to install cytoolz b/c the .c files created by Cython were not forward-compatible. This justifies always using Cython if available. Also, add Cython as an optional dependency via `extras_require` in setup.py. This should allow `pip install "cytoolz[cython]"` to do the right thing.
Test Python 3.8 (pytoolz#136) and use Cython if available (pytoolz#134)
There is a small typo in cytoolz/tests/test_none_safe.py. Should read `occurrence` rather than `occurence`.
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.
There is a small typo in cytoolz/tests/test_none_safe.py.
Should read
occurrence
rather thanoccurence
.