Math-Pari

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

  Re-installing in GP/PARI was ignoring the foreignFuncFree handler.
  Remove pre-junk in precode.  (Is not used for a long time.)
	Failed 16/82 test programs. 104/650 subtests failed.
  The code to handle more than 1 optional argument was completely busted.
XXX  Test for this???
	Failed 16/82 test programs. 122/681 subtests failed.
XXX  Our exception handler does not work as it should: the warning is already issued, so the error is empty.
	Failed 16/82 test programs. 92/632 subtests failed. (without -O2 -s)
  gclone() our tmp handlers ((x)->1), etc
	Failed 16/82 test programs. 133/1249 subtests failed.	(4 crashes; with -g)
  We did not detach_stack() on restart.  Now grows 6.7M on 1e5 iterations with 2.3.5 32bit windows (takes about 15min):
    perl -Mblib -le "for (1..shift) {delete $INC{q(Math/Pari.pm)}; require Math::Pari; print sin Math::Pari::PARI(1)} END{warn 1; sleep 500}" 100000
XXX  Probably worksv and workErrsv leaking???
XXX  But this crashes with 100 (but not with 20):
	perl -Mblib -wle "for (1..shift) {delete $INC{q(Math/Pari.pm)}; %Math::Pari::=(); require Math::Pari; $n=q(Math::Pari::PARI); *PARI = \&$n; print sin PARI(1)}" 100
  To avoid warnings on redefinition, avoid function names in the script being resolved at compile time:
	perl -Mblib -wle "for (1..shift) {delete $INC{q(Math/Pari.pm)}; %Math::Pari::=(); delete $::{PARI}; require Math::Pari; $n=q(Math::Pari::PARI); $N=q(PARI); *$N = \&$n; print sin &$N(1)}" 1000
		but this cannot survive more than a few dozens of iterations...  But this runs fine:
	perl -wle "for (1..shift) {delete $INC{q(List/Util.pm)}; %List::Util:: = %Scalar::Util:: = %Sub::Util:: = (); $N=q(sum0); $n=qq(List::Util::$N); delete $::{$N}; require List::Util; *$N = \&$n; print 1 + &$N(1..10)}" 20000
  The fix for -D_FORTIFY_SOURCE was not working.  Redo.

2.030504
  Patch for 2.5.0 was not updated.  (Still not auto-applied.)
  PerlFunctionArg1 had an extra *.
  New XSUB __detach_stack().
  Detach stack at end of 00_Pari.t.
XXX Temporarily (???) remove -Wall from cflags on netbsd for early Perl version (to see the failure report - otherwise truncates at 1M).
	Failed 16/82 test programs. 153/1272 subtests failed.  (5 crashes)



( run in 1.526 second using v1.01-cache-2.11-cpan-71847e10f99 )