Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: c06c90a32868414d96725591653bf59e62d394b2
      
https://github.com/Perl/perl5/commit/c06c90a32868414d96725591653bf59e62d394b2
  Author: Paul "LeoNerd" Evans <[email protected]>
  Date:   2026-02-11 (Wed, 11 Feb 2026)

  Changed paths:
    M regen/embed.pl
    M sv.h

  Log Message:
  -----------
  SvOOK only applies to scalar-shaped SVs, when !SvROK

This flag is not meaningful to SVs that can't contain a PV buffer; i.e.
AVs, HVs, CVs, GVs, etc.

Assert the correct SV type and absence of ROK in SvOOK_on(), preventing
its use on invalid SV types.

Ignore non-matching types in SvOOK() test, claiming to be always off in
that case.


  Commit: 0dda2e7f64b2da82099fb9645cd99ddaaa9e0f48
      
https://github.com/Perl/perl5/commit/0dda2e7f64b2da82099fb9645cd99ddaaa9e0f48
  Author: Paul "LeoNerd" Evans <[email protected]>
  Date:   2026-02-11 (Wed, 11 Feb 2026)

  Changed paths:
    M pod/perldelta.pod
    M sv.h

  Log Message:
  -----------
  Rearrange SvFLAGS bits to make a spare one for scalars

The rarely-used PCS_IMPORTED flag bit only applies to RVs when used as
GV placeholders in the symbol table. It's never meaningful at the same
time as the OOK bit would be, so we can share the same bit position for
both flags.

Doing this frees up the SVp_SCREAM flag position for any scalar SV type.


Compare: https://github.com/Perl/perl5/compare/dfa857d12e2c...0dda2e7f64b2

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

Reply via email to