Skip to content

Commit 7fa3e42

Browse files
committed
Fix: Remove noexcept clause from _log_callback
Cython warns that `noexcept` is ignored for functions returning Python objects. This patch removes the one instance where we have a `noexcept` on a Cython function that returns a Python object. Signed-off-by: Patrick M. Niedzielski <[email protected]>
1 parent ddcaf6a commit 7fa3e42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/blazingmq/_ext.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ cdef _log_callback(const char *name,
5858
int level,
5959
const char *filename,
6060
int line,
61-
const char *msg) noexcept:
61+
const char *msg):
6262
if LOGGER.isEnabledFor(level):
6363
rec = LOGGER.makeRecord(name, level, filename, line, msg, (), None)
6464
LOGGER.handle(rec)

0 commit comments

Comments
 (0)