Skip Menu |
Report information
Id: 133788
Status: resolved
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: pali [at] cpan.org
Cc:
AdminCc:

Operating System: (no value)
PatchStatus: (no value)
Severity: low
Type: unknown
Perl Version: (no value)
Fixed In: (no value)



Date: Mon, 21 Jan 2019 20:30:29 +0100
From: pali [...] cpan.org
To: perlbug [...] perl.org
Subject: Make sv_utf8_downgrade() and sv_utf8_decode() non-unstable
Download (untitled) / with headers
text/plain 677b
Hello, these two functions are currently marked as unstable with M in embed.fnc function so they may change: Apmdb |STRLEN |sv_utf8_upgrade|NN SV *sv Amd |STRLEN |sv_utf8_upgrade_nomg|NN SV *sv ApdM |bool |sv_utf8_downgrade|NN SV *const sv|const bool fail_ok Apd |void |sv_utf8_encode |NN SV *const sv ApdM |bool |sv_utf8_decode |NN SV *const sv These functions are available since Perl 5.6.0 (just upgrade* since 5.7.2) and used by more XS modules on CPAN. AFAIK their API or behavior was not changed so I suggest to remove M and make them "stable". Or is there any specific reason why upgrade and encode is without M and downgrade and decode with M?
RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 821b
On Mon, 21 Jan 2019 11:30:41 -0800, pali@cpan.org wrote: Show quoted text
> Hello, these two functions are currently marked as unstable with M in > embed.fnc function so they may change: > > Apmdb |STRLEN |sv_utf8_upgrade|NN SV *sv > Amd |STRLEN |sv_utf8_upgrade_nomg|NN SV *sv > ApdM |bool |sv_utf8_downgrade|NN SV *const sv|const bool fail_ok > Apd |void |sv_utf8_encode |NN SV *const sv > ApdM |bool |sv_utf8_decode |NN SV *const sv > > These functions are available since Perl 5.6.0 (just upgrade* since > 5.7.2) and used by more XS modules on CPAN. AFAIK their API or behavior > was not changed so I suggest to remove M and make them "stable". > > Or is there any specific reason why upgrade and encode is without M and > downgrade and decode with M?
Done in 43c6a1a7c444b2b6f513c4716e9bc2e3468c244d. Tony
Download (untitled) / with headers
text/plain 313b
Thank you for filing this report. You have helped make Perl better. With the release today of Perl 5.30.0, this and 160 other issues have been resolved. Perl 5.30.0 may be downloaded via: https://metacpan.org/release/XSAWYERX/perl-5.30.0 If you find that the problem persists, feel free to reopen this ticket.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org