Skip to content
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
wants to merge 209 commits into
base: master
Choose a base branch
from

Conversation

timgates42
Copy link

There is a small typo in cytoolz/tests/test_none_safe.py.
Should read occurrence rather than occurence.

eriknw and others added 30 commits May 2, 2014 18:16
…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
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
This is ugly and likely inefficient.  Help.
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`.
eriknw and others added 30 commits December 16, 2017 12:14
…ort cytoolz` work again.

Also added a test to make sure we can cimport cytoolz.
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.
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.