[#71439] [Ruby trunk - Feature #11339] [PATCH] io.c: avoid kwarg parsing in C API — matz@...
Issue #11339 has been updated by Yukihiro Matsumoto.
7 messages
2015/11/11
[#71473] Re: [Ruby trunk - Feature #11339] [PATCH] io.c: avoid kwarg parsing in C API
— Eric Wong <normalperson@...>
2015/11/13
Entire series for sockets
[#71450] Ruby 2.3.0-preview1 Released — "NARUSE, Yui" <naruse@...>
Hi,
5 messages
2015/11/11
[#71617] [Ruby trunk - Feature #11664] [PATCH] introduce rb_autoload_value to replace rb_autoload — nobu@...
Issue #11664 has been updated by Nobuyoshi Nakada.
3 messages
2015/11/20
[#71721] [Ruby trunk - Feature #11741] Migrate Ruby to Git from Subversion — me@...
Issue #11741 has been updated by Jon Moss.
4 messages
2015/11/28
[ruby-core:71583] [Ruby trunk - Bug #11714] [Open] `include Module` affects code scope of code loaded by require statements on Ruby 2.2+
From:
terceiro@...
Date:
2015-11-19 12:04:11 UTC
List:
ruby-core #71583
Issue #11714 has been reported by Antonio Terceiro. ---------------------------------------- Bug #11714: `include Module` affects code scope of code loaded by require statements on Ruby 2.2+ https://bugs.ruby-lang.org/issues/11714 * Author: Antonio Terceiro * Status: Open * Priority: Normal * Assignee: * ruby -v: ruby 2.3.0dev (2015-11-19 master 52671) [x86_64-linux] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- This seems to be a regression with Ruby 2.2 and beyond, I can still reproduce this in Ruby trunk from today. Ruby 2.1 works just fine. ~~~ $ cat /tmp/test.rb module MyThing class Date < String end end include MyThing require 'date' $ ruby2.1 /tmp/test.rb $ ruby2.2 /tmp/test.rb /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': superclass mismatch for class Date (TypeError) from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /usr/lib/ruby/2.2.0/date.rb:3:in `<top (required)>' from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /tmp/test.rb:7:in `<main>' [1]$ /var/tmp/ruby-trunk/bin/ruby /tmp/test.rb /var/tmp/ruby-trunk/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:54:in `require': superclass mismatch for class Date (TypeError) from /var/tmp/ruby-trunk/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /var/tmp/ruby-trunk/lib/ruby/2.3.0/date.rb:3:in `<top (required)>' from /var/tmp/ruby-trunk/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /var/tmp/ruby-trunk/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /tmp/test.rb:7:in `<main>' ~~~ -- https://bugs.ruby-lang.org/