On Mon Oct 22 09:37:22 2007, pcoch wrote:
> In src/pmc/default.pmc:get_attr_str() there is the todo item:
> 
>         if (PMC_IS_NULL(p)) {
>             /* TODO AttributeError */
>         }
> 
> This should be as simple as adding a real_exception() here.

I vote to reject this TODO item.  Returning a null PMC is pretty much
the standard Parrot approach for indicating a non-existent value (i.e.,
that's what we do for arrays, hashes, symbols in a namespace, etc.).

Pm



Reply via email to