Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a9bb69c427e7fd04522ce75d04e5309eeb17e3d57704348dcdc53ec12da8c59c
Ticket: 1b8a893ded5f2a9b0c70a5893c7a2be3429d8033
TCL_PACKAGE_PATH path is (wrongly) braced.
User & Date: apnadkarni on 2024-10-11 03:14:53
Changes

  1. icomment:
    I have not quite even understood the need for this environment variable which seems to be only applicable to Unix (or rather non-Windows) platforms. Nevertheless, I do think that when importing environment variables, Tcl should be consistent in the expected syntax - either all should be expected to be in platform-native syntax, or all should be in Tcl syntax.
    
    After this change, 
    
    `TCLLIBPATH` uses Tcl syntax
    
    `HOME` uses platform syntax
    
    `TCL_PACKAGE_PATH` previously used Tcl syntax and now uses platform syntax
    
    So Tcl was not consistent before, and is not consistent now!
    
    If there is a TIP, these should all be made consistent. My preference is for platform syntax but I can see arguments for either.
    
  2. login: "apnadkarni"
  3. mimetype: "text/x-markdown"