Overview
| Artifact ID: | b7aba940831c48d7e190164301a5169203918cbc037a918ef91318a791725931 |
|---|---|
| Ticket: | 56ab601b7dfd649035e808fb85e024f60e02e280
Canonical sign becomes wrong after list duplication resp. botched after build of string representation of the copy. |
| User & Date: | dgp on 2018-03-14 21:36:08 |
Changes
- icomment:
Sound analysis. I'll have to source dive to see if and where it applies to the existing code base, and whether we can invent test cases that illustrate the flaw. Probably will be days to weeks before I can take that up. There was a similar problem with bytearrays and the solution in place on 8.7 branch is to make two Tcl_ObjTypes, one for known canonical values, and another for values not so constrained. This puts the discriminator in the Tcl_Obj struct where it belongs, in the typePtr field. The two Tcl_ObjTypes end up sharing much of their implementations.
- login: "dgp"
- mimetype: "text/plain"