aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-02-23 17:20:14 +0100
committerMattias Andrée <m@maandree.se>2026-02-23 17:20:14 +0100
commitcc25dccef004f4cd6e4ad3120296a9700aa43c19 (patch)
treef54ad139187883ed1a8bf038872745c26c4cba73
parentfix text (diff)
downloadpylibcoopgamma-1.1.4.tar.gz
pylibcoopgamma-1.1.4.tar.bz2
pylibcoopgamma-1.1.4.tar.xz
Update to support newer versions of cythonHEAD1.1.4master
Signed-off-by: Mattias Andrée <m@maandree.se>
-rw-r--r--LICENSE2
-rw-r--r--libcoopgamma.pyx10
2 files changed, 6 insertions, 6 deletions
diff --git a/LICENSE b/LICENSE
index 83ceedf..09be60a 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
ISC License
-© 2016, 2019 Mattias Andrée <m@maandree.se>
+© 2016, 2019, 2026 Mattias Andrée <m@maandree.se>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
diff --git a/libcoopgamma.pyx b/libcoopgamma.pyx
index e534ece..9a0fd58 100644
--- a/libcoopgamma.pyx
+++ b/libcoopgamma.pyx
@@ -771,7 +771,7 @@ def _libcoopgamma_native_get_methods():
return ret
-def _libcoopgamma_native_get_method_and_site(method : str, site : str):
+def _libcoopgamma_native_get_method_and_site(method : str | NoneType, site : str | NoneType):
'''
Get the adjustment method and site
@@ -819,7 +819,7 @@ def _libcoopgamma_native_get_method_and_site(method : str, site : str):
free(rcssite)
-def _libcoopgamma_native_get_pid_file(method : str, site : str):
+def _libcoopgamma_native_get_pid_file(method : str | NoneType, site : str | NoneType):
'''
Get the PID file of the coopgamma server
@@ -857,7 +857,7 @@ def _libcoopgamma_native_get_pid_file(method : str, site : str):
return int(errno)
-def _libcoopgamma_native_get_socket_file(method : str, site : str):
+def _libcoopgamma_native_get_socket_file(method : str | NoneType, site : str | NoneType):
'''
Get the socket file of the coopgamma server
@@ -1086,7 +1086,7 @@ def _libcoopgamma_native_async_context_unmarshal(buf : bytes):
free(bs)
-def _libcoopgamma_native_connect(method : str, site : str, address : int):
+def _libcoopgamma_native_connect(method : str | NoneType, site : str | NoneType, address : int):
'''
Connect to a coopgamma server, and start it if necessary
@@ -2382,7 +2382,7 @@ class FilterTable:
if filters is None:
self.filters
else:
- self.filters = list(QueriedFilter(*f) if isinstance(f, tuple) else f for f in filters)
+ self.filters = list(QueriedFilter(*f) if isinstance(f, tuple) else f for f in filters)
def make_ramps(self):
'''