Skip to content
Tcl Source Code View Ticket
Login

View Ticket

TIP 342: Dict Get With Default

Closed / Accepted2370575fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 8 years ago
Descriptionplain2008-12-01 11:40:44
The following implements two minor TIPs, to be submitted as soon as I've 
gotten the SF patch number.

Unfortunately my internet access is a bit limited (and payed for by the 
minute) at the moment, so I don't dare ask cvs to make a patch -- instead 
I've merely cut out the relevant definitions from generic/tclDictObj.c; 
luckily they are well contained. However, I'll try to produce a regular 
patch if you really want me to.
lars_hplain2008-12-01 18:40:44
File Added - 303586: sources.tar.gz
lars_hplain2008-12-02 20:34:43
File Added - 303729: dict-filter.tip

Mailed the TIPs to DKF yesterday, but apparently my mails aren't getting delivered.
[Sigh.]
Will attach them here instead.
File Added: dict-filter.tip
lars_hplain2008-12-02 20:40:11
File Added - 303730: dict-getwithdefault.tip

And the other one.
(This is probably more likely to be labelled as bloat.)
File Added: dict-getwithdefault.tip
dkf Ticket [2370575fff]: 1 change [History diff]2009-02-23 03:28:12
dkfhtml2019-04-01 08:49:38

Alas, it seems that the patch is corrupted. I simply can't get the content out of it at all.

fvogelplain2019-04-01 11:18:36
If the attachment is binary, try this:

    https://core.tcl-lang.org/tk/wiki?name=Fixing+old+binary+attachments
dkfhtml2019-04-01 13:25:12

Thanks. I found them at SF and have attached the actual files here directly; they're not very large.

dkfhtml2019-05-19 11:20:45

The changes to dict filter became part of Tcl 8.6 (TIP #341).
The new dict getdef became part of Tcl 8.7 (TIP #342).

Log in (anonymous is fine) to add a comment.

Attachments: