Menu

#577 TIP 342: Dict Get With Default

TIP Implementation
open
5
2009-02-22
2008-12-01
No

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.

Discussion

  • Lars Hellström

    Lars Hellström - 2008-12-01

    Modified or new definitions for tclDictObj.c

     
  • Lars Hellström

    Lars Hellström - 2008-12-02

    The [dict filter] TIP

     
  • Lars Hellström

    Lars Hellström - 2008-12-02

    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 Hellström

    Lars Hellström - 2008-12-02

    And the other one.
    (This is probably more likely to be labelled as bloat.)
    File Added: dict-getwithdefault.tip

     
  • Lars Hellström

    Lars Hellström - 2008-12-02

    The [dict get-with-default] TIP

     
  • Donal K. Fellows

    • summary: Two small dict TIPs --> TIP 342: Dict Get With Default