Skip to content

Commit dcdcda8

Browse files
Enhanced compatibility to Python 3.7
1 parent 2b08dd2 commit dcdcda8

27 files changed

+249
-2888
lines changed

docs/gh-pages/_build/auto_examples/benchmarks/Benchmark_Hardware_Info.html

Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -529,12 +529,46 @@
529529
bus info: cpu@0
530530
width: 64 bits
531531
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp x86-64 constant_tsc arch_perfmon rep_good nopl xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq ssse3 fma cx16 pdcm pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced fsgsbase bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx512vbmi umip avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid fsrm avx512_vp2intersect flush_l1d arch_capabilities
532+
*-scsi:0
533+
description: SCSI storage controller
534+
product: Virtio filesystem
535+
vendor: Red Hat, Inc.
536+
physical id: 3
537+
bus info: pci@2635:00:00.0
538+
version: 01
539+
width: 64 bits
540+
clock: 33MHz
541+
capabilities: scsi bus_master cap_list
542+
configuration: driver=virtio-pci latency=64
543+
resources: iomemory:90-8f iomemory:90-8f iomemory:90-8f irq:0 memory:9ffe04000-9ffe04fff memory:9ffe05000-9ffe05fff memory:9ffe06000-9ffe06fff
544+
*-virtio1 UNCLAIMED
545+
description: Virtual I/O device
546+
physical id: 0
547+
bus info: virtio@1
548+
configuration: driver=9pnet_virtio
549+
*-scsi:1
550+
description: SCSI storage controller
551+
product: Virtio filesystem
552+
vendor: Red Hat, Inc.
553+
physical id: 4
554+
bus info: pci@3e82:00:00.0
555+
version: 01
556+
width: 64 bits
557+
clock: 33MHz
558+
capabilities: scsi bus_master cap_list
559+
configuration: driver=virtio-pci latency=64
560+
resources: iomemory:90-8f iomemory:90-8f iomemory:90-8f irq:0 memory:9ffe0c000-9ffe0cfff memory:9ffe0d000-9ffe0dfff memory:9ffe0e000-9ffe0efff
561+
*-virtio4 UNCLAIMED
562+
description: Virtual I/O device
563+
physical id: 0
564+
bus info: virtio@4
565+
configuration: driver=9pnet_virtio
532566
*-generic
533567
description: System peripheral
534568
product: Red Hat, Inc.
535569
vendor: Red Hat, Inc.
536-
physical id: 3
537-
bus info: pci@165a:00:00.0
570+
physical id: 5
571+
bus info: pci@6012:00:00.0
538572
version: 01
539573
width: 64 bits
540574
clock: 33MHz
@@ -546,12 +580,12 @@
546580
physical id: 0
547581
bus info: virtio@2
548582
configuration: driver=virtiofs
549-
*-scsi:0
583+
*-scsi:2
550584
description: SCSI storage controller
551585
product: Virtio console
552586
vendor: Red Hat, Inc.
553-
physical id: 4
554-
bus info: pci@195d:00:00.0
587+
physical id: 6
588+
bus info: pci@903f:00:00.0
555589
version: 01
556590
width: 64 bits
557591
clock: 33MHz
@@ -567,54 +601,32 @@
567601
description: 3D controller
568602
product: Microsoft Corporation
569603
vendor: Microsoft Corporation
570-
physical id: 5
571-
bus info: pci@36a0:00:00.0
604+
physical id: 7
605+
bus info: pci@a0b2:00:00.0
572606
version: 00
573607
width: 32 bits
574608
clock: 33MHz
575609
capabilities: bus_master cap_list
576610
configuration: driver=dxgkrnl latency=0
577611
resources: irq:0
578-
*-scsi:1
579-
description: SCSI storage controller
580-
product: Virtio filesystem
581-
vendor: Red Hat, Inc.
582-
physical id: 6
583-
bus info: pci@5428:00:00.0
584-
version: 01
585-
width: 64 bits
586-
clock: 33MHz
587-
capabilities: scsi bus_master cap_list
588-
configuration: driver=virtio-pci latency=64
589-
resources: iomemory:90-8f iomemory:90-8f iomemory:90-8f irq:0 memory:9ffe04000-9ffe04fff memory:9ffe05000-9ffe05fff memory:9ffe06000-9ffe06fff
590-
*-virtio1 UNCLAIMED
591-
description: Virtual I/O device
592-
physical id: 0
593-
bus info: virtio@1
594-
configuration: driver=9pnet_virtio
595-
*-scsi:2
596-
description: SCSI storage controller
597-
product: Virtio filesystem
598-
vendor: Red Hat, Inc.
599-
physical id: 7
600-
bus info: pci@59db:00:00.0
601-
version: 01
602-
width: 64 bits
612+
*-display:1
613+
description: 3D controller
614+
product: Microsoft Corporation
615+
vendor: Microsoft Corporation
616+
physical id: 8
617+
bus info: pci@dbc0:00:00.0
618+
version: 00
619+
width: 32 bits
603620
clock: 33MHz
604-
capabilities: scsi bus_master cap_list
605-
configuration: driver=virtio-pci latency=64
606-
resources: iomemory:90-8f iomemory:90-8f iomemory:90-8f irq:0 memory:9ffe0c000-9ffe0cfff memory:9ffe0d000-9ffe0dfff memory:9ffe0e000-9ffe0efff
607-
*-virtio4 UNCLAIMED
608-
description: Virtual I/O device
609-
physical id: 0
610-
bus info: virtio@4
611-
configuration: driver=9pnet_virtio
621+
capabilities: bus_master cap_list
622+
configuration: driver=dxgkrnl latency=0
623+
resources: irq:0
612624
*-scsi:3
613625
description: SCSI storage controller
614626
product: Virtio filesystem
615627
vendor: Red Hat, Inc.
616-
physical id: 8
617-
bus info: pci@8ede:00:00.0
628+
physical id: 0
629+
bus info: pci@f627:00:00.0
618630
version: 01
619631
width: 64 bits
620632
clock: 33MHz
@@ -626,18 +638,6 @@
626638
physical id: 0
627639
bus info: virtio@3
628640
configuration: driver=9pnet_virtio
629-
*-display:1
630-
description: 3D controller
631-
product: Microsoft Corporation
632-
vendor: Microsoft Corporation
633-
physical id: 0
634-
bus info: pci@f018:00:00.0
635-
version: 00
636-
width: 32 bits
637-
clock: 33MHz
638-
capabilities: bus_master cap_list
639-
configuration: driver=dxgkrnl latency=0
640-
resources: irq:0
641641
*-pnp00:00
642642
product: PnP device PNP0b00
643643
physical id: 9
@@ -647,7 +647,7 @@
647647
description: Ethernet interface
648648
physical id: 1
649649
logical name: eth0
650-
serial: 00:15:5d:bd:13:d7
650+
serial: 00:15:5d:1b:e8:e9
651651
size: 10Gbit/s
652652
capabilities: ethernet physical
653653
configuration: autonegotiation=off broadcast=yes driver=hv_netvsc driverversion=5.15.90.2-microsoft-standard-WS duplex=full firmware=N/A ip=172.28.251.236 link=yes multicast=yes speed=10Gbit/s

