From: Daniele Varrazzo Date: Mon, 21 Dec 2020 01:39:23 +0000 (+0100) Subject: Enable cython faster call convention X-Git-Tag: 3.0.dev0~255 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60bbb0f34495990068df83b7fd1f3326e058e933;p=thirdparty%2Fpsycopg.git Enable cython faster call convention --- diff --git a/psycopg3_c/setup.py b/psycopg3_c/setup.py index 8f3770afa..cab5b64a5 100644 --- a/psycopg3_c/setup.py +++ b/psycopg3_c/setup.py @@ -60,6 +60,9 @@ class psycopg3_build_ext(build_ext): self.distribution.ext_modules = cythonize( self.distribution.ext_modules, language_level=3, + compiler_directives={ + "always_allow_keywords": False, + }, annotate=False, # enable to get an html view of the C module ) else: