Tcl Source Code

View Ticket
Login
Ticket UUID: 2370575
Title: TIP 342: Dict Get With Default
Type: Patch Version: TIP Implementation
Submitter: lars_h Created on: 2008-12-01 11:40:44
Subsystem: 15. Dict Object Assigned To: dkf
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2019-05-19 11:20:45
Resolution: Accepted Closed By: dkf
    Closed on: 2019-05-19 11:20:45
Description:
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.
User Comments: dkf added on 2019-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).


dkf added on 2019-04-01 13:25:12:

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


fvogel added on 2019-04-01 11:18:36:
If the attachment is binary, try this:

    https://core.tcl-lang.org/tk/wiki?name=Fixing+old+binary+attachments

dkf added on 2019-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.


lars_h added on 2008-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

lars_h added on 2008-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_h added on 2008-12-01 18:40:44:

File Added - 303586: sources.tar.gz

Attachments: