[#83096] File.setuid? on IO (Re: [ruby-cvs:67289] normal:r60108 (trunk): file.c: release GVL in File.{setuid?, setgid?, sticky?}) — Nobuyoshi Nakada <nobu@...>
On 2017/10/04 8:47, normal@ruby-lang.org wrote:
5 messages
2017/10/04
[#83100] Re: File.setuid? on IO (Re: [ruby-cvs:67289] normal:r60108 (trunk): file.c: release GVL in File.{setuid?, setgid?, sticky?})
— Eric Wong <normalperson@...>
2017/10/04
Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
[#83105] Re: File.setuid? on IO (Re: [ruby-cvs:67289] normal:r60108 (trunk): file.c: release GVL in File.{setuid?, setgid?, sticky?})
— Nobuyoshi Nakada <nobu@...>
2017/10/04
On 2017/10/04 15:55, Eric Wong wrote:
[#83107] Alias Enumerable#include? to Enumerable#includes? — Alberto Almagro <albertoalmagro@...>
Hello,
9 messages
2017/10/04
[#83113] Re: Alias Enumerable#include? to Enumerable#includes?
— "Urabe, Shyouhei" <shyouhei@...>
2017/10/05
This has been requested countless times, then rejected each and every time.
[#83129] Re: Alias Enumerable#include? to Enumerable#includes?
— Alberto Almagro <albertoalmagro@...>
2017/10/05
Sorry I didn't found it on the core mail list's archive.
[#83138] Re: Alias Enumerable#include? to Enumerable#includes?
— "Urabe, Shyouhei" <shyouhei@...>
2017/10/06
Ruby has not been made of popular votes so far. You have to show us
[#83149] Re: Alias Enumerable#include? to Enumerable#includes?
— Eric Wong <normalperson@...>
2017/10/06
Alberto Almagro <albertoalmagro@gmail.com> wrote:
[#83200] [Ruby trunk Feature#13996] [PATCH] file.c: apply2files releases GVL — normalperson@...
Issue #13996 has been reported by normalperson (Eric Wong).
4 messages
2017/10/10
[ruby-core:83089] [Ruby trunk Bug#13967] Recent Ripper changes, sexp broken?
From:
Greg.mpls@...
Date:
2017-10-03 19:24:26 UTC
List:
ruby-core #83089
Issue #13967 has been reported by MSP-Greg (Greg L).
----------------------------------------
Bug #13967: Recent Ripper changes, sexp broken?
https://bugs.ruby-lang.org/issues/13967
* Author: MSP-Greg (Greg L)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.5.0dev (2017-10-03 trunk 60107) [x64-mingw32]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
With some recent changes, (svn 60103 +), Ripper.sexp has changed. With 60103 +, the second lex shown below no longer has the method name. Old version shows `[:@op, "<<", [1, 4]]`, new version shows simply `:on_op`
Code:
```ruby
# frozen_string_literal: true
require 'ripper'
require 'pp'
puts "\n#{RUBY_DESCRIPTION}"
puts "\ndef hello(world) world; end"
pp Ripper.sexp('def hello(world) world; end')
puts "\ndef <<(world) world; end"
pp Ripper.sexp('def <<(world) world; end')
```
Output from svn 60107
```ruby
>ruby ripper.rb
ruby 2.5.0dev (2017-10-03 trunk 60107) [x64-mingw32]
def hello(world) world; end
[:program,
[[:def,
[:@ident, "hello", [1, 4]],
[:paren,
[:params, [[:@ident, "world", [1, 10]]], nil, nil, nil, nil, nil, nil]],
[:bodystmt, [[:var_ref, [:@ident, "world", [1, 17]]]], nil, nil, nil]]]]
def <<(world) world; end
[:program,
[[:def,
:on_op,
[:paren,
[:params, [[:@ident, "world", [1, 7]]], nil, nil, nil, nil, nil, nil]],
[:bodystmt, [[:var_ref, [:@ident, "world", [1, 14]]]], nil, nil, nil]]]]
```
Output from svn 60101:
```ruby
>ruby ripper.rb
ruby 2.5.0dev (2017-10-02 trunk 60101) [x64-mingw32]
def hello(world) world; end
[:program,
[[:def,
[:@ident, "hello", [1, 4]],
[:paren,
[:params, [[:@ident, "world", [1, 10]]], nil, nil, nil, nil, nil, nil]],
[:bodystmt, [[:var_ref, [:@ident, "world", [1, 17]]]], nil, nil, nil]]]]
def <<(world) world; end
[:program,
[[:def,
[:@op, "<<", [1, 4]],
[:paren,
[:params, [[:@ident, "world", [1, 7]]], nil, nil, nil, nil, nil, nil]],
[:bodystmt, [[:var_ref, [:@ident, "world", [1, 14]]]], nil, nil, nil]]]]
```
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>