mirror of
https://github.com/Nuitka/Nuitka.git
synced 2025-12-14 20:35:49 +01:00
Python3.14: Strangely this gives a warning with MSVC now
* For 3.13 and earlier the warning was not given, but now with 3.14 it is, but it's actually a type mismatch for all versions. * It could also be MSVC 14.5 having changed but, but I doubt that is the case. It's a good change anyway, although obviously it is not nearly a fix of anything.
This commit is contained in:
@@ -354,7 +354,7 @@ NUITKA_MAY_BE_UNUSED static bool UNPACK_ITERATOR_CHECK(PyThreadState *tstate,
|
||||
SET_EXCEPTION_PRESERVATION_STATE_FROM_TYPE0_FORMAT1(tstate, exception_state, PyExc_ValueError,
|
||||
"too many values to unpack (expected %d)", expected);
|
||||
#else
|
||||
int gotten = -1;
|
||||
Py_ssize_t gotten = -1;
|
||||
|
||||
if (Py_TYPE(iterator) == &PyTupleIter_Type) {
|
||||
gotten = PyTuple_GET_SIZE(((_PyTupleIterObject *)iterator)->it_seq);
|
||||
|
||||
Reference in New Issue
Block a user