Overview
| Artifact ID: | dc84fb53399d47b039599d622e03d4beb0480f6b52903db865c6a66c4c69a322 |
|---|---|
| Ticket: | 8a13caa31dd8e3a546b8d44c235bb98cd52bd774
Setting of system encoding isn't applied to stdout on certain circumstances |
| User & Date: | apnadkarni on 2025-08-18 11:18:31 |
Changes
- icomment:
I was wrong about one detail. It is not the package require command (or at least not the only command) that is causing the access to tclIndex resulting in channel stdout initialization. The sequence ``` namespace export callback namespace eval tmp {namespace import ::oo::Helpers::callback} ``` in tclOOScript.tcl invokes the `Tcl_Import` C API which in turn evals `auto_import` which calls `auto_load_index` which read tclIndex. Given it is the oo initialization itself that created stdout, it seems the only option is to fix the test, which in my mind is reasonable to do. - login: "apnadkarni"
- mimetype: "text/x-markdown"