perl5
perl5 copied to clipboard
🐪 The Perl programming language
This branch and p.r. exist in order to get come clean data on the problem originally described by @xsawyerx in https://github.com/Perl/perl5/issues/19020, who then submitted a p.r. in https://github.com/Perl/perl5/pull/19152. I have...
**Description** Starting in v5.40, some closures leak memory despite there being no reference cycles. **Steps to Reproduce** ```perl #!/usr/bin/env perl use v5.38; use Scalar::Util qw(weaken); my $wref; { my $x;...
Planned follow-ups (long run, this PR has been waiting almost 2 years): 1. -use designated array initializers (should not make problems in internal C-files)- 2. extend data with "not supported"...
This is designed to replace the problematic utf8_to_uvchr(), which is problematic. Its behavior varies depending on if warnings are enabled or not, and no code in core actually takes that...
An inversion map is a basic data structure for handling Unicode. Currently the only place where it is output from C is in op.c. This code had problems with keeping...
The function display() prettifies its input for display for better human consumption. But it does this by actually modifiying the input, so will crash when passed a read-only value, The...
If an external library, possibly loaded by an XS module, creates a thread, perl has no control over this thread, nor does it create an interpreter for that thread, so...
###Description at Makefile' compilation point $(PERL_EXE): regcomp.o and lib/auto/re/re.a(re_comp.o) have the same functions, that cause exception while compiling perl-5.38 ### Steps to Reproduce ./Configure -de -Dprefix=/tools/perl-2.38 -Dusethreads **compilation need libpthread**...
This PR adds a mechanism by which code that runs during stack unwind (`finally` and `defer` blocks at the Perl layer, `SAVEDESTRUCTOR*` at the XS layer) can inspect whether that...