-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Proposed changelog for v2.1.0 #759
Conversation
docs/changelog.rst
Outdated
* pybind11 can now avoid expensive copies when converting Eigen arrays to NumPy | ||
arrays (and vice versa). `#610 <https://github.com/pybind/pybind11/pull/610>`_. | ||
|
||
* The "fast path" in ``py::vectorize`` now works for any group of C and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not quite "any group"--they still have to be full size; if some of the arrays have a shape of 1 and need that dimension to be expanded to match the shape of other arrays in the group it'll still take the less-fast path.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.. and copies are always avoided, correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes (... unless the input array values need to be cast to match the function argument type).
docs/changelog.rst
Outdated
* The "fast path" in ``py::vectorize`` now works for any group of C and | ||
F-contiguous arrays. `#610 <https://github.com/pybind/pybind11/pull/610>`_. | ||
|
||
* Added proxy objects for fast unchecked access to NumPy arrays. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very minor wording change: "Added fast, unchecked access to NumPy arrays via a proxy object."
Static properties are now free / available by default / work with multiple inheritance #679 |
Gotcha, that's a big one. |
ready to merge? |
|
It doesn't need mentioning in the changelog, but we should wait on @dean0x7d with a clang/c++1z/void_t fix before tagging the release. |
Okay, will do. |
I assume you refer to f0e58a6? |
Yup, that's it. |
I've created a new v2.1 branch. Assuming that the CI tests pass, I'll push it out shortly (unless there are any objections) |
Sounds good to me. |
👍 |
No description provided.