On Fri, Oct 12, 2007 at 10:49:49PM -0400, Bob Rogers wrote: > From: Paul Cochrane (via RT) <[EMAIL PROTECTED]> > Date: Fri, 12 Oct 2007 17:35:25 -0700 > > # New Ticket Created by Paul Cochrane > # Please include the string: [perl #46391] > # in the subject line of all future correspondence about this issue. > # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46391 > > > In src/dynpmc/gdbmhash.c there is the todo item: > > TODO: return None PMC for nonexisting keys. > > This is relevant when fetching keys, and needs to be implemented. > > Maybe not; see "None Must Die" [perl #40178] . . .
In most other places in Parrot at the moment, fetching a nonexisting key from a hash-like object returns a null PMC, and fetching a nonexisting element from an array-like object returns Undef. So, I'd be in favor of changing the above TODO to read "return null for nonexisting keys". Pm