[perl #46821] [RFC] should readonly be deep or shallow?
Christoph Otto via RT
parrotbug-followup at parrotcode.org
Tue May 12 19:46:27 UTC 2009
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.
More information about the parrot-dev
mailing list