Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 53bf0303895e341340bbe5570ba3fef55df12012
      
https://github.com/Perl/perl5/commit/53bf0303895e341340bbe5570ba3fef55df12012
  Author: Tony Cook <[email protected]>
  Date:   2026-01-22 (Thu, 22 Jan 2026)

  Changed paths:
    M MANIFEST
    M embed.fnc
    M embed.h
    M ext/XS-APItest/APItest.pm
    M ext/XS-APItest/APItest.xs
    M ext/XS-APItest/t/sv_numeq.t
    A ext/XS-APItest/t/sv_numne.t
    M proto.h
    M sv.c
    M sv.h

  Log Message:
  -----------
  add sv_numne() to the API

some refactoring next, since sv_numeq_flags and sv_numne_flags are
similar.

Used a separate test file since putting every sv_num*() variant in the
one file would be ugly

Addresses GH #23918 but isn't a direct fix


  Commit: 22223d7d51445b5d2b635764ebbe48dc7d7f860c
      
https://github.com/Perl/perl5/commit/22223d7d51445b5d2b635764ebbe48dc7d7f860c
  Author: Tony Cook <[email protected]>
  Date:   2026-01-22 (Thu, 22 Jan 2026)

  Changed paths:
    M embed.fnc
    M embed.h
    M ext/XS-APItest/APItest.xs
    M ext/XS-APItest/t/sv_numeq.t
    M ext/XS-APItest/t/sv_numne.t
    M proto.h
    M sv.c

  Log Message:
  -----------
  sv.c: extract the common parts of sv_numeq_flags and sv_numne_flags


  Commit: 625a15724a712f2275b729c89acf12706fa1e561
      
https://github.com/Perl/perl5/commit/625a15724a712f2275b729c89acf12706fa1e561
  Author: Tony Cook <[email protected]>
  Date:   2026-01-22 (Thu, 22 Jan 2026)

  Changed paths:
    M sv.c

  Log Message:
  -----------
  sv_numeq/sv_numne: consolidate the similar documentation

If nothing else putting them together may avoid someone doing
`!sv_numeq(...)`


  Commit: 01e16d6bee832242d09c0b86a90cae6c361e2ad4
      
https://github.com/Perl/perl5/commit/01e16d6bee832242d09c0b86a90cae6c361e2ad4
  Author: Tony Cook <[email protected]>
  Date:   2026-01-22 (Thu, 22 Jan 2026)

  Changed paths:
    M MANIFEST
    M embed.fnc
    M embed.h
    M ext/XS-APItest/APItest.xs
    A ext/XS-APItest/t/sv_numcmp.t
    M ext/XS-APItest/t/sv_numeq.t
    M ext/XS-APItest/t/sv_numne.t
    M proto.h
    M sv.c
    M sv.h

  Log Message:
  -----------
  add sv_numcmp() to the API


  Commit: 897c610479b974f2227635e19fc17122c0dd0d7e
      
https://github.com/Perl/perl5/commit/897c610479b974f2227635e19fc17122c0dd0d7e
  Author: Tony Cook <[email protected]>
  Date:   2026-01-22 (Thu, 22 Jan 2026)

  Changed paths:
    M ext/XS-APItest/t/sv_numcmp.t
    M ext/XS-APItest/t/sv_numeq.t
    M ext/XS-APItest/t/sv_numne.t
    M sv.c

  Log Message:
  -----------
  sv_num*: correctly handle "0+" overloaded values

do_ncmp() expects simple SVs and for overloaded SVs will just compare
the SvNV() of each SV, mishandling the case where the 0+ overload
returns a large UV or IV that isn't exactly representable as an NV.

# Conflicts:
#       ext/XS-APItest/t/sv_numeq.t
#       ext/XS-APItest/t/sv_numne.t
#       sv.c


  Commit: 747670eba8f2d4daa3e8b29ea9dc9778391109a0
      
https://github.com/Perl/perl5/commit/747670eba8f2d4daa3e8b29ea9dc9778391109a0
  Author: Tony Cook <[email protected]>
  Date:   2026-01-22 (Thu, 22 Jan 2026)

  Changed paths:
    M MANIFEST
    M embed.fnc
    M embed.h
    M ext/XS-APItest/APItest.xs
    A ext/XS-APItest/t/sv_numlget.t
    M proto.h
    M sv.c
    M sv.h

  Log Message:
  -----------
  add sv_numle(), sv_numlt(), sv_numge(), sv_numgt() APIs

These are all needed because overloading may make them inconsistent
with <=> overloading.


  Commit: 2c33801f6858e19ef12ef36f71074ca9b28d0898
      
https://github.com/Perl/perl5/commit/2c33801f6858e19ef12ef36f71074ca9b28d0898
  Author: Tony Cook <[email protected]>
  Date:   2026-01-22 (Thu, 22 Jan 2026)

  Changed paths:
    M sv.c

  Log Message:
  -----------
  sv_numcmp_common: only call magic once if the SVs are the same

similar to try_amagic_bin()


  Commit: 9edfa4656a881074208454d8712a1bd3f4dbc260
      
