Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork11.9k
Commitf60da51
committed
API: Shrink MultiIterObject and make
Cython is OK with increased sizes, but doesn't like shrinking anobject size. We should fix this (providing a size to compare within the `pyd` maybe). But just not including the end of the objecthere publically is totally fine...This makes `NPY_MAXARGS` also a *runtime* constant, since thepresumably only user (`numexpr`) should be better off with thatanyway. Yes, they need to change the code to hard-code the maximum,but they also need the NumPy cap from us anyway.This is needed, because Cython breaks for sklearn which uses`numpy.broadcast` AKA `PyArrayMultiIterObject`.NPY_MAXARGS a runtime macro1 parent06d7bdf commitf60da51
File tree
4 files changed
+38
-4
lines changed- doc
- release/upcoming_changes
- source/reference/c-api
- numpy/_core/include/numpy
4 files changed
+38
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3429 | 3429 | | |
3430 | 3430 | | |
3431 | 3431 | | |
| 3432 | + | |
| 3433 | + | |
3432 | 3434 | | |
3433 | 3435 | | |
3434 | | - | |
3435 | | - | |
| 3436 | + | |
| 3437 | + | |
3436 | 3438 | | |
3437 | 3439 | | |
3438 | 3440 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
1239 | 1239 | | |
1240 | 1240 | | |
1241 | 1241 | | |
1242 | | - | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
1243 | 1254 | | |
1244 | 1255 | | |
1245 | 1256 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
79 | 89 | | |
0 commit comments
Comments
(0)