docs/gh-pages/_build/auto_examples/benchmarks/sg_execution_times.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@
466466

467467
<section id="computation-times">
468468
<span id="sphx-glr-build-auto-examples-benchmarks-sg-execution-times"></span><h1>Computation times<a class="headerlink" href="#computation-times" title="Link to this heading">#</a></h1>
469-
<p><strong>00:01.442</strong> total execution time for 2 files <strong>from _build/auto_examples/benchmarks</strong>:</p>
469+
<p><strong>00:01.408</strong> total execution time for 2 files <strong>from _build/auto_examples/benchmarks</strong>:</p>
470470
<div class="docutils container">
471471
<style scoped>
472472
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet" />
@@ -488,11 +488,11 @@
488488
</thead>
489489
<tbody>
490490
<tr class="row-even"><td><p><a class="reference internal" href="Inplace_conjugate.html#sphx-glr-build-auto-examples-benchmarks-inplace-conjugate-py"><span class="std std-ref">Benchmark of inplace conjugation of arrays</span></a> (<code class="docutils literal notranslate"><span class="pre">Inplace_conjugate.py</span></code>)</p></td>
491-
<td><p>00:00.819</p></td>
491+
<td><p>00:00.925</p></td>
492492
<td><p>0.0</p></td>
493493
</tr>
494494
<tr class="row-odd"><td><p><a class="reference internal" href="Benchmark_Hardware_Info.html#sphx-glr-build-auto-examples-benchmarks-benchmark-hardware-info-py"><span class="std std-ref">Description of the benchmark machine</span></a> (<code class="docutils literal notranslate"><span class="pre">Benchmark_Hardware_Info.py</span></code>)</p></td>
495-
<td><p>00:00.623</p></td>
495+
<td><p>00:00.483</p></td>
496496
<td><p>0.0</p></td>
497497
</tr>
498498
</tbody>

