develooper Front page | perl.perl5.porters | Postings from May 2019

[perl #134139] Prevent use of strings with code points over 0xFF asarguments to "vec"

Thread Previous
From:
James E Keenan
Date:
May 25, 2019 02:09
Subject:
[perl #134139] Prevent use of strings with code points over 0xFF asarguments to "vec"
Message ID:
rt-4.0.24-26497-1558750139-946.134139-75-0@perl.org
# New Ticket Created by  James E Keenan 
# Please include the string:  [perl #134139]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=134139 >


pod/perldeprecation.pod contains this entry for perl-5.32:

#####
Use of strings with code points over 0xFF as arguments to
"vec"

"vec" views its string argument as a sequence of bits. A
string containing a code point over 0xFF is nonsensical.
This usage is deprecated in Perl 5.28, and will be removed
in Perl 5.32.
#####

This entry was (mostly) added in this commit:

#####
commit 76aae383784f602979d5efc9c8828918d67827d8
Author: Karl Williamson <khw@cpan.org>
Date:   Thu Jun 1 16:10:48 2017 -0600

perldeprecation: Add vec() with above-FF code points
#####

Make it so.

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