diff options
-rw-r--r-- | src/if_py_both.h | 8 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/if_py_both.h b/src/if_py_both.h index a0902b2176..2442220c08 100644 --- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -2510,8 +2510,8 @@ ListAssSlice(ListObject *self, Py_ssize_t first, { Py_DECREF(iterator); PyErr_FORMAT(PyExc_ValueError, - N_("attempt to assign sequence of size greater then %ld " - "to extended slice"), (long)slicelen); + N_("attempt to assign sequence of size greater then %d " + "to extended slice"), (int) slicelen); list_restore(numadded, numreplaced, slicelen, l, lis, lastaddedli); PyMem_Free(lis); return -1; @@ -2523,8 +2523,8 @@ ListAssSlice(ListObject *self, Py_ssize_t first, if (step != 1 && i != slicelen) { PyErr_FORMAT2(PyExc_ValueError, - N_("attempt to assign sequence of size %ld to extended slice " - "of size %ld"), (long)i, (long)slicelen); + N_("attempt to assign sequence of size %d to extended slice " + "of size %d"), (int) i, (int) slicelen); list_restore(numadded, numreplaced, slicelen, l, lis, lastaddedli); PyMem_Free(lis); return -1; diff --git a/src/version.c b/src/version.c index 1277b1e981..9036cf7b26 100644 --- a/src/version.c +++ b/src/version.c @@ -739,6 +739,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 180, +/**/ 179, /**/ 178, |