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

Re: Clarification about features on/off by default

Thread Previous | Thread Next
From:
H.Merijn Brand
Date:
July 18, 2020 18:32
Subject:
Re: Clarification about features on/off by default
Message ID:
20200718203150.2a23476e@pc09.procura.nl
On Fri, 17 Jul 2020 13:28:46 -0600, Karl Williamson
<public@khwilliamson.com> wrote:

> On 7/17/20 12:40 PM, Eric Brine wrote:
> > I was reading https://github.com/Perl/perl5/wiki/SC-Notes-2020-07-14
> >
> > It talks about what features will be on and default and which ones
> > won't be. What does it mean to not be enabled *by default*? Does
> > this mean without C<< use v7; >>?
> >
> > For example, I've been using C<< use 5.014; >> to enable the
> > unicode_strings feature among others. (It fixes bugs in m//, lc()
> > and the like.) It's listed as one of the features that won't be
> > enabled by default. Will C<< use v7; >> enable unicode_strings or
> > not?  
> 
> It hasn't been decided yet.  There is no one opposed AFAIK to enabling
> it if feasible.  Rumor has it that a bunch of code breaks with this
> enabled; and I'm trying to track that down.  Each time I'm told
> person X knows code that breaks, and I've contacted that person, I'm
> told, "No, I don't know of any code that breaks".  The final person X
> I haven't talked to yet is AFK for a week.

Text::CSV_XS with feature unicode_strings:

t/85_util.t     (Wstat: 26112 Tests: 1448 Failed: 102)
  Failed tests:  255, 257, 259, 261, 264, 266, 268, 272
                274, 276, 278, 285, 438, 440, 442, 444
                451, 454, 456, 458, 460, 463, 465, 467
                471, 473, 475, 477, 484, 637, 639, 641
                643, 650, 653, 655, 657, 659, 662, 664
                666, 670, 672, 674, 676, 683, 836, 838
                840, 842, 849, 852, 854, 856, 858, 861
                863, 865, 869, 871, 873, 875, 882, 1035
                1037, 1039, 1041, 1048, 1051, 1053, 1055
                1057, 1060, 1062, 1064, 1068, 1070, 1072
                1074, 1081, 1234, 1236, 1238, 1240, 1247
                1250, 1252, 1254, 1256, 1259, 1261, 1263
                1267, 1269, 1271, 1273, 1280, 1433, 1435
                1437, 1439, 1446
  Non-zero exit status: 102
Files=28, Tests=52129, 20 wallclock secs ( 3.46 usr  0.28 sys + 19.25 cusr  0.43 csys = 23.42 CPU)
Result: FAIL
Failed 1/28 test programs. 102/52129 subtests failed.

the rest PASSes.

FWIW feel free to give me a PR for an updated 85_util.t that PASSes
from 5.6.1 to 5.33.0

Other than these, Text::CSV_XS is now 'use p7;' and 'use standard;'
compliant.

-- 
H.Merijn Brand  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.31      porting perl5 on HP-UX, AIX, and Linux
https://useplaintext.email  https://tux.nl  http://www.test-smoke.org
http://qa.perl.org   http://www.goldmark.org/jeff/stupid-disclaimers/

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