Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3c217ad55bf62c75c0e857cdec57f8d015edd0062bd11a5b545103838d3a67f5
Ticket: 0063cbcada41024be2d778dc719a64fe2144e0aa
http: wrong parameter "-headers A" not detected and sent anyway
User & Date: sebres on 2020-09-30 09:30:46
Changes

  1. closedate changed to: "2459122.89636634"
  2. closer changed to: "sebres"
  3. icomment:
    well, <code>[string is list]</code> can indeed be simply extended to consider dict is a list too, but it is not so simple in case of <code>[llength $dict]<code>, because one has to consider whether dictionary is canonical, doesn't own string representation etc, because one could not always calculate it from dict size.
    
    The worse case is here something like that:
    <code><pre>
    % set d {a 1 b 2 c 3 a still_one_a}
    a 1 b 2 c 3 a still_one_a
    % dict size $d
    3
    % llength $d
    8
    </pre></code>
    so an assumtion that it would always work may be wrong.
    
  4. login: "sebres"
  5. mimetype: "text/x-fossil-wiki"