Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4dc4f1b7e38d5554397b09a86b33dc9415af8ede2b98fe7e70d93c6cb3198847
Ticket: 8a13caa31dd8e3a546b8d44c235bb98cd52bd774
Setting of system encoding isn't applied to stdout on certain circumstances
User & Date: apnadkarni on 2025-08-18 17:10:55
Changes

  1. closedate changed to: "2460906.21591917"
  2. closer changed to: "apnadkarni"
  3. icomment:
    @sebres, are you suggesting keeping this bug open or that the lazy initializing should also be in 9.0, not just 9.1? Part of the reason for closing this is to track the "lazy oo init" project in a single ticket [effa2e2346].
    
    Indeed the impact of this lazy change on that three line script was mystifying. At least to some extent, I feel this is the result of a rather convoluted initialization sequence (perhaps necessarily so) that I just documented in the [wiki](https://core.tcl-lang.org/tcl/wiki?name=tclsh+initialization+sequence). If that could be streamlined and well defined (it currently depends on which of several Tcl initialization functions is called first), many of these "heisenbugs" would go away I think.
    
  4. login: "apnadkarni"
  5. mimetype: "text/x-markdown"