https://github.com/Perl/perl5/commit/9edfa4656a881074208454d8712a1bd3f4dbc260
  Author: Tony Cook <[email protected]>
  Date:   2026-01-22 (Thu, 22 Jan 2026)

  Changed paths:
    M ext/XS-APItest/APItest.xs
    M ext/XS-APItest/t/sv_numne.t

  Log Message:
  -----------
  add tests for void context calls to overloads

Discovered while working on another module, in many amagic_call() will
use the current context when calling the overload sub, but these APIs
might be called in XS code that simply needs a comparison, regardless
of the current OP context.


  Commit: 46a4ed5f61ae4cef230d8f9c2a144087eabc6e54
      
https://github.com/Perl/perl5/commit/46a4ed5f61ae4cef230d8f9c2a144087eabc6e54
  Author: Tony Cook <[email protected]>
  Date:   2026-01-22 (Thu, 22 Jan 2026)

  Changed paths:
    M gv.c
    M pp.h
    M sv.c

  Log Message:
  -----------
  amagic_call: accept a AMGf_force_scalar flag to force scalar context

and use it from the numeric comparison APIs.


  Commit: c93bd38fcc4bd1bd18b34609aab048cbe48d3faf
      
https://github.com/Perl/perl5/commit/c93bd38fcc4bd1bd18b34609aab048cbe48d3faf
  Author: Tony Cook <[email protected]>
  Date:   2026-01-22 (Thu, 22 Jan 2026)

  Changed paths:
    M gv.c
    M pp_hot.c

  Log Message:
  -----------
  pp_multiconcat: use the new AMGf_force_scalar

instead of a special case in amagic_call()


  Commit: e11f0edb1a0b6f2f3b5cd3edc36d71125bcdf011
      
https://github.com/Perl/perl5/commit/e11f0edb1a0b6f2f3b5cd3edc36d71125bcdf011
  Author: Tony Cook <[email protected]>
  Date:   2026-01-22 (Thu, 22 Jan 2026)

  Changed paths:
    M embed.fnc
    M embed.h
    M ext/XS-APItest/t/sv_numeq.t
    M proto.h
    M sv.c
    M sv.h

  Log Message:
  -----------
  sv_numeq etc: don't do numify overloading with SV_SKIP_OVERLOAD


  Commit: 18401045121f0cc15b563b9184e736e1d74acc9f
      
https://github.com/Perl/perl5/commit/18401045121f0cc15b563b9184e736e1d74acc9f
  Author: Tony Cook <[email protected]>
  Date:   2026-01-22 (Thu, 22 Jan 2026)

  Changed paths:
    M ext/XS-APItest/Makefile.PL
    M ext/XS-APItest/t/sv_numne.t
    M gv.c
    M pp.h
    M sv.c
    M sv.h

  Log Message:
  -----------
  add SV_FORCE_OVERLOAD to the sv_numcmp() APIs

and add AMGf_force_overload to amagic_call() which does the actual work.


  Commit: b5f41adca020534ed796f00c7585587613de5bbf
      
https://github.com/Perl/perl5/commit/b5f41adca020534ed796f00c7585587613de5bbf
  Author: Tony Cook <[email protected]>
  Date:   2026-01-22 (Thu, 22 Jan 2026)

  Changed paths:
    M ext/XS-APItest/APItest.xs
    M ext/XS-APItest/t/sv_numeq.t

  Log Message:
  -----------
  check the void context fix for sv_numeq too


  Commit: 164f562463e71dfbc53dc1b45436239a6340856c
      
https://github.com/Perl/perl5/commit/164f562463e71dfbc53dc1b45436239a6340856c
  Author: Tony Cook <[email protected]>
  Date:   2026-01-22 (Thu, 22 Jan 2026)

  Changed paths:
    M embed.fnc
    M sv.c

  Log Message:
  -----------
  Add some documentation for sv_numcmp_common()


  Commit: 7c5ddde8c472f589ef07bbae9181311480e40740
      
https://github.com/Perl/perl5/commit/7c5ddde8c472f589ef07bbae9181311480e40740
  Author: Tony Cook <[email protected]>
  Date:   2026-01-22 (Thu, 22 Jan 2026)

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

  Log Message:
  -----------
  add perldelta for sv_numeq fix and other sv_num* additions

modified the sv.c documentation since the perldelta sv_numeq link had
multiple targets.


  Commit: b933ecdd4a25dab98e7c73f0e43122026d759da5
      
https://github.com/Perl/perl5/commit/b933ecdd4a25dab98e7c73f0e43122026d759da5
  Author: Tony Cook <[email protected]>
  Date:   2026-01-22 (Thu, 22 Jan 2026)

  Changed paths:
    M MANIFEST
    M embed.fnc
    M embed.h
    M ext/XS-APItest/APItest.pm
    M ext/XS-APItest/APItest.xs
    M ext/XS-APItest/Makefile.PL
    A ext/XS-APItest/t/sv_numcmp.t
    M ext/XS-APItest/t/sv_numeq.t
    A ext/XS-APItest/t/sv_numlget.t
    A ext/XS-APItest/t/sv_numne.t
    M gv.c
    M pod/perldelta.pod
    M pp.h
    M pp_hot.c
    M proto.h
    M sv.c
    M sv.h

  Log Message:
  -----------
  add (or improve) SV numeric comparison APIs

A partial fix for #23918


Compare: https://github.com/Perl/perl5/compare/da6c78e2121f...b933ecdd4a25

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

Reply via email to