docs/gh-pages/_build/auto_examples/tutorial/03-Preparing_inputs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@
568568
<span class="p">)</span>
569569
</pre></div>
570570
</div>
571-
<img src="../../../_images/sphx_glr_03-Preparing_inputs_002.png" srcset="../../../_images/sphx_glr_03-Preparing_inputs_002.png" alt="03 Preparing inputs" class = "sphx-glr-single-img"/><p>This calling convention is why positional-only arguments are disallowed in <a class="reference internal" href="../../../generated/pyquickbench.run_benchmark.html#pyquickbench.run_benchmark" title="pyquickbench.run_benchmark"><code class="xref py py-func docutils literal notranslate"><span class="pre">pyquickbench.run_benchmark()</span></code></a>. For instance, even though the following defines a legal Python function</p>
571+
<img src="../../../_images/sphx_glr_03-Preparing_inputs_002.png" srcset="../../../_images/sphx_glr_03-Preparing_inputs_002.png" alt="03 Preparing inputs" class = "sphx-glr-single-img"/><p>This calling convention is why positional-only arguments are disallowed in <a class="reference internal" href="../../../generated/pyquickbench.run_benchmark.html#pyquickbench.run_benchmark" title="pyquickbench.run_benchmark"><code class="xref py py-func docutils literal notranslate"><span class="pre">pyquickbench.run_benchmark()</span></code></a>. For instance, even though the following defines a legal Python 3.8+ function</p>
572572
<div class="highlight-Python notranslate"><div class="highlight"><pre><span></span><span class="k">def</span> <span class="nf">pos_only_fun</span><span class="p">(</span><span class="n">n</span><span class="p">,</span><span class="o">/</span><span class="p">):</span>
573573
<span class="k">return</span> <span class="n">n</span>
574574

docs/gh-pages/_build/auto_examples/tutorial/sg_execution_times.html

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@
466466

