[perl #59372] [BUG] (harness) test fails when called through make, succeeds otherwise

2008-09-27 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #59372] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=59372 > in r31436 the test t/spec/S29-conversions/ord_and_chr.t fails on my computer when called

[perl #59382] [BUG] Scalars never give up their container type

2008-09-27 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #59382] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=59382 > 22:35 < moritz_> rakudo: my $a = { a => 42 }; say 1; $a = [ 0 ]; say 2 22:35 < p6eval> ra

[perl #59394] [PATCH] Implementation of Pair.pairs.

2008-09-27 Thread via RT
# New Ticket Created by Vasily Chekalkin # Please include the string: [perl #59394] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=59394 > Hello. There is implementation of Pair.pairs. +3 passed tests in "S29-hash/pairs.t"

[perl #59396] [PATCH] Implementation of Hash.reverse.

2008-09-27 Thread via RT
# New Ticket Created by Vasily Chekalkin # Please include the string: [perl #59396] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=59396 > Hello. There is implementation of Hash.reverse -- Bacek diff --git a/languages/pe

Re: [perl #59396] [PATCH] Implementation of Hash.reverse.

2008-09-27 Thread Moritz Lenz
Vasily Chekalkin (via RT) wrote: > There is implementation of Hash.reverse Thanks, applied as r22430. (But put method in alphabetical order) Moritz -- Moritz Lenz http://perlgeek.de/ | http://perl-6.de/ | http://sudokugarden.de/

Re: Revisiting lexicals, part 1

2008-09-27 Thread François Perrad
2008/9/24 Patrick R. Michaud <[EMAIL PROTECTED]>: > On Wed, Sep 24, 2008 at 12:09:37PM +0200, François Perrad wrote: >> Currently, the bigger issue in Lua on Parrot is lexical or upvalue in >> Lua jargon (the reason for Lua on Parrot is not really Lua). >> The following Lua code doesn't give the ex

Re: [perl #59372] [BUG] (harness) test fails when called through make, succeeds otherwise

2008-09-27 Thread Patrick R. Michaud
On Fri, Sep 26, 2008 at 09:05:32AM -0700, Moritz Lenz wrote: > in r31436 the test t/spec/S29-conversions/ord_and_chr.t fails on my > computer when called through make (ie 'make spectest_regression' or > 'make t/spec/S29-conversions/ord_and_chr.t', but succeeds if the > corresponding .rakudo file is

Re: [perl #59394] [PATCH] Implementation of Pair.pairs.

2008-09-27 Thread Patrick R. Michaud
On Sat, Sep 27, 2008 at 12:18:21AM -0700, Vasily Chekalkin wrote: > Hello. > > There is implementation of Pair.pairs. +3 passed tests in "S29-hash/pairs.t" > > +$P0 = get_hll_namespace ['Perl6Pair'] > +'!EXPORT'('pairs', $P0) It's probably wrong to export 'pairs' here -- the exported pai

Re: [perl #59396] [PATCH] Implementation of Hash.reverse.

2008-09-27 Thread Patrick R. Michaud
On Sat, Sep 27, 2008 at 12:31:08AM -0700, Vasily Chekalkin wrote: > # New Ticket Created by Vasily Chekalkin > # Please include the string: [perl #59396] > # in the subject line of all future correspondence about this issue. > # http://rt.perl.org/rt3/Ticket/Display.html?id=59396 > > > > Hell

Re: [perl #59396] [PATCH] Implementation of Hash.reverse.

2008-09-27 Thread Moritz Lenz
Patrick R. Michaud via RT wrote: > It feels a little weird to have 'reverse' as an exported symbol > here. Based on S29, the exports on 'reverse' mean that we get: > > my $str = 'abc'; > say reverse $str; # cba > say reverse $str, 5; # 2abc 5abc > my %hash

Re: [perl #59400] [PATCH] Implementation of lvalue semantic of Str.substr

2008-09-27 Thread Patrick R. Michaud
On Sat, Sep 27, 2008 at 07:25:06AM -0700, Moritz Lenz via RT wrote: > On Sat Sep 27 05:47:14 2008, bacek wrote: > > Small proxy class to support lvalue semantic of Str.substr. Holds > > original string, start, len. In get_string method returns substring. In > > infix:= construct new string and as

Re: Split with negative limits, and other weirdnesses

2008-09-27 Thread jason switzer
It makes sense to me to go with option 1; you get what you ask for. It also makes sense to make to not use magical implied numbers, such as negatives, to accomplish things that either ranges or whatever star can accomplish. Just my 2 cents. -Jason "s1n" Switzer On Tue, Sep 23, 2008 at 4:27 AM, M

[perl #59400] [PATCH] Implementation of lvalue semantic of Str.substr

2008-09-27 Thread via RT
# New Ticket Created by Vasily Chekalkin # Please include the string: [perl #59400] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=59400 > Hello. Small proxy class to support lvalue semantic of Str.substr. Holds original

Re: [perl #59400] [PATCH] Implementation of lvalue semantic of Str.substr

2008-09-27 Thread Vasily Chekalkin
Patrick R. Michaud via RT wrote: On Sat, Sep 27, 2008 at 07:25:06AM -0700, Moritz Lenz via RT wrote: On Sat Sep 27 05:47:14 2008, bacek wrote: Small proxy class to support lvalue semantic of Str.substr. Holds original string, start, len. In get_string method returns substring. In infix:= const

[perl #59398] [PATCH] Moving methods from Str.pir to any-str.pir

2008-09-27 Thread via RT
# New Ticket Created by Vasily Chekalkin # Please include the string: [perl #59398] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=59398 > Hello. For consistency sake (and removing many dummy proxy methods) -- Bacek. com

[perl #59410] [PATCH] CONTROL_LOOP_NEXT support for pct. Rakudo won't build, though.

2008-09-27 Thread via RT
# New Ticket Created by Stephen Weeks # Please include the string: [perl #59410] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=59410 > This patch adds support for handling CONTROL_LOOP_NEXT exceptions in pct-generated for

Re: [perl #59394] [PATCH] Implementation of Pair.pairs.

2008-09-27 Thread Vasily Chekalkin
Patrick R. Michaud via RT wrote: On Sat, Sep 27, 2008 at 12:18:21AM -0700, Vasily Chekalkin wrote: Hello. There is implementation of Pair.pairs. +3 passed tests in "S29-hash/pairs.t" +$P0 = get_hll_namespace ['Perl6Pair'] +'!EXPORT'('pairs', $P0) It's probably wrong to export 'pairs'

[perl #59336] [BUG] Parrot fails integer comparisons when integers are > 2^31 apart

2008-09-27 Thread Christoph Otto via RT
On Thu Sep 25 14:18:40 2008, julianalbo wrote: > > I suspect the problem is that the integer "greater than" operation > > is performing a subtraction between the two (signed long) values > > being compared, but the result of the subtraction is outside of > > the range of signed longs. > > Correct.

Re: [perl #59394] AutoReply: [PATCH] Implementation of Pair.pairs.

2008-09-27 Thread Vasily Chekalkin
Hello. Simplified implementation of Pair.pairs. moritz++ for pointing on it. -- Bacek commit 71b6abede127eaa73c4ea32b00ee21150793a7f2 Author: Vasily Chekalkin <[EMAIL PROTECTED]> Date: Sat Sep 27 23:04:17 2008 +1000 Implement Pair.pairs diff --git a/languages/perl6/src/classes/Pair.pir b