Assigning const values to non-const variables now issues a warning.
(Github issue :issue:5639)
Using noexcept on a function returning Python objects now issues a warning.
(Github issue :issue:5661)
Some C-API usage was updated for the upcoming CPython 3.13.
Patches by Victor Stinner et al. (Github issues :issue:6003, :issue:6020)
The deprecated Py_UNICODE type is no longer used, unless required by user code.
(Github issue :issue:5982)
std::string.replace() declarations were added to libcpp.string.
Patch by Kieran Geary. (Github issue :issue:6037)
Bugs fixed
Cython generates incorrect (but harmless) self-casts when directly calling
final methods of subtypes. Lacking a better solution, the errors that recent
gcc versions produce have been silenced for the time being.
Original patch by Michał Górny. (Github issue :issue:2747)
Unused variable warnings about clineno were fixed when C lines in tracebacks are disabled.
(Github issue :issue:6035)
Subclass deallocation of extern classes could crash if the base class uses GC.
Original patch by Jason Fried. (Github issue :issue:5971)
Type checks for Python memoryview could use an invalid C function.
Patch by Xenia Lu. (Github issue :issue:5988)
Calling final fused functions could generate invalid C code.
(Github issue :issue:5989)
Declaring extern enums multiple times could generate invalid C code.
(Github issue :issue:5905)
pyximport used relative paths incorrectly.
Patch by Stefano Rivera. (Github issue :issue:5957)
Running Cython with globbing characters ([]*?) in the module search path could fail.
Patch by eewanco. (Github issue :issue:5942)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps cython from 0.29.21 to 3.0.9.
Release notes
Sourced from cython's releases.
... (truncated)
Changelog
Sourced from cython's changelog.
... (truncated)
Commits
31d4058
Update release date.9d9189b
Build: Update cibuildwheel version.3cb9358
Update changelog.5689c9f
Disable gcc warnings/errors about wrong self casts in final function calls (G...51d1ad0
Add fixing of warning in 3.0.9 to CHANGES.rst (#6041)ec2a67d
Update changelog.2da931d
Disable GCC warnings/errors about wrong self casts in final function calls.ba47941
Prepare release of 3.0.9.bc683a4
Add missingreplace
functions to C++std::string
declarations (GH-6037)a0a5e8d
Update changelog.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show