467467
<section id="computation-times">
468468
<span id="sphx-glr-build-auto-examples-tutorial-sg-execution-times"></span><h1>Computation times<a class="headerlink" href="#computation-times" title="Link to this heading">#</a></h1>
469-
<p><strong>00:05.261</strong> total execution time for 8 files <strong>from _build/auto_examples/tutorial</strong>:</p>
469+
<p><strong>00:10.382</strong> total execution time for 8 files <strong>from _build/auto_examples/tutorial</strong>:</p>
470470
<div class="docutils container">
471471
<style scoped>
472472
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet" />
@@ -488,35 +488,35 @@
488488
</thead>
489489
<tbody>
490490
<tr class="row-even"><td><p><a class="reference internal" href="07-Multidimensional_benchmarks.html#sphx-glr-build-auto-examples-tutorial-07-multidimensional-benchmarks-py"><span class="std std-ref">Multidimensional benchmarks</span></a> (<code class="docutils literal notranslate"><span class="pre">07-Multidimensional_benchmarks.py</span></code>)</p></td>
491-
<td><p>00:05.261</p></td>
491+
<td><p>00:04.417</p></td>
492492
<td><p>0.0</p></td>
493493
</tr>
494-
<tr class="row-odd"><td><p><a class="reference internal" href="01-First_benchmark.html#sphx-glr-build-auto-examples-tutorial-01-first-benchmark-py"><span class="std std-ref">A first benchmark</span></a> (<code class="docutils literal notranslate"><span class="pre">01-First_benchmark.py</span></code>)</p></td>
495-
<td><p>00:00.000</p></td>
494+
<tr class="row-odd"><td><p><a class="reference internal" href="06-Transforming_values.html#sphx-glr-build-auto-examples-tutorial-06-transforming-values-py"><span class="std std-ref">Plotting transformed values</span></a> (<code class="docutils literal notranslate"><span class="pre">06-Transforming_values.py</span></code>)</p></td>
495+
<td><p>00:01.600</p></td>
496496
<td><p>0.0</p></td>
497497
</tr>
498-
<tr class="row-even"><td><p><a class="reference internal" href="02-Caching_benchmarks.html#sphx-glr-build-auto-examples-tutorial-02-caching-benchmarks-py"><span class="std std-ref">Caching benchmarks</span></a> (<code class="docutils literal notranslate"><span class="pre">02-Caching_benchmarks.py</span></code>)</p></td>
499-
<td><p>00:00.000</p></td>
498+
<tr class="row-even"><td><p><a class="reference internal" href="08-Lengthy_benchmarks.html#sphx-glr-build-auto-examples-tutorial-08-lengthy-benchmarks-py"><span class="std std-ref">Time-consuming benchmarks</span></a> (<code class="docutils literal notranslate"><span class="pre">08-Lengthy_benchmarks.py</span></code>)</p></td>
499+
<td><p>00:01.446</p></td>
500500
<td><p>0.0</p></td>
501501
</tr>
502-
<tr class="row-odd"><td><p><a class="reference internal" href="03-Preparing_inputs.html#sphx-glr-build-auto-examples-tutorial-03-preparing-inputs-py"><span class="std std-ref">Preparing inputs</span></a> (<code class="docutils literal notranslate"><span class="pre">03-Preparing_inputs.py</span></code>)</p></td>
503-
<td><p>00:00.000</p></td>
502+
<tr class="row-odd"><td><p><a class="reference internal" href="02-Caching_benchmarks.html#sphx-glr-build-auto-examples-tutorial-02-caching-benchmarks-py"><span class="std std-ref">Caching benchmarks</span></a> (<code class="docutils literal notranslate"><span class="pre">02-Caching_benchmarks.py</span></code>)</p></td>
503+
<td><p>00:01.108</p></td>
504504
<td><p>0.0</p></td>
505505
</tr>
506-
<tr class="row-even"><td><p><a class="reference internal" href="04-Error_handling.html#sphx-glr-build-auto-examples-tutorial-04-error-handling-py"><span class="std std-ref">Handling errors</span></a> (<code class="docutils literal notranslate"><span class="pre">04-Error_handling.py</span></code>)</p></td>
507-
<td><p>00:00.000</p></td>
506+
<tr class="row-even"><td><p><a class="reference internal" href="05-Plotting_scalars.html#sphx-glr-build-auto-examples-tutorial-05-plotting-scalars-py"><span class="std std-ref">Plotting scalar values</span></a> (<code class="docutils literal notranslate"><span class="pre">05-Plotting_scalars.py</span></code>)</p></td>
507+
<td><p>00:00.781</p></td>
508508
<td><p>0.0</p></td>
509509
</tr>
510-
<tr class="row-odd"><td><p><a class="reference internal" href="05-Plotting_scalars.html#sphx-glr-build-auto-examples-tutorial-05-plotting-scalars-py"><span class="std std-ref">Plotting scalar values</span></a> (<code class="docutils literal notranslate"><span class="pre">05-Plotting_scalars.py</span></code>)</p></td>
511-
<td><p>00:00.000</p></td>
510+
<tr class="row-odd"><td><p><a class="reference internal" href="03-Preparing_inputs.html#sphx-glr-build-auto-examples-tutorial-03-preparing-inputs-py"><span class="std std-ref">Preparing inputs</span></a> (<code class="docutils literal notranslate"><span class="pre">03-Preparing_inputs.py</span></code>)</p></td>
511+
<td><p>00:00.481</p></td>
512512
<td><p>0.0</p></td>
513513
</tr>
514-
<tr class="row-even"><td><p><a class="reference internal" href="06-Transforming_values.html#sphx-glr-build-auto-examples-tutorial-06-transforming-values-py"><span class="std std-ref">Plotting transformed values</span></a> (<code class="docutils literal notranslate"><span class="pre">06-Transforming_values.py</span></code>)</p></td>
515-
<td><p>00:00.000</p></td>
514+
<tr class="row-even"><td><p><a class="reference internal" href="01-First_benchmark.html#sphx-glr-build-auto-examples-tutorial-01-first-benchmark-py"><span class="std std-ref">A first benchmark</span></a> (<code class="docutils literal notranslate"><span class="pre">01-First_benchmark.py</span></code>)</p></td>
515+
<td><p>00:00.351</p></td>
516516
<td><p>0.0</p></td>
517517
</tr>
518-
<tr class="row-odd"><td><p><a class="reference internal" href="08-Lengthy_benchmarks.html#sphx-glr-build-auto-examples-tutorial-08-lengthy-benchmarks-py"><span class="std std-ref">Time-consuming benchmarks</span></a> (<code class="docutils literal notranslate"><span class="pre">08-Lengthy_benchmarks.py</span></code>)</p></td>
519-
<td><p>00:00.000</p></td>
518+
<tr class="row-odd"><td><p><a class="reference internal" href="04-Error_handling.html#sphx-glr-build-auto-examples-tutorial-04-error-handling-py"><span class="std std-ref">Handling errors</span></a> (<code class="docutils literal notranslate"><span class="pre">04-Error_handling.py</span></code>)</p></td>
519+
<td><p>00:00.198</p></td>
520520
<td><p>0.0</p></td>
521521
</tr>
522522
</tbody>

