From: Mike Bayer Date: Tue, 28 Dec 2021 15:54:18 +0000 (-0500) Subject: use long long for id() result X-Git-Tag: rel_2_0_0b1~572 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3210348fd41d7efb7871afb24ee4e65a1f88f245;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git use long long for id() result per https://stackoverflow.com/a/27055236/34549 apparently there is "long long" in cython. Change-Id: I08bfaaccbf87ec9a2dc0d4b154f9c9d454171342 --- diff --git a/lib/sqlalchemy/cyextension/util.pyx b/lib/sqlalchemy/cyextension/util.pyx index 62ca960b33..92e91a6edc 100644 --- a/lib/sqlalchemy/cyextension/util.pyx +++ b/lib/sqlalchemy/cyextension/util.pyx @@ -64,7 +64,7 @@ cdef class cache_anon_map(dict): self._index = 0 def get_anon(self, obj): - cdef long idself + cdef long long idself cdef str id_ cdef dict self_dict = self