Re: PIL nodes - looking for descriptions

2005-07-26 Thread Patrick R. Michaud
On Mon, Jul 25, 2005 at 12:57:07PM -0700, Allison Randal wrote: > Could one of the lamdas correct the places where I'm > misinterpreting the code and fill in what's missing? I may be able to help a little -- PPos indicates the current parse location in the source code (for issuing useful debuggi

Garbage Collector API

2005-07-26 Thread David Formosa \(aka ? the Platypus\)
So the summerizor doesn't get upset with me, I'll restate this in a seperate thread. We are should have an API to talk to the GC and give it hints about when it should run, and tweek the verious paramitors for its running. For example use GC trigger => 10`percent; GC::run(); # Trigger the Gar

Re: [PATCH] Perl 6 FAQ

2005-07-26 Thread Robert Spier
> [1 ] > On Sat, Jul 23, 2005 at 11:53:01AM -0700, Robert Spier wrote: > > Thanks, applied. > Thanks! However, the rendered form is still of an old revision: > http://dev.perl.org/perl6/faq.html It was still in my staging copy. It should be up now. -R

Re: Test failures

2005-07-26 Thread Nicholas Clark
On Tue, Jul 26, 2005 at 12:32:53AM -0700, Michael G Schwern wrote: > Just built a fresh ponie from the repo (336) on OS X and got a few failures. > The test output is attached. > > Failed Test Stat Wstat Total Fail Failed List of Failed > -

Re: ponie can't execute itself in ``... sometimes.

2005-07-26 Thread Nicholas Clark
On Sat, Jul 23, 2005 at 11:46:19PM -0700, Michael G Schwern wrote: > MakeMaker's find_perl() function fails to find ponie. The reason is its > attempt to run ponie fails. The run is simply: > > my $check = `$path_to_ponie -le "require 5.0; print qq{VER_OK}"` > > when called inside find_pe

Re: [PATCH] recreatable shuffled tests for "prove"

2005-07-26 Thread Adriano Ferreira
On 7/25/05, Michael G Schwern <[EMAIL PROTECTED]> wrote: > > prove --shuffle --list=5,4,0,1,2,3 t # the shuffle list is predetermined > > I'm not sure I see the utility in that last one that significantly beats > out just reordering the arguments to prove. Do you have a use case? And > what ha

Re: HTTP::Recorder

2005-07-26 Thread Philippe 'BooK' Bruhat
Le mardi 12 juillet 2005 à 19:35, Ian Langworth écrivait: > I'd like to improve HTTP::Recorder. I've contacted Linda Julien > (http://search.cpan.org/~leira/) via her CPAN email address, but I've > received no response. The module hasn't been touched in over a year > and every RT ticket seems to ha

Re: Exposing the Garbage Collector

2005-07-26 Thread Piers Cawley
"TSa (Thomas Sandlaß)" <[EMAIL PROTECTED]> writes: > Piers Cawley wrote: >> Let's say I have a class, call it Foo which has a bunch of attributes, and >> I've >> created a few of them. Then, at runtime I do: >>eval 'class Foo { has $.a_new_attribute is :default<10> }'; >> Assuming I've got th

Re: Exposing the Garbage Collector (Iterating the live set)

2005-07-26 Thread TSa (Thomas Sandlaß)
Piers Cawley wrote: I would like to be able to iterate over all the objects in the live set. My Idea actually is to embedd that into the namespace syntax. The idea is that of looking up non-negativ integer literals with 0 beeing the namespace owner. for ::Namespace -> $instance { if +

Re: [PATCH] recreatable shuffled tests for "prove"

2005-07-26 Thread Andy Lester
On Tue, Jul 26, 2005 at 08:51:01AM -0300, Adriano Ferreira ([EMAIL PROTECTED]) wrote: > The whole point of this option is to allow the reproduction of a > certain order even in a Perl that was not compiled with the same This option has to be able to handle the case of a set of 1000 tests, all ran

Re: [PATCH] recreatable shuffled tests for "prove"

2005-07-26 Thread Michael G Schwern
On Tue, Jul 26, 2005 at 08:51:01AM -0300, Adriano Ferreira wrote: > Instead of giving the seed for shuffling, the list can be predetermined > with the C argument. > > $ prove -b -D -d -s --list=1,2,0,3,4 0 1 2 3 4 > > will run the same sequence everywhere, without concern for > differences betw

Re: Test harnesses?

2005-07-26 Thread Adrian Howard
On 25 Jul 2005, at 22:29, Peter Kay wrote: http://qa.perl.org/test-modules.html has a bunch of test modules listed. However, there are no harnesses listed. I know Test::Harness, and I'm going to go read about Test::Builder, but what other "meta-testing" modules are there? [snip] All depend

Re: [PATCH] recreatable shuffled tests for "prove"

2005-07-26 Thread Adriano Ferreira
On 7/26/05, Michael G Schwern <[EMAIL PROTECTED]> wrote: > Yeah, that's exactly what I was worried about. Why not just write: > prove -b -D -d 1 2 0 3 4 > this even avoids having to write special code to handle Andy's worry about > large lists of arguments. I see your point and agree. Pro

Re: Exposing the Garbage Collector (Iterating the live set)

2005-07-26 Thread TSa (Thomas Sandlaß)
HaloO Jonathan, you wrote: (why off-list?) H, and the current actor/owner is $/ which gives the expanded method call syntax: .method # really means: $/.method($_) You mean $?SELF rather than $/. $/ is now the match object used in rules. I would say *for* rules/methods. $?SELF i

Re: Test harnesses?

2005-07-26 Thread Michael G Schwern
On Tue, Jul 26, 2005 at 04:38:45PM +0100, Adrian Howard wrote: > One of the things that makes Perl's standard testing framework > interesting is that everything is so decoupled. As long as something > talks TAP you can plug it in. As well as Test::Harness, you might > want to look at: > > Te

Re: [PATCH] recreatable shuffled tests for "prove"

2005-07-26 Thread Adriano Ferreira
Here is another patch. No --list anymore. Just --seed. There is also a new test script "t/prove-shuffle.t". It touches the MANIFEST and tweaks "t/prove-globbing.t" which depends on distribution files matching "t/prove*.t". Adriano. prove-patch Description: Binary data

End-of-program global destruction is now guaranteed

2005-07-26 Thread Autrijus Tang
Heya. This is just a heads-up in response to your r5759: -- r23564 (orig r5759): chromatic | 2005-07-23 03:30:54 +0800 Added tests for global destruction: call DESTROYALL() on all active objects. (This is the last feature Test:

Re: End-of-program global destruction is now guaranteed

2005-07-26 Thread chromatic
On Wed, 2005-07-27 at 02:18 +0800, Autrijus Tang wrote: > Heya. This is just a heads-up in response to your r5759: > > -- > r23564 (orig r5759): chromatic | 2005-07-23 03:30:54 +0800 > > Added tests for global destruction: cal

Do slurpy parameters auto-flatten arrays?

2005-07-26 Thread Ingo Blechschmidt
Hi, are the following assumptions correct? sub foo ([EMAIL PROTECTED]) { @args[0] } say ~foo("a", "b", "c"); # "a" my @array = ; say ~foo(@array);# "a b c d" (or "a"?) say ~foo(@array, "z"); # "a b c d" (or "a"?) say ~foo([EMAIL PROTECTED]); # "a" s

Re: GMC for dummies

2005-07-26 Thread Nattfodd
Hi, I began putting the ideas of the documents in form. For now, only the data structures are there but I think they look quite nice. There are still some things lacking (mainly how the UINTVAL flags; field of Gc_gmc_hdr will be used : I think that one or two bits for marking plus some bits for re

Perl 6 Summary for 2005-07-19 through 2005-07-26

2005-07-26 Thread Matt Fowles
Perl 6 Summary for 2005-07-19 through 2005-07-26 All~ Welcome to another Perl 6 Summary brought to you by microwaved chinese food and air conditioning. I love the modern era. Without further ado, I bring you Perl 6 Compilers Grégoire Péan announed the release of PxPerl 5.8.7

Re: Perl 6 Summary for 2005-07-19 through 2005-07-26

2005-07-26 Thread Will Coleda
On Jul 26, 2005, at 9:21 PM, Matt Fowles wrote: \u escape issues Will Coleda opened a ticket for some unicode escape issues. Leo asked for a test case. Actually, this was a close of a fairly old ticket that predated the big string merge. Apologies f