develooper Front page | perl.perl5.porters | Postings from April 2013

[perl #113794] "in cleanup" warnings generated from destructor errors are no longer enabled by "use warnings"

Thread Previous | Thread Next
From:
Ricardo SIGNES via RT
Date:
April 23, 2013 15:22
Subject:
[perl #113794] "in cleanup" warnings generated from destructor errors are no longer enabled by "use warnings"
Message ID:
rt-3.6.HEAD-28177-1366730547-559.113794-15-0@perl.org
On Thu Mar 28 04:09:20 2013, zefram@fysh.org wrote:
> Jesse Luehrs wrote:
> >This seems unintentional.
> 
> Indeed.  The Perl_ck_warner() call in die_unwind() used to happen before
> unwinding, so would be affected by the lexical warning state at the die()
> site.  Now it happens after unwinding, so takes the lexical warning state
> at the catching site.  I don't have a clear idea of which behaviour is
> more correct. 

I wanted to get on record saying that my attempt to get this patch applied was not (mere) 
desperation for closing blockers, but also an endorsement that it restores the more correct 
behavior.

-- 
rjbs

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

Thread Previous | 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