Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2007-10-25
22:52 • Closed ticket [1805896fff]: Die Octal Die plus 7 other changes artifact: e2e647e0b3 user: dgp
2007-10-18
23:51 • Ticket [1805896fff]: 4 changes artifact: aa5200b5b7 user: dgp
23:51 • Add attachment option1.patch to ticket [1805896fff] artifact: 90eec71ef6 user: dgp
2007-10-17
23:48 • Ticket [1805896fff] Die Octal Die status still Open with 4 other changes artifact: a6e4e70efd user: dgp
23:48 • Add attachment alternative.patch to ticket [1805896fffffffff|1805896fff... artifact: f880c33e04 user: dgp
2007-10-16
04:29 • Ticket [1805896fff] Die Octal Die status still Open with 4 other changes artifact: 4ec7b92692 user: dgp
2007-10-12
04:57 • Ticket [1805896fff]: 4 changes artifact: a3b02f8972 user: dgp
04:57 • Add attachment 1805896.patch to ticket [1805896fff] artifact: 9885feb7d6 user: dgp
2007-10-02
02:55 • Ticket [1805896fff] Die Octal Die status still Open with 4 other changes artifact: 7375bddfcb user: dgp
02:55 • Add attachment tip114.patch to ticket [1805896fff] artifact: 7cb64b0537 user: dgp
2007-10-01
19:55 • New ticket [1805896fff] Die Octal Die. artifact: a842a6d19b user: dgp

Die Octal Die

Closed / Rejected1805896fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-10-01 19:55:06
At the TCT panel at this year's
Tcl Conference, there appeared to
be general agreement that it was
time to kill octal.

Here's a patch implementing that,
so we can all be sure we mean the
same thing.

Note that this effort exposed
Bug 1805887, which also
needs fixing.
dgpplain2007-10-02 02:55:07
File Added - 247952: tip114.patch
dgpplain2007-10-12 04:57:43
File Added - 249287: 1805896.patch

Logged In: YES 
user_id=80530
Originator: YES

Updated patch.
File Added: 1805896.patch
dgpplain2007-10-16 04:29:30
Logged In: YES 
user_id=80530
Originator: YES


Most of the patch simply makes various
parts of Tcl ([file attributes -permissions],
for example) continue to work as they have
whether or not Tcl treats all leading-0
strings as octal format in an integer context.

Committed that portion, leaving only the

#define KILL_OCTAL 

change left to commit to actually kill octal
( along with suitable doc updates)
dgpplain2007-10-17 23:48:15
File Added - 250188: alternative.patch

Logged In: YES 
user_id=80530
Originator: YES


An alternative proposal raised
on TCLCORE is to revise TclParseNumber
to simply reject all multi-digit
integers that start with "0".  Here's
a patch that does that, so folks can
try the concept on for size.
File Added: alternative.patch
dgpplain2007-10-18 23:51:44
File Added - 250346: option1.patch

Logged In: YES 
user_id=80530
Originator: YES


Here's yet another patch,
this one implementing 
"Option 1" as described in
a message to TCLCORE. 
File Added: option1.patch
dgpplain2007-10-25 22:52:41
Logged In: YES 
user_id=80530
Originator: YES


TIP 114 is Rejected.

Closing this.  Issue
can re-open fresh for 8.6.
Log in (anonymous is fine) to add a comment.

Attachments: