more sub introspection than arity()

2007-12-22 Thread Klaas-Jan Stol
it is not uncommon to be able to ask a function (in languages of interest to parrot) to ask whether it takes a variable number of arguments, i.e. it has a slurpy parameter. I think it'd be useful to have such a method on the sub pmc, for instance "is_vararg()". Whether it should only check for a :

Re: more sub introspection than arity()

2007-12-22 Thread Jonathan Worthington
Klaas-Jan Stol wrote: maybe it'd be useful to allow introspection for that as well? maybe a sub can be requested for i ts complete signature, which then returns a some object describing that signature. (how many params, is it a vararg function, how many optionals, etc) Writing a method to re

Re: [perl #48971] Parrot build failure "no such instruction: `trap'"

2007-12-22 Thread Walter M Szeliga
perl -V yields Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=darwin, osvers=9.0, archname=darwin-thread-multi-2level uname='darwin omen.apple.com 9.0 darwin kernel version 9.0.0b5: mon sep 10 17:17:11 pdt 2007; root:xnu-1166.6~1release_ppc pow

[perl #49023] Error in library/pg on Ubuntu 7.10

2007-12-22 Thread via RT
# New Ticket Created by Bruno # Please include the string: [perl #49023] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=49023 > --- osname= linux osvers= 2.6.15.7 arch= i486-linux-gnu-thread-multi cc= cc --- Flags:

[svn:parrot-pdd] r24108 - in trunk: . docs/pdds

2007-12-22 Thread Bob Rogers
From: [EMAIL PROTECTED] Date: Thu, 20 Dec 2007 00:53:12 -0800 (PST) Author: allison Date: Thu Dec 20 00:53:11 2007 New Revision: 24108 Added: trunk/docs/pdds/pdd27_multiple_dispatch.pod . . . [pdd] Launch the Multiple Dispatch PDD. I notice that this doesn't allow

[perl #49031] [PATCH] config/auto/warnings.pm: refactor to increase coverage

2007-12-22 Thread via RT
# New Ticket Created by James Keenan # Please include the string: [perl #49031] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=49031 > The patch attached refactors config/auto/warnings.pm, renames one test file and provid

[perl #47391] t/configure/1*.t tests incorrectly rely on init::defaults

2007-12-22 Thread James Keenan via RT
The patch attached proposes a refactoring of Parrot configuration step auto::alignptrs to make it more testable. The patch also revises one currently existing test file and adds two new test files. As I've done with other configuration steps and their tests, the focus of the refactoring has been