Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-09-22
19:27 • Closed ticket [1298477fff]: Inconsistent splitting plus 7 other changes artifact: 6ce0597175 user: dkf
16:22 • Ticket [1298477fff]: 4 changes artifact: de62e7914c user: nobody
08:13 • New ticket [1298477fff]. artifact: b59106fafc user: demond

Inconsistent splitting

Closed / Rejected1298477fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-09-22 08:13:14
This might not be a bug but at least seems to be some
sort of inconsistency:

$ tclsh8.4
% info patchlevel
8.4.11
% split "#a #b #c"
#a #b #c
% exit
$ tclsh8.5
% info patchlevel
8.5a3
% split "#a #b #c"
{#a} #b #c
% exit
$

Note the braces around first list element...
nobodyplain2005-09-22 16:22:47
Logged In: NO 

This is a side effect of TIP 148 "Correct [list]-Quoting of the '#' 
Character"
dkfplain2005-09-22 19:27:14
Logged In: YES 
user_id=79902

In other words, it's not a bug but instead a _fix_ for a
very long-standing bug.
Log in (anonymous is fine) to add a comment.