docs/gh-pages/_downloads/0dc9ac5121cfb7a79da8cdd1143c030d/03-Preparing_inputs.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"cell_type": "markdown",
6666
"metadata": {},
6767
"source": [
68-
"This calling convention is why positional-only arguments are disallowed in :func:`pyquickbench.run_benchmark`. For instance, even though the following defines a legal Python function\n\n"
68+
"This calling convention is why positional-only arguments are disallowed in :func:`pyquickbench.run_benchmark`. For instance, even though the following defines a legal Python 3.8+ function\n\n"
6969
]
7070
},
7171
{
Binary file not shown.

docs/gh-pages/_downloads/3430d2b05d2d95feee728f0d9012814a/03-Preparing_inputs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def setup(n):
114114
# sphinx_gallery_end_ignore
115115
)
116116
# %%
117-
# This calling convention is why positional-only arguments are disallowed in :func:`pyquickbench.run_benchmark`. For instance, even though the following defines a legal Python function
117+
# This calling convention is why positional-only arguments are disallowed in :func:`pyquickbench.run_benchmark`. For instance, even though the following defines a legal Python 3.8+ function
118118

119119
def pos_only_fun(n,/):
120120
return n
Binary file not shown.
5.97 KB
Loading
Binary file not shown.

0 commit comments

Comments
 (0)