-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
Python/specialize.c: In function ‘_Py_Specialize_ForIter’:
Python/specialize.c:2392:60: error: incompatible type for argument 1 of ‘_PySpecialization_ClassifyIterator’
2392 | _PySpecialization_ClassifyIterator(iter));
| ^~~~
| |
| _PyStackRef
Python/specialize.c:409:70: note: in definition of macro ‘SPECIALIZATION_FAIL’
409 | _Py_stats->opcode_stats[opcode].specialization.failure_kinds[kind]++; \
| ^~~~
Python/specialize.c:2290:47: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘_PyStackRef’
2290 | _PySpecialization_ClassifyIterator(PyObject *iter)
| ~~~~~~~~~~^~~~
Introduced after #118450
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
Metadata
Metadata
Assignees
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error