Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f7e72cc8b70fa2868ed4231692dd0ee3f2b4019d652a05cbc9449ab3066dfe25
Ticket: 8f5e7a2633ca1b92a878c039ba12675cbc8f7e69
Tk build for 9.1 failing in safe-1.2 testcase
User & Date: dkf on 2025-11-14 14:59:11
Changes

  1. icomment:
    With `clock`, we're really talking about a change of policy: it's regarded as being a _safe_ command that happens to use unsafe features in its implementation, and only of _some_ of its subcommands (they need a context that can pull message catalogs and timezone info, and they already check that the locale and TZ names are valid). That means it's best marked as safe and aliases installed for its technically unsafe subcommands, rather than aliasing the lot.
    
    I've got a branch that does that (and fixes up the tests that fail because of it).
    
    We need to do some work about sorting out Tk though. The issue there looks like the test is fragile in the face of changes to the list of hidden subcommands and/or aliases managed by Tcl, things that shouldn't really matter to Safe Tk. Perhaps the test needs to be rewritten to filter out the baseline stuff from Tcl instead?
    
  2. login: "dkf"
  3. mimetype: "text/x-markdown"