Re: [perl #36407] [BUG] imcc - register allocation

2005-06-29 Thread Leopold Toetsch
On Jun 28, 2005, at 17:14, Bill Coffman wrote: Isn't the register allocator pretty much minimized by the new architecture implementation? My understanding was that only temporary variables could benefit from it now. Perhaps the new changes aren't in effect yet? Just curious. The register

Re: new calling conventions

2005-06-29 Thread Leopold Toetsch
On Jun 28, 2005, at 17:23, Klaas-Jan Stol wrote: hi, I've been playing a bit with the new set_*/get_* ops that implement the new calling conventions, according to pdd03. If the number of passed arguments is larger than the number of parameters the function takes, an exception is thrown

RE: Test::User, Test::Symlink

2005-06-29 Thread Clayton, Nik
On Tue, Jun 28, 2005 at 03:24:51PM +0100, Clayton, Nik wrote: user_ok(name = 'nik', uid = 1000, shell = '/bin/tcsh', 'Check nik\'s account'); My only thought is I would use a hash ref. user_ok( { name = 'nik', uid = 1000, shell = '/bin/tcsh' },

Re: [perl #36411] New form of 'setattribute' fails when there are multiple inheritance levels

2005-06-29 Thread Leopold Toetsch
Roger Browne (via RT) wrote: Here's the inheritance hierarchy: PARENT_1 # adds attribute 'foo' ^ | PARENT_2 # adds attribute 'foo', hiding the inherited one ^ | CHILD# adds attribute 'bar' The first question is of course: a) should we fully hide

Re: [perl #36411] New form of 'setattribute' fails when there are multiple inheritance levels

2005-06-29 Thread Roger Browne
On Wed, 2005-06-29 at 10:01 +, Leopold Toetsch via RT wrote: PARENT_1 # adds attribute 'foo' ^ | PARENT_2 # adds attribute 'foo', hiding the inherited one ^ | CHILD# adds attribute 'bar' The first question is of course: a) should we

Re: Parrot Segfault

2005-06-29 Thread Jens Rieks
#13 0x0808588e in main (argc=1, argv=0xb8ac) at imcc/main.c:637 Can you please run print ((char**)0xb8ac)[1] to find out which file causes the coredump?? jens

[perl #36424] [TODO] Add Grammar example to compilers/pge

2005-06-29 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #36424] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=36424 The wonderful simple grammar that was demo'd at YAPC::NA via demo.pir should be

Re: Parrot Segfault

2005-06-29 Thread Matt Fowles
Jens~ On 6/29/05, Jens Rieks [EMAIL PROTECTED] wrote: #13 0x0808588e in main (argc=1, argv=0xb8ac) at imcc/main.c:637 Can you please run print ((char**)0xb8ac)[1] to find out which file causes the coredump?? Sure! gdb ./parrot core snip/ Core was generated by `./parrot --gc-debug

Re: who to get subroutine caller context with pugs

2005-06-29 Thread Autrijus Tang
On Tue, Jun 28, 2005 at 11:02:48AM +0200, Gerd Pokorra wrote: I am using pugs 6.2.7. Is it already possible to find out if a subroutine was called in a void context. Does the want function provide this feature. In the interactive shell you can try it out: pugs want 'Void' However I

Re: Perl 6 Summary for 2005-06-21 through 2005-06-28

2005-06-29 Thread Matt Fowles
Patrick~ On 6/29/05, Patrick R. Michaud [EMAIL PROTECTED] wrote: On Tue, Jun 28, 2005 at 08:11:24PM -0400, Matt Fowles wrote: Parrot Loses with Fedora Core 4 Patrick reported that Fedora Core 4 and Parrot don't get along well. Leo suggested a possible solution. No response from

Re: Parrot Segfault

2005-06-29 Thread Leopold Toetsch
Matt Fowles wrote: Core was generated by `./parrot --gc-debug /home/mfowles/perl6/parrot/t/pmc/io_1.pir'. Ah. ok. That's a TODO tests that is supposed to fail. It is testing io opcodes with undefs and integer PMCs. As soon as the io opcodes are methods in ParrotIO we get type safety and

IO ops with non PIO PMCs [was: Re: Parrot Segfault]

2005-06-29 Thread Jens Rieks
On Wednesday 29 June 2005 15:24, Matt Fowles wrote: t/pmc/io_1.pir Ah, yes. This is a failing todo test. The useage of IO ops on non IO-PMCs is not specced yet. jens #6 0x08128193 in PIO_putps (interpreter=0x826e050, pmc=0x82a93e8, s=0x843c7d8) at io/io.c:1011 1006INTVAL 1007

Re: Perl 6 Summary for 2005-06-21 through 2005-06-28

2005-06-29 Thread Patrick R. Michaud
On Tue, Jun 28, 2005 at 08:11:24PM -0400, Matt Fowles wrote: Parrot Loses with Fedora Core 4 Patrick reported that Fedora Core 4 and Parrot don't get along well. Leo suggested a possible solution. No response from Patrick. An update: Patrick submitted a patch based on Leo's

Re: Parrot Segfault

2005-06-29 Thread Matt Fowles
Leo~ On 6/29/05, Leopold Toetsch [EMAIL PROTECTED] wrote: Matt Fowles wrote: Core was generated by `./parrot --gc-debug /home/mfowles/perl6/parrot/t/pmc/io_1.pir'. Ah. ok. That's a TODO tests that is supposed to fail. It is testing io opcodes with undefs and integer PMCs. As soon as

Re: Parrot Segfault

2005-06-29 Thread chromatic
On Wed, 2005-06-29 at 10:59 -0400, Matt Fowles wrote: Would it be reasonable to not run tests that are known to leave core files? I feel like after a successful build there should not be evidence like this left around... People could set ulimit (though we'd have to tell them all to do that)

Re: Test::User, Test::Symlink

2005-06-29 Thread Michael G Schwern
On Wed, Jun 29, 2005 at 09:00:05AM +0100, Clayton, Nik wrote: homedir_ok() verifies that the home directory for the given user exists, is owned/group owned by that user, and has a given set of permissions. homedir_ok(name = nik, uid = 1000, gid = 1000, perm = 0755,

Question about Test::WWW::Mechanize

2005-06-29 Thread Vsevolod (Simon) Ilyushchenko
Hi, I've just stumbled upon Test::WWW::Mechanize and tried to use version 1.05_02, but the very first test gave me the following error: 1) /opt/software/perl/lib//Test/WWW/Mechanize.pm:103 - frontPage(MCTests) You tried to run a test without a plan! Gotta have a plan. The

Re: Question about Test::WWW::Mechanize

2005-06-29 Thread Michael G Schwern
On Wed, Jun 29, 2005 at 03:05:47PM -0400, Vsevolod (Simon) Ilyushchenko wrote: I've just stumbled upon Test::WWW::Mechanize and tried to use version 1.05_02, but the very first test gave me the following error: 1.06 was just uploaded to CPAN today, but I don't think it fixes your problem.

Type variables vs type literals

2005-06-29 Thread Autrijus Tang
Currently, does this: sub foo (::T $x, ::T $y) { } and this: sub foo (T $x, T $y) { } Means the same thing, namely a) if the package T is defined in scope, use that as the type constraint for $x and $y b) otherwise, set ::T to be the most immediate common supertype

Mr. Clean vs. Perl 6

2005-06-29 Thread Yuval Kogman
To me Mr. Clean has always been a symbol of facism. It's this big strong guy who enforces cleanliness using chemicals. How mean is that? Whatever. Perl 6 is all about getting along with others. There is one aspect of perl 6 that doesn't get along - people who want to write strongly typed perl 6,