Just a reminder to provide possible solution for https://core.tcl-lang.org/tcl/info/c6f1ffa7a9 (backport it from my tcl-fork as is?).