From 40b1ceafd2671d685d294b7603ce3dca29c01f85 Mon Sep 17 00:00:00 2001 From: Omar Rizwan Date: Sun, 8 Feb 2026 16:07:06 -0500 Subject: python: Fix zmq calls in unknown; craft works! --- lib/python.tcl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/python.tcl') diff --git a/lib/python.tcl b/lib/python.tcl index ed68aeb0..b927f059 100644 --- a/lib/python.tcl +++ b/lib/python.tcl @@ -281,6 +281,11 @@ proc registerArgtype {typeName serializer} { proc unknown {fnName args} { variable zmq; variable socket + # We need normal `unknown` to call methods on $zmq, so need to + # pass it through to ::unknown. + if {$fnName eq $zmq} { + tailcall ::unknown $fnName {*}$args + } # Send function name first $zmq zmqSendMore $socket $fnName -- cgit v1.2.3