develooper Front page | perl.perl5.porters | Postings from September 2012

Re: [perl #114690] Bleadperl v5.17.3-204-g864329c breaks VPIT/Variable-Magic-0.51.tar.gz

Thread Previous | Thread Next
From:
Vincent Pit
Date:
September 10, 2012 15:31
Subject:
Re: [perl #114690] Bleadperl v5.17.3-204-g864329c breaks VPIT/Variable-Magic-0.51.tar.gz
Message ID:
504E6A1E.5020106@profvince.com
On 01/09/2012 05:56, (Andreas J. Koenig) (via RT) wrote:
> # New Ticket Created by  (Andreas J. Koenig)
> # Please include the string:  [perl #114690]
> # in the subject line of all future correspondence about this issue.
> # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=114690 >
>
>
> git bisect
> ----------
> commit 864329c3a6aadf41283abada71c1b343e164bad3
> Author: Father Chrysostomos <sprout@cpan.org>
> Date:   Thu Aug 30 22:08:43 2012 -0700
>
>      Stop substr($utf8) from calling get-magic twice
>
> sample fail report
> ------------------
> http://www.cpantesters.org/cpan/report/b55da584-f39b-11e1-aeb8-2dff7dd9fe3d
>
>

I thought I had already answered that report, but I couldn't find the 
question I had in mind. Apologies if it is duplicated.

The test that started to fail with this commit does a substr() on an 
unicode string that has get and len magic callbacks. Before the change 
len magic was called, now it isn't anymore. Is this is the expected 
behaviour after this change? I have no idea whatsoever on what is 
supposed to be correct, but I'd like to double check so that nothing bad 
goes unnoticed.


Vincent

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