[perl #46821] [RFC] should readonly be deep or shallow?

Will Coleda via RT parrotbug-followup at parrotcode.org
Mon Sep 21 06:03:55 UTC 2009


On Tue May 12 12:46:24 2009, cotto wrote:
> On Sat Mar 21 18:41:37 2009, cotto wrote:
> > On Fri Feb 20 18:57:20 2009, rgrjr wrote:
> > >    From: chromatic <chromatic at wgz.org>
> > >    Date: Thu, 19 Feb 2009 11:45:54 -0800
> > > 
> > >    The real question is "Should setting the read-only property on a 
> > >    ResizablePMCArray set the contained PMCs to read-only as well?"
> > > 
> > >    I can fix the test (answer "no") or I can fix the code (answer
> > >    "yes").  I just can't tell you which behavior is most correct.
> > > 
> > >    -- c
> > > 
> > > If the answer were "yes", how would one create a read-only
> > > ResizablePMCArray that contains mutable PMCs?
> > > 
> > > 					-- Bob Rogers
> > > 					   http://www.rgrjr.com/
> > 
> > Allison, can we get a ruling on this?  It sounds like that's all that's
> > holding this ticket back.
> 
> After asking in #ps today, the answer is that readonly should be
> shallow.  If nobody beats me to it, I'll work on it this week.

Now being tracked at https://trac.parrot.org/parrot/ticket/1036

-- 
Will "Coke" Coleda


More information about the parrot-dev mailing list