MAJ terminée. Nous sommes passés en version 14.6.2 . Pour consulter les "releases notes" associées c'est ici :

https://about.gitlab.com/releases/2022/01/11/security-release-gitlab-14-6-2-released/
https://about.gitlab.com/releases/2022/01/04/gitlab-14-6-1-released/

Commit 15c615e1 authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

[lib] C api last fix in init of frequently used variable

parent d2fc94e0
......@@ -170,6 +170,7 @@ static PyObject* shift_clause(PyObject *self, PyObject *args, PyObject *kwds)
PyObject *lit;
PyObject *shifted_lit;
Py_ssize_t i = 0;
long lit_val = 0;
while ((lit = PyIter_Next(numeric_clause_iterator)) != NULL) {
#ifndef NDEBUG
/* Debugging code */
......@@ -180,7 +181,7 @@ static PyObject* shift_clause(PyObject *self, PyObject *args, PyObject *kwds)
#endif
// Mieux vaut rester avec des PyObject pour faire les additions ou pas ???
long lit_val = PyLong_AsLong(lit);
lit_val = PyLong_AsLong(lit);
if (lit_val > 0) {
#ifdef IS_PY3K
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment