Skip to content
Tcl Source Code Artifact [1a056e905a]
Login

Artifact [1a056e905a]

Artifact 1a056e905ad40fa61b320b3f40871013ea79c95c9b8307075521686bca614a51:

Ticket change [1a056e905a] - Ticket [cd61f085da52b338|cd61f085da] <i>tcl terminates silently with invalid expr underscore syntax and radix prefix</i> status still Open with 3 other changes by juliannoble2 on 2023-08-30 12:33:52.
D 2023-08-30T12:33:52.993
J icomment From\splaying\swith\sthis\sbugfix\sversion\s-\sit's\sbecome\sclearer\sto\sme\sthat\sthe\sbigger\sproblem\sis\sminor\s'numeric\swhitespace'\sediting\s(i.e\schanging\sinternal\sunderscores)\r\ncausing\saccidental\sstring\scomparisons\sin\slater\sexpressions\swhich\scould\sgo\sunnoticed\sdepending\son\sthe\sdata.\r\n\r\nBecause\s1.e2\s\sis\slegitimate\snotation\s-\srules\saround\sunderscore\snot\sbeing\sallowed\snear\sthe\s.\sor\sthe\se\sor\sthe\s+|-\sin\sscientific\snotation\sbecome\stoo\scomplex\sand\sprone\sto\saccidental\sstring\scomparison\sas\sin\smy\sprevious\sexample.\r\n\r\nMy\sconcern\sabout\speople\ssplitting\son\s.\s\sin\s0_._0\s\s(or\son\seE\s)\s\sare\sless\simportant\s-\sand\sbest\saddressed\sby\sdocumenting\ssomething\salong\sthe\slines\sof:\sUse\s'string\smap\s{_\s""}\s$num'\s\sprior\sto\sdoing\sany\sstring\sanalysis\sof\sa\snumber\sor\sits\scomponents.\r\n\r\nI\sthink\sthe\sinitial\sversion\shad\sthis\sright\sin\sbeing\slenient\sabout\sinternal\sunderscores\s\s-\sexcept\sfor\sthe\sbug\sreported\sin\sthis\sticket.
J login juliannoble2
J mimetype text/plain
K cd61f085da52b3384388c8ef780f53d8c55ead4f
U juliannoble2
Z 8e22c8baa48607ef8692655b60e217c9