|Title:||TIP 342: Dict Get With Default|
|Submitter:||lars_h||Created on:||2008-12-01 11:40:44|
|Subsystem:||15. Dict Object||Assigned To:||dkf|
|Status:||Closed||Last Modified:||2019-05-19 11:20:45|
|Closed on:||2019-05-19 11:20:45|
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.
dkf added on 2019-05-19 11:20:45:
The changes to <b>dict filter</b> became part of Tcl 8.6 (<a href="/tips/doc/trunk/tip/341.md">TIP #341</a>). <br> The new <b>dict getdef</b> became part of Tcl 8.7 (<a href="/tips/doc/trunk/tip/342.md">TIP #342</a>).
dkf added on 2019-04-01 13:25:12: (text/html)
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: (text/html)
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
- dict-filter.c added by dkf on 2019-04-01 09:10:55. [details]
- dict-getwithdefault.c added by dkf on 2019-04-01 09:10:28. [details]
- dict-getwithdefault.tip added by lars_h on 2008-12-02 20:40:11. [details]
- dict-filter.tip added by lars_h on 2008-12-02 20:34:43. [details]
- sources.tar.gz added by lars_h on 2008-12-01 18:40:44. [details]