Revert "Using memoryview typed arguments in inner functions is now rejected as unsupported."
Patch by David Woods. (Github issue :issue:4798)
from module import * failed in 0.29.31 when using memoryviews.
Patch by David Woods. (Github issue :issue:4927)
.. _0.29.31:
0.29.31 (2022-07-27)
Features added
A new argument --module-name was added to the cython command to
provide the (one) exact target module name from the command line.
Patch by Matthew Brett and h-vetinari. (Github issue :issue:4906)
Bugs fixed
Use importlib.util.find_spec() instead of the deprecated importlib.find_loader()
function when setting up the package path at import-time.
Patch by Matti Picus. (Github issue :issue:4764)
Require the C compiler to support the two-arg form of va_start
on Python 3.10 and higher.
Patch by Thomas Caswell. (Github issue :issue:4820)
Make fused_type subscriptable in Shadow.py.
Patch by Pfebrer. (Github issue :issue:4842)
Fix the incorrect code generation of the target type in bytearray loops.
Patch by Kenrick Everett. (Github issue :issue:4108)
Atomic refcounts for memoryviews were not used on some GCC versions by accident.
Patch by Sam Gross. (Github issue :issue:4915)
Silence some GCC -Wconversion warnings in C utility code.
Patch by Lisandro Dalcin. (Github issue :issue:4854)
Tuple multiplication was ignored in expressions such as [*(1,) * 2].
Patch by David Woods. (Github issue :issue:4864)
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 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](https://github.com/cython/cython) from 0.29.26 to 0.29.32.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/cython/cython/blob/master/CHANGES.rst">cython's changelog</a>.</em></p>
<blockquote>
<h1>0.29.32 (2022-07-29)</h1>
<h2>Bugs fixed</h2>
<ul>
<li>
<p>Revert "Using memoryview typed arguments in inner functions is now rejected as unsupported."
Patch by David Woods. (Github issue :issue:<code>4798</code>)</p>
</li>
<li>
<p><code>from module import *</code> failed in 0.29.31 when using memoryviews.
Patch by David Woods. (Github issue :issue:<code>4927</code>)</p>
</li>
</ul>
<p>.. _0.29.31:</p>
<h1>0.29.31 (2022-07-27)</h1>
<h2>Features added</h2>
<ul>
<li>A new argument <code>--module-name</code> was added to the <code>cython</code> command to
provide the (one) exact target module name from the command line.
Patch by Matthew Brett and h-vetinari. (Github issue :issue:<code>4906</code>)</li>
</ul>
<h2>Bugs fixed</h2>
<ul>
<li>
<p>Use <code>importlib.util.find_spec()</code> instead of the deprecated <code>importlib.find_loader()</code>
function when setting up the package path at import-time.
Patch by Matti Picus. (Github issue :issue:<code>4764</code>)</p>
</li>
<li>
<p>Require the C compiler to support the two-arg form of <code>va_start</code>
on Python 3.10 and higher.
Patch by Thomas Caswell. (Github issue :issue:<code>4820</code>)</p>
</li>
<li>
<p>Make <code>fused_type</code> subscriptable in Shadow.py.
Patch by Pfebrer. (Github issue :issue:<code>4842</code>)</p>
</li>
<li>
<p>Fix the incorrect code generation of the target type in <code>bytearray</code> loops.
Patch by Kenrick Everett. (Github issue :issue:<code>4108</code>)</p>
</li>
<li>
<p>Atomic refcounts for memoryviews were not used on some GCC versions by accident.
Patch by Sam Gross. (Github issue :issue:<code>4915</code>)</p>
</li>
<li>
<p>Silence some GCC <code>-Wconversion</code> warnings in C utility code.
Patch by Lisandro Dalcin. (Github issue :issue:<code>4854</code>)</p>
</li>
<li>
<p>Tuple multiplication was ignored in expressions such as <code>[*(1,) * 2]</code>.
Patch by David Woods. (Github issue :issue:<code>4864</code>)</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/cython/cython/commit/c48361d0a0969206e227ec016f654c9d941c2b69"><code>c48361d</code></a> Prepare release of 0.29.32.</li>
<li><a href="https://github.com/cython/cython/commit/a4be069c6bb0de91c98db5c6378ed2947ff46a45"><code>a4be069</code></a> Reallow capture of memoryview arguments (<a href="https://github-redirect.dependabot.com/cython/cython/issues/4929">GH-4929</a>)</li>
<li><a href="https://github.com/cython/cython/commit/67c44be9dd01a7a5bdde8df928f0cd4139570e0e"><code>67c44be</code></a> Fix error where "import *" tried to overwrite a macro in utility code (<a href="https://github-redirect.dependabot.com/cython/cython/issues/4930">GH-4930</a>)</li>
<li><a href="https://github.com/cython/cython/commit/1f71962268c7fa4d0361b38b172e7376fa904a61"><code>1f71962</code></a> Fix release date.</li>
<li><a href="https://github.com/cython/cython/commit/b6cb192f29da5af63f252c4f831a0b71f73ac1da"><code>b6cb192</code></a> Prepare release of 0.29.31.</li>
<li><a href="https://github.com/cython/cython/commit/6cede008009c6a5bf5c1414591ca79ec62f56256"><code>6cede00</code></a> [0.29] Add --module-name argument to cython command (<a href="https://github-redirect.dependabot.com/cython/cython/issues/4906">GH-4906</a>)</li>
<li><a href="https://github.com/cython/cython/commit/34ce43c8f3dafda734d59345731a61b8200c3b94"><code>34ce43c</code></a> Update changelog.</li>
<li><a href="https://github.com/cython/cython/commit/72848313d8b8f06c14ae171e66d6f09f5312c325"><code>7284831</code></a> Backport "noexcept" function modifier to Cython 0.29.x (<a href="https://github-redirect.dependabot.com/cython/cython/issues/4903">GH-4903</a>)</li>
<li><a href="https://github.com/cython/cython/commit/3de4be40a1642ffeec18d783cde9d285622b24ce"><code>3de4be4</code></a> [0.29] Add configuration for the "nogil" CPython fork (<a href="https://github-redirect.dependabot.com/cython/cython/issues/4912">GH-4912</a>) (<a href="https://github-redirect.dependabot.com/cython/cython/issues/4914">GH-4914</a>)</li>
<li><a href="https://github.com/cython/cython/commit/f1748bb86bf7edb731728ac366e129c1be9bcb61"><code>f1748bb</code></a> [0.29] Use atomic reference counting in MemoryView in more cases (<a href="https://github-redirect.dependabot.com/cython/cython/issues/4912">GH-4912</a>) (G...</li>
<li>Additional commits viewable in <a href="https://github.com/cython/cython/compare/0.29.26...0.29.32">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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 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)
</details>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps cython from 0.29.26 to 0.29.32.
Changelog
Sourced from cython's changelog.
... (truncated)
Commits
c48361dPrepare release of 0.29.32.a4be069Reallow capture of memoryview arguments (GH-4929)67c44beFix error where "import *" tried to overwrite a macro in utility code (GH-4930)1f71962Fix release date.b6cb192Prepare release of 0.29.31.6cede00[0.29] Add --module-name argument to cython command (GH-4906)34ce43cUpdate changelog.7284831Backport "noexcept" function modifier to Cython 0.29.x (GH-4903)3de4be4[0.29] Add configuration for the "nogil" CPython fork (GH-4912) (GH-4914)f1748bb[0.29] Use atomic reference counting in MemoryView in more cases (GH-4912) (G...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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Superseded by #122.
Pull request closed