[perl #127208] [CONC][SEGV] Non-deterministic segfaults in parallel code

2016-09-10 Thread Zoffix Znet via RT
Fudged tests added in https://github.com/perl6/roast/commit/02d698835e Still segfaults about once in 10 runs on 2016.08.1-145-g87f772e

Re: Observations from a C++/Python developer that never used Perl5

2016-09-10 Thread Brian Duggan
The pair constructor seems to be in a different category than the other quoting operators since the expression that it quotes must look like an identifier: https://github.com/rakudo/rakudo/blob/nom/src/Perl6/Grammar.nqp#L1776 token fatarrow { \h* '=>' <.ws> } Brian On Satu

[perl #129240] [NativeCall] nativesizeof routine returns the different result from sizeof function in C when it takes a CArray object as an argument.

2016-09-10 Thread via RT
# New Ticket Created by Itsuki Toyota # Please include the string: [perl #129240] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=129240 > See the following result $ perl6 -MNativeCall -e 'my $null = Pointer; my $not-null = CA

Re: Help mechanism in REPL?

2016-09-10 Thread Rob Hoelz
On Fri, 09 Sep 2016 16:30:28 -0700 Alex Elsayed wrote: > On Wednesday, 7 September 2016 17:57:32 PDT Parrot Raiser wrote: > > This isn't a request for a feature, merely a thought experiment. > > We're still in the phase where it's more important to ensure that > > existing features work properly

Re: Help mechanism in REPL?

2016-09-10 Thread Brad Gilbert
There was some talk in the past about having `.WHY` look up the descriptions in the POD6 doc ( so that we don't have to bloat Rakudo with that information ) On Fri, Sep 9, 2016 at 6:30 PM, Alex Elsayed wrote: > On Wednesday, 7 September 2016 17:57:32 PDT Parrot Raiser wrote: >> This isn't a reque

Re: [perl #129240] [NativeCall] nativesizeof routine returns the different result from sizeof function in C when it takes a CArray object as an argument.

2016-09-10 Thread Brandon Allbery via RT
On Sat, Sep 10, 2016 at 10:11 AM, Itsuki Toyota < perl6-bugs-follo...@perl.org> wrote: > $ perl6 -MNativeCall -e 'my $null = Pointer; my $not-null = > CArray[int32].new; $not-null[0] = 1; $not-null[1] = 1; $not-null[2] = 1; > say nativesizeof($not-null)' > 8 > That size looks doubly wrong to me.

Re: [perl #129240] [NativeCall] nativesizeof routine returns the different result from sizeof function in C when it takes a CArray object as an argument.

2016-09-10 Thread Brandon Allbery
On Sat, Sep 10, 2016 at 10:11 AM, Itsuki Toyota < perl6-bugs-follo...@perl.org> wrote: > $ perl6 -MNativeCall -e 'my $null = Pointer; my $not-null = > CArray[int32].new; $not-null[0] = 1; $not-null[1] = 1; $not-null[2] = 1; > say nativesizeof($not-null)' > 8 > That size looks doubly wrong to me.

[perl #129242] [BUG] split gives incorrect results when splitting a number with the :skip-empty adverb

2016-09-10 Thread Zoffix Znet via RT
Thanks for the report. It appears all of .split's adverbs were broken on Cool, including the .split(@needles) call form. Fixed in https://github.com/rakudo/rakudo/commit/b771bcc97a Tests added in https://github.com/perl6/roast/commit/060cf7abff On Sat Sep 10 09:01:27 2016, jan-olof.hen...@bred

Re: Help mechanism in REPL?

2016-09-10 Thread Elizabeth Mattijsen
FWIW, the .WHY is a method just like any other. What would need to be changed, is the behaviour of Mu.WHY (around line 60 in Mu.pm). > On 10 Sep 2016, at 16:41, Brad Gilbert wrote: > > There was some talk in the past about having `.WHY` look up the > descriptions in the POD6 doc ( so that we d

[perl #129241] Odd corruption of attribute of type Grammar

2016-09-10 Thread via RT
# New Ticket Created by Andrew Buchanan # Please include the string: [perl #129241] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=129241 > Running the test file will produce multiple successful outputs of grammar.parse, that

[perl #129242] [BUG] split gives incorrect results when splitting a number with the :skip-empty adverb

2016-09-10 Thread via RT
# New Ticket Created by Jan-Olof Hendig # Please include the string: [perl #129242] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=129242 > Tested with: dogbert@dogbert-VirtualBox ~/.rakudobrew/moar-nom $ perl6 -v This is Rak

[perl #129244] No way to close IO::Socket::Async as documented

2016-09-10 Thread via RT
# New Ticket Created by hanenkamp # Please include the string: [perl #129244] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=129244 > my $listener = IO::Socket::Async.listen(...); $listener.close; #!> Method 'close' not found

[perl #129245] [BUG] *$foo accepted in signatures

2016-09-10 Thread via RT
# New Ticket Created by Brandon Allbery # Please include the string: [perl #129245] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=129245 > [11 06:36] m: sub subparams(($head, *$tail)) { ($head, $tail).flat }; say subparams((

[perl #129246] [DOCS] bad link to "Slurpy Arguments" at https://docs.perl6.org/type/Signature#Constraining_Slurpy_Arguments

2016-09-10 Thread via RT
# New Ticket Created by Brandon Allbery # Please include the string: [perl #129246] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=129246 > It goes to https://docs.perl6.org/type/Slurpy_(A$FULL_STOPK$FULL_STOPA$FULL_STOP_Varia