bug in Tcl 8.5a2?

From: Aric Bills (aricb_at_u.wwashingtonn.edu)
Date: 07/30/04


Date: Fri, 30 Jul 2004 13:22:15 -0700

Hi,

I'm experiencing what I think is a bug in Tcl 8.5. The following gives me
different output in 8.4.7 and 8.5a2:

set example [list # #]

Output from 8.4.7:

% set example [list # #]
# #

Output from 8.5a2:

% set example [list # #]
{#} #

It seems that 8.5 puts an extra set of brackets around the first element of
a list if it starts with #.

This bit me as I was attempting to put a list of scanlines to a Tk image.

Is this a known issue? If not, under what category should I file the bug
report?

By the way, I'm running ActiveState binaries on Windows 2000 Professional
and Windows XP Home edition.

Thanks,
Aric



Relevant Pages