Skip to content

Ensure VLen* encode methods return ndarrays #144

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 4 commits into from
Nov 30, 2018
Merged

Ensure VLen* encode methods return ndarrays #144

merged 4 commits into from
Nov 30, 2018

Conversation

jakirkham
Copy link
Member

@jakirkham jakirkham commented Nov 30, 2018

Follow-up to PR ( #136 )

There were a few VLen* types that were missed by the previous PR that ensured the encode methods all returned ndarrays. In particular VLenBytes and VLenArray were missed. This fixes that oversight by ensuring these also return ndarrays.

TODO:

  • Unit tests and/or doctests in docstrings
  • tox -e py37 passes locally
  • tox -e py27 passes locally
  • Docstrings and API docs for any new/modified user-facing classes and functions
  • Changes documented in docs/release.rst
  • tox -e docs passes locally
  • AppVeyor and Travis CI passes
  • Test coverage to 100% (Coveralls passes)

There were a few `VLen*` types that were missed by the previous PR that
ensured the `encode` methods all returned `ndarray`s. In particular
`VLenBytes` and `VLenArray` were missed. This fixes that oversight by
ensuring these also return `ndarray`s.
As there were some changes made to `vlen.pyx`, have Cython regenerate
`vlen.c` to include the relevant changes.
@jakirkham jakirkham added this to the v0.6.2 milestone Nov 30, 2018
@jakirkham jakirkham requested a review from alimanfoo November 30, 2018 21:17
Copy link
Member

@alimanfoo alimanfoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks 👍

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.

2 participants