|
From: <apn...@ya...> - 2023-02-01 15:22:38
|
Thanks, I have a better understanding of your position now.
I can imagine implementing all the profiles would be significant work and risk. However, wouldn’t just mapping (at the option parsing level),
-profile strict -> flags for -strict
-profile “tcl8” -> implicit default flags
-profile nocomplain -> -nocomplain flags (although I would prefer just getting rid of this option)
(and fconfigure equivalents) be fairly straightforward? It would then permit adding other profiles for 9.1 without any -strict, -nocomplain baggage in the future. Those would require deeper changes in the encoding and may be channel implementations.
If this seems a reasonable compromise, I can take a stab at it unless Nathan already has.
/Ashok
From: Jan Nijtmans <jan...@gm...>
There is one problem with accepting TIP #654, and that's the
availability of an implementation. Can it be added later? Yes,
I think so, just adding a new "-profile" option and making "-strict"
synonym with "-profile strict". That sounds simple. In practice,
it isn't. The Tcl channel system is quite complicated, showing
its age. Some day it should be replaced, e.g. by ICU or so.
The profiles have to be implemented by _all_ encodings,
that's a hell of a job. I don't see it happening any time soon.
If someone would start implementing TIP #654, I'm there
offering my help. But I'm afraid it would take too much
time. People want Tcl 8.7/9.0 tomorrow, they already
waited too much time. That's the challenge we
are facing.
Hope this helps,
Jan Nijtmans
|