Artifacts Associated With Ticket 767b0f8e4324bdb8
Ticket change [38518d0f01] (rid 138104) by andy on 2014-05-14 02:52:23:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The [bytestring] command in the tcltest package uses the identity encoding which has been removed from Tcl. Apparently no one uses [bytestring], or else this would have been reported and fixed by now. Perhaps the solution is to remove [bytestring]!
- foundin initialized to: "b5de46ac7396b5f4ee22cf8a21e351d68fa82e16"
- is_private initialized to: "0"
- login: "andy"
- priority initialized to: "5 Medium"
- private_contact initialized to: "662c23482b0bf6a505f39e48fb7ad43af8dee4d3"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "andy"
- subsystem initialized to: "34. tcltest Package"
- title initialized to: "tcltest uses nonexistent identity encoding"
- type initialized to: "Bug"
Ticket change [87d02097b9] (rid 138113) by jan.nijtmans on 2014-05-14 09:33:24:
- icomment:
As far as I know, the "identity" is note removed from the core (yet). See: [http://core.tcl.tk/tcl/artifact/49fa5cd974?ln=565-571]. However, it would be good to replace "bytecode <arg>" in the testcases with "encoding convertfrom utf-8 <arg>" everywhere, and deprecate the "bytecode" function in tcltest package (we cannot remove it there, just let it give an error when running in Tcl 9 would be OK).
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [d13baf1dc4] (rid 138211) by dgp on 2014-05-20 18:17:27:
- icomment:
Eliminating the use of [tcltest::bytestring] in our test suites is indeed the first step, but [encoding convertfrom utf-8] is not a proper replacement.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [903e47bd20] (rid 138212) by dgp on 2014-05-20 18:25:34:
- icomment:
What a few tests in the test suite need is a buggy, broken command that generates invalid Tcl values (not respecting the correct internal encoding that Tcl uses) so that some of Tcl's internal's ability to cope with invalid arguments to public routines can be tried. It was always a mistake to have that command be part of the tcltest package providing general test suite support commands. To the extent such a command exists, it should be provided by the Tcltest package of custom internals tickling commands aimed a narrow purposes of internals testing.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [e849f18676] (rid 143461) by jan.nijtmans on 2015-10-07 13:58:39:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2457303.08240142"
- closer changed to: "jan.nijtmans"
- icomment:
Fixed in [79ace7b793cebdf2], by introducing "testbytestring". The use of the "identity" encoding is not fully eliminated yet, but at least the test-cases don't use it any more now.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"