Skip to content

Commit 8c3f169

Browse files
author
array-api-bot
committed
Deploy: 4e402cc
1 parent bcc0b92 commit 8c3f169

File tree

64 files changed

+1477
-239
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+1477
-239
lines changed

2022.12/changelog.html

Lines changed: 318 additions & 58 deletions
Large diffs are not rendered by default.

2022.12/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

2023.12/changelog.html

Lines changed: 318 additions & 58 deletions
Large diffs are not rendered by default.

2023.12/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

draft/API_specification/generated/array_api.add.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,9 @@ <h1 id="api-specification-generated-array-api-add--page-root">add<a class="heade
542542
<div class="versionchanged">
543543
<p><span class="versionmodified changed">Changed in version 2022.12: </span>Added complex data type support.</p>
544544
</div>
545+
<div class="versionchanged">
546+
<p><span class="versionmodified changed">Changed in version 2024.12: </span>Added scalar argument support.</p>
547+
</div>
545548
</dd></dl>
546549
</section>
547550

draft/API_specification/generated/array_api.array.__dlpack__.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,11 +607,14 @@ <h1 id="api-specification-generated-array-api-array-dlpack--page-root">__dlpack_
607607
<p><span class="versionmodified changed">Changed in version 2022.12: </span>Added BufferError.</p>
608608
</div>
609609
<div class="versionchanged">
610-
<p><span class="versionmodified changed">Changed in version 2023.12: </span>Added the <code class="docutils literal notranslate"><span class="pre">max_version</span></code>, <code class="docutils literal notranslate"><span class="pre">dl_device</span></code>, and <code class="docutils literal notranslate"><span class="pre">copy</span></code> keywords.</p>
610+
<p><span class="versionmodified changed">Changed in version 2023.12: </span>Added the <code class="docutils literal notranslate"><span class="pre">max_version</span></code>, <code class="docutils literal notranslate"><span class="pre">dl_device</span></code>, and <code class="docutils literal notranslate"><span class="pre">copy</span></code> keyword arguments.</p>
611611
</div>
612612
<div class="versionchanged">
613613
<p><span class="versionmodified changed">Changed in version 2023.12: </span>Added recommendation for handling read-only arrays.</p>
614614
</div>
615+
<div class="versionchanged">
616+
<p><span class="versionmodified changed">Changed in version 2024.12: </span>Resolved conflicting exception guidance.</p>
617+
</div>
615618
</dd></dl>
616619
</section>
617620

draft/API_specification/generated/array_api.array.__eq__.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,9 @@ <h1 id="api-specification-generated-array-api-array-eq--page-root">__eq__<a clas
485485
<div class="versionchanged">
486486
<p><span class="versionmodified changed">Changed in version 2022.12: </span>Added complex data type support.</p>
487487
</div>
488+
<div class="versionchanged">
489+
<p><span class="versionmodified changed">Changed in version 2024.12: </span>Cross-kind comparisons are explicitly left unspecified.</p>
490+
</div>
488491
</dd></dl>
489492
</section>
490493

draft/API_specification/generated/array_api.array.__ge__.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,9 @@ <h1 id="api-specification-generated-array-api-array-ge--page-root">__ge__<a clas
483483
<li><p>Comparison of arrays without a corresponding promotable data type (see <a class="reference internal" href="../type_promotion.html#type-promotion"><span class="std std-ref">Type Promotion Rules</span></a>) is undefined and thus implementation-dependent.</p></li>
484484
<li><p>For backward compatibility, conforming implementations may support complex numbers; however, inequality comparison of complex numbers is unspecified and thus implementation-dependent (see <a class="reference internal" href="../../design_topics/complex_numbers.html#complex-number-ordering"><span class="std std-ref">Complex Number Ordering</span></a>).</p></li>
485485
</ul>
486+
<div class="versionchanged">
487+
<p><span class="versionmodified changed">Changed in version 2024.12: </span>Cross-kind comparisons are explicitly left unspecified.</p>
488+
</div>
486489
</dd></dl>
487490
</section>
488491

draft/API_specification/generated/array_api.array.__getitem__.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,9 @@ <h1 id="api-specification-generated-array-api-array-getitem--page-root">__getite
482482
<li><p>See <a class="reference internal" href="../indexing.html#indexing"><span class="std std-ref">Indexing</span></a> for details on supported indexing semantics.</p></li>
483483
<li><p>When <code class="docutils literal notranslate"><span class="pre">__getitem__</span></code> is defined on an object, Python will automatically define iteration (i.e., the behavior from <code class="docutils literal notranslate"><span class="pre">iter(x)</span></code>) as <code class="docutils literal notranslate"><span class="pre">x[0]</span></code>, <code class="docutils literal notranslate"><span class="pre">x[1]</span></code>, …, <code class="docutils literal notranslate"><span class="pre">x[N-1]</span></code>. This can also be implemented directly by defining <code class="docutils literal notranslate"><span class="pre">__iter__</span></code>. Therefore, for a one-dimensional array <code class="docutils literal notranslate"><span class="pre">x</span></code>, iteration should produce a sequence of zero-dimensional arrays <code class="docutils literal notranslate"><span class="pre">x[0]</span></code>, <code class="docutils literal notranslate"><span class="pre">x[1]</span></code>, …, <code class="docutils literal notranslate"><span class="pre">x[N-1]</span></code>, where <code class="docutils literal notranslate"><span class="pre">N</span></code> is the number of elements in the array. Iteration behavior for arrays having zero dimensions or more than one dimension is unspecified and thus implementation-defined.</p></li>
484484
</ul>
485+
<div class="versionchanged">
486+
<p><span class="versionmodified changed">Changed in version 2024.12: </span>Clarified that iteration is defined for one-dimensional arrays.</p>
487+
</div>
485488
</dd></dl>
486489
</section>
487490

draft/API_specification/generated/array_api.array.__gt__.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,9 @@ <h1 id="api-specification-generated-array-api-array-gt--page-root">__gt__<a clas
483483
<li><p>Comparison of arrays without a corresponding promotable data type (see <a class="reference internal" href="../type_promotion.html#type-promotion"><span class="std std-ref">Type Promotion Rules</span></a>) is undefined and thus implementation-dependent.</p></li>
484484
<li><p>For backward compatibility, conforming implementations may support complex numbers; however, inequality comparison of complex numbers is unspecified and thus implementation-dependent (see <a class="reference internal" href="../../design_topics/complex_numbers.html#complex-number-ordering"><span class="std std-ref">Complex Number Ordering</span></a>).</p></li>
485485
</ul>
486+
<div class="versionchanged">
487+
<p><span class="versionmodified changed">Changed in version 2024.12: </span>Cross-kind comparisons are explicitly left unspecified.</p>
488+
</div>
486489
</dd></dl>
487490
</section>
488491

0 commit comments

Comments
 (0)