[Perl/perl5] 5b7641: t/re/reg_mesg.t - escape non-visible codepoints in...

2024-02-17 Thread Yves Orton via perl5-changes
  Branch: refs/heads/yves/escape_reg_mesg_test_names
  Home:   https://github.com/Perl/perl5
  Commit: 5b76416ae23bc4b2ea03c3926e34c59ef9524a0a
  
https://github.com/Perl/perl5/commit/5b76416ae23bc4b2ea03c3926e34c59ef9524a0a
  Author: Yves Orton 
  Date:   2024-02-17 (Sat, 17 Feb 2024)

  Changed paths:
M t/re/reg_mesg.t

  Log Message:
  ---
  t/re/reg_mesg.t - escape non-visible codepoints in test names

In GH #21993 James Keenan pointed out that this test scrambles the
terminal by outputting raw utf8, possibly malformed as part of the
test names. This makes it hard to understand what is going on with
the test. This patch fixes the test names so that the code snippets
we output are escaped. We use a custom sub to do the escaping so that
we do not use the regex engine at all to do the escaping.

See https://github.com/Perl/perl5/pull/21993#issuecomment-1945981506
for details of the problems James observed.

With this patch the output should not break any terminals.



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications


[Perl/perl5] 0e857b: t/re/reg_mesg.t - escape non-visible codepoints in...

2024-02-17 Thread Yves Orton via perl5-changes
  Branch: refs/heads/yves/escape_reg_mesg_test_names
  Home:   https://github.com/Perl/perl5
  Commit: 0e857b361cb6a86cca2e6913677c3e7b5af4b80e
  
https://github.com/Perl/perl5/commit/0e857b361cb6a86cca2e6913677c3e7b5af4b80e
  Author: Yves Orton 
  Date:   2024-02-17 (Sat, 17 Feb 2024)

  Changed paths:
M t/re/reg_mesg.t

  Log Message:
  ---
  t/re/reg_mesg.t - escape non-visible codepoints in test names

In GH #21993 James Keenan pointed out that this test scrambles the
terminal by outputting raw utf8, possibly malformed as part of the
test names. This makes it hard to understand what is going on with
the test. This patch fixes the test names so that the code snippets
we output are escaped. We use a custom sub to do the escaping so that
we do not use the regex engine at all to do the escaping.

See https://github.com/Perl/perl5/pull/21993#issuecomment-1945981506
for details of the problems James observed.

With this patch the output should not break any terminals.



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications


[Perl/perl5] 5fdf6e: Add builtin::inf and builtin::nan

2024-02-17 Thread Paul Evans via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 5fdf6e90221900a85cd3091bd2755e41fc230d4d
  
https://github.com/Perl/perl5/commit/5fdf6e90221900a85cd3091bd2755e41fc230d4d
  Author: Paul "LeoNerd" Evans 
  Date:   2024-02-17 (Sat, 17 Feb 2024)

  Changed paths:
M builtin.c
M lib/builtin.pm
M lib/builtin.t

  Log Message:
  ---
  Add builtin::inf and builtin::nan



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications


[Perl/perl5] c84c31: perldsc: remove accidental double spaces

2024-02-17 Thread mauke via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: c84c313245bc220a4d222a13af7f7d8c4ecdf566
  
https://github.com/Perl/perl5/commit/c84c313245bc220a4d222a13af7f7d8c4ecdf566
  Author: Lukas Mai 
  Date:   2024-02-17 (Sat, 17 Feb 2024)

  Changed paths:
M pod/perldsc.pod

  Log Message:
  ---
  perldsc: remove accidental double spaces

Not double-spaced sentences, just random-looking double spaces in the
middle of a sentence.



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications


[Perl/perl5] fbe95d: Update perldsc.pod adding vital deep slice shortcut

2024-02-17 Thread 積丹尼 Dan Jacobson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: fbe95d28cca2ed244df50120474bd0dd0fd1b78d
  
https://github.com/Perl/perl5/commit/fbe95d28cca2ed244df50120474bd0dd0fd1b78d
  Author: 積丹尼 Dan Jacobson 
  Date:   2024-02-17 (Sat, 17 Feb 2024)

  Changed paths:
M pod/perldsc.pod

  Log Message:
  ---
  Update perldsc.pod adding vital deep slice shortcut

Without showing this beginners always try
`${HoH}{flintstones}{"wife", "pet"} = ( "wilma", "dino" );`
racking their brains for why it won't work. Plus such _deeper_ slices are not 
documented, so clearly, anywhere else!



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications