Skip to content

Conversation

Icxolu
Copy link
Contributor

@Icxolu Icxolu commented Aug 29, 2025

Upgrades to PyO3 0.26

  • rename with_gil/allow_threads -> attach/detach
  • use cast instead of downcast
  • replace PyObject by Py<PyAny>
  • replace GILOnceCell by PyOnceLock
  • introduce PyArrayMethods::cast_array and deprecate PyArrayMethods::cast because it clashes now with Bound::cast

@Icxolu Icxolu force-pushed the pyo3/0.26 branch 4 times, most recently from 6dc1cbf to dca146f Compare August 29, 2025 19:40
Copy link
Member

@davidhewitt davidhewitt left a comment

Choose a reason for hiding this comment

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

Thanks, let's ship!

@davidhewitt davidhewitt merged commit c1727fb into PyO3:main Aug 30, 2025
71 of 72 checks passed
@Icxolu Icxolu deleted the pyo3/0.26 branch August 30, 2025 13:15
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