Overview
| Artifact ID: | d5c3ef48f908fd450dcf5c5fb73923aa6d2f3c12 |
|---|---|
| Ticket: | 738900ffffffffffffffffffffffffffffffffff
limit shimmer of singleton lists |
| User & Date: | aspect on 2016-08-19 13:17:17 |
Changes
- closer changed to: "nobody"
- comment changed to:
If a Tcl_Obj is a single value, we lose it's intrep when converting to the "list" objType. We can avoid loss of intrep by just making the object into the first element of the objPtr array of the List struct, so long as we're careful about string reps that would be broken into multiple elements. Here's a patch that almost works. It makes test append-4.8 fail. Comments?
- icomment:
Attached aspect-singleton-list-738900.patch which is against trunk [632e9e93f1]. This handles numeric types and tclEndOffsetType and doesn't cause any new test failures in Tcl. I have some failures in the Tk test suite, but none of those mentioned below - they seem to be related to my desktop/wm/fonts. Not sure what test cases should be added to verify this patch? There's probably some synergy between this and branch [pyk-emptystring] which could be exploited.
- login: "aspect"
- mimetype: "text/plain"
- severity changed to: "Minor"