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

[perl #89648] ‘Perl folding rules...’ is in the deprecated category

Thread Previous
From:
James E Keenan via RT
Date:
July 13, 2013 01:13
Subject:
[perl #89648] ‘Perl folding rules...’ is in the deprecated category
Message ID:
rt-3.6.HEAD-2552-1373677979-1552.89648-15-0@perl.org
On Sun Feb 17 13:49:56 2013, sprout wrote:
> On Sat Feb 16 17:21:06 2013, jkeenan wrote:
> > On Sun May 01 14:06:15 2011, sprout wrote:
> > > This warning message:
> > > 
> > > 	Perl folding rules are not up-to-date for 0x%x; please use the
> > >    perlbug utility to report;
> > > 
> > > is in both ‘regexp’ and ‘deprecated’ warning categories. It is under
> > >    deprecated warnings so that it has a better chance of showing up.
> > > 
> > > I think this logic is faulty, because it’s not the deprecatedness that
> > >    makes a warning show up by default, but its defaultness; i.e.,
> > >    whether Perl_ck_warner_d is used instead of Perl_ck_warner. The
> > >    wide character warning, for instance, is not under ‘deprecated’,
> > >    but only ‘utf8’. Yet it’s a default warning marked as S in
> > >    perldiag. I think this message should be treated similarly (and
> > >    listed with (S regex)).
> > >
> > 
> > 
> > Please review the patch attached.
> 
> Thank you.  But it only changes the entry in perldiag.pod.  The warning
> would still be triggered under ‘use warnings 'deprecated'; no warnings
> 'regexp';’, due to the use of ckWARN2regdep in regcomp.c (currently the
> only use of that macro).
> 
> If nobody objects, I can easily change that part.  When I submitted this
> report, I was hoping this would be discussed.
> 
> Are there any objections?
> 

Father C:  No objections were received.  Would it be possible to pick up
on the code changes you had in mind?

Thank you very much.
Jim Keenan

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

Thread Previous


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