| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…able-size tuple For example: A[T, *Ts][*tuple[int, ...]] -> A[int, *tuple[int, ...]] A[*Ts, T][*tuple[int, ...]] -> A[*tuple[int, ...], int]
| if (arg) { | ||
| if (vartuplearg < nitems) { | ||
| Py_DECREF(arg); | ||
| Py_DECREF(fillarg); |
There was a problem hiding this comment.
This could use an assert(fillarg) to make sure it's not NULL.
Sorry, something went wrong.
There was a problem hiding this comment.
Py_DECREF() makes sure that the argument is not NULL. The result is the same -- a crash.
Sorry, something went wrong.
… into typing-subst-unpacked-vat-tuple
| Back | FazBrowse Home | New Git URL |
For example:
A[T, *Ts][*tuple[int, ...]] -> A[int, *tuple[int, ...]]
A[*Ts, T][*tuple[int, ...]] -> A[*tuple[int, ...], int]
#91162