Commit 8aba690
committed
Improve performance hints for nogil + pxd (#6088)
In order to be called efficiently, these functions must
have the exception specification set in the pxd file since
Cython is unable to assume an implicit exception specification.
This improves the quality of the messages to draw attention to
this detail.
Closes #60011 parent ae120d5 commit 8aba690
7 files changed
Lines changed: 66 additions & 3 deletions
File tree
- Cython/Compiler
- tests
- compile
- run
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6495 | 6495 | | |
6496 | 6496 | | |
6497 | 6497 | | |
6498 | | - | |
| 6498 | + | |
| 6499 | + | |
6499 | 6500 | | |
6500 | 6501 | | |
6501 | 6502 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5475 | 5475 | | |
5476 | 5476 | | |
5477 | 5477 | | |
5478 | | - | |
| 5478 | + | |
| 5479 | + | |
| 5480 | + | |
5479 | 5481 | | |
5480 | 5482 | | |
5481 | 5483 | | |
| |||
5498 | 5500 | | |
5499 | 5501 | | |
5500 | 5502 | | |
| 5503 | + | |
| 5504 | + | |
| 5505 | + | |
5501 | 5506 | | |
5502 | 5507 | | |
5503 | 5508 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
907 | 907 | | |
908 | 908 | | |
909 | 909 | | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
910 | 921 | | |
911 | 922 | | |
912 | 923 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
201 | 217 | | |
202 | 218 | | |
| 219 | + | |
| 220 | + | |
203 | 221 | | |
204 | 222 | | |
205 | 223 | | |
| |||
0 commit comments