develooper Front page | perl.perl5.porters | Postings from July 2014

[perl #121404] [PATCH] It is always safe to delete the most recent key

Thread Next
From:
Tony Cook via RT
Date:
July 24, 2014 07:11
Subject:
[perl #121404] [PATCH] It is always safe to delete the most recent key
Message ID:
rt-4.0.18-10568-1406185900-1846.121404-15-0@perl.org
On Fri Mar 21 02:33:42 2014, LeonT wrote:
> On Fri, Mar 21, 2014 at 1:45 AM, Ricardo Signes
> <perl.p5p@rjbs.manxome.org>wrote:
> 
> > * "Paul Johnson" (via RT) <perlbug-followup@perl.org>
> > [2014-03-09T10:26:43]
> > > We promise unconditionally that deleting the most recent key will
> > > not
> > change
> > > the iteration order, then we weaken that promise.  But are we
> > > really
> > thinking
> > > that the above code may one day be illegal?  We had promised it
> > > would
> > always
> > > be safe since 2000 (74fc8b5).
> >
> > I think that while most of bade7fb seems like great stuff, I agree
> > with you
> > here.  This promise seems like one we want to consider truly binding.
> >
> > Anyone else?
> >
> 
> I'm somewhat worried about ties, but I guess it's not unreasonable to
> force
> them to support this too.

How about the attached?

Tony

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=121404

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About