Project

General

Profile

Activity

From 02/10/2013 to 02/16/2013

02/16/2013

10:29 PM Bug #7865 (Closed): A required file is not added to $LOADED_FEATURES until after it has run
=begin
Required files are not added to $LOADED_FEATURES until after they have been executed.
This is easily demon...
Anonymous
07:32 PM Feature #7816: Don't invalidate method caches when defining a new method on a class without subclasses
charliesome (Charlie Somerville) wrote:
> I have updated my patch to not clear the cache when a class is garbage col...
funny_falcon (Yura Sokolov)
06:31 PM Feature #7816: Don't invalidate method caches when defining a new method on a class without subclasses
I have updated my patch to not clear the cache when a class is garbage collected.
My reasoning is that if a class ...
Anonymous
03:53 PM Bug #7774 (Assigned): IFUNC上のbinding呼び出しでSEGV
反応が悪くて申し訳ないです。
先ほどコミットした r39275 になります。
SEGV はしませんが、若干の非互換となります。
ko1 (Koichi Sasada)
03:51 PM Bug #7774 (Closed): IFUNC上のbinding呼び出しでSEGV
This issue was solved with changeset r39275.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is...
ko1 (Koichi Sasada)
01:22 PM Bug #7859 (Assigned): Readline: Incorrect arrow key behavior in vi_editing_mode insert mode with Readline 6.2
nobu (Nobuyoshi Nakada)
04:20 AM Bug #7859 (Closed): Readline: Incorrect arrow key behavior in vi_editing_mode insert mode with Readline 6.2
=begin
I've discovered what I think is a bug in the (({Readline})) module in the standard library. When I am using (...
davidbalbert (David Albert)
12:46 PM Bug #7847 (Closed): gem release of io-console is broken on Windows
This issue was solved with changeset r39268.
Luis, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
12:45 PM Bug #7860 (Closed): Passing --libdir to ./configure causes Gem.ruby to point to an incorrect ruby interpreter path
This issue was solved with changeset r39267.
Chris, thank you for reporting this issue.
Your contribution to Ruby is ...
nobu (Nobuyoshi Nakada)
08:31 AM Bug #7860 (Closed): Passing --libdir to ./configure causes Gem.ruby to point to an incorrect ruby interpreter path
How I reproduce:
------------------------------------
```
# git clone git://github.com/ruby/ruby.git
# autoreco...
cwgem (Chris White)
04:55 AM Feature #7849: Symbol#to_str
The purpose of to_str, to_int, to_ary and to_sym are to convert string, integer, array and symbol representations to ... drbrain (Eric Hodel)
03:23 AM Feature #7701: Non-optional (required) keyword args
On Sat, Feb 16, 2013 at 01:18:03AM +0900, nobu (Nobuyoshi Nakada) wrote:
>
> Issue #7701 has been updated by no...
Anonymous
01:18 AM Feature #7701: Non-optional (required) keyword args
Just implemented to escape from reality. nobu (Nobuyoshi Nakada)

02/15/2013

09:58 PM Feature #7849: Symbol#to_str
=begin
@charliesome Actually, that's exactly what my proposal attempts to address. You don't always have a choice in...
trans (Thomas Sawyer)
09:24 PM Feature #7849: Symbol#to_str
> You cannot gsub, enumerate characters in or alter encoding of a Symbol, so it is not a string representation.
Th...
trans (Thomas Sawyer)
05:07 PM Bug #7758: Ruby on Windows crashes when active codepage is codepage 65001 and outputting unicode character
Seems nice.
nobu (Nobuyoshi Nakada)
02:29 PM Bug #7758: Ruby on Windows crashes when active codepage is codepage 65001 and outputting unicode character
Here is an equivalent patch for win32.c:
~~~diff
diff --git a/win32.c b/win32.c.new
index 984e03b..70af7f8 10064...
phasis68 (Heesob Park)
01:38 PM Bug #7758: Ruby on Windows crashes when active codepage is codepage 65001 and outputting unicode character
Although I can't reproduce it at all, I think it would be in
win32/win32.c but not in io.c.
nobu (Nobuyoshi Nakada)
05:05 PM Feature #7791: Let symbols be garbage collected
My definition of complicating the life of the core team is undertaking projects that are likely to cause bugs.
Tha...
Student (Nathan Zook)
03:25 PM Feature #7791: Let symbols be garbage collected
I don't think the goal is to simplify the life of ruby-core people.
I feel the goal is to have the best language p...
marcandre (Marc-Andre Lafortune)
08:57 AM Feature #7791: Let symbols be garbage collected
It seems to me that the motivation behind this proposal is to allow the interning of untrusted data to not affect the... Student (Nathan Zook)
01:58 PM Feature #7854: New method Symbol[string]
=begin
Ticket #7839 requires the manipulation of global state. I'm not sure why I have to explain that this is a RE...
Student (Nathan Zook)
12:58 PM Feature #7854: New method Symbol[string]
To make this proposal useful all existing libraries must be updated to use the method to create symbols.
Other pro...
drbrain (Eric Hodel)
10:55 AM Feature #7854: New method Symbol[string]
It could, but it would be extraordinarily slow, as all_symbols returns an array which is quite large in many applicat... Student (Nathan Zook)
10:34 AM Feature #7854: New method Symbol[string]
Note that this is closely related to #7795 (Symbol.defined? and/or to_existing_symbol)
In existing code, Symbol.[]...
phluid61 (Matthew Kerwin)
08:53 AM Feature #7854 (Closed): New method Symbol[string]
I propose a new class method [] on Symbol. If a symbol s already exists such that s.to_s == string, then s is return... Student (Nathan Zook)
12:20 PM Bug #7856: The usage of try_run in extconf.rb is broken when crosscompiling
The problem was reported here:
https://dev.openwrt.org/ticket/9873
The mkmf.log just shows that the "checking w...
luizluca (Luiz Angelo Daros de Luca)
11:16 AM Bug #7856 (Feedback): The usage of try_run in extconf.rb is broken when crosscompiling
Hello,
Can you tell us more details about the platform you're targeting? The compiler you're using and what platfo...
luislavena (Luis Lavena)
11:10 AM Bug #7856 (Closed): The usage of try_run in extconf.rb is broken when crosscompiling
Hello,
Every "try_run" inside extconf.rb (found in some ext/*/extconf.rb) tries to compile and run the generated b...
luizluca (Luiz Angelo Daros de Luca)
10:40 AM Feature #7839: Symbol.freeze_symbols
Student (Nathan Zook) wrote:
> +1 to prohibiting interning of tainted strings. Probably $SAFE >= 1, though. Curren...
shugo (Shugo Maeda)
08:58 AM Feature #7839: Symbol.freeze_symbols
Would my proposal #7854 not allow an easy and clean solution to this problem?
Student (Nathan Zook)
10:26 AM Bug #7855 (Closed): Rare segfault within yielding block
I'm getting a segfault every few days inside an enumerator yield block:
Enumerator.new do |y|
...
nathanaeljones (Nathanael Jones)
06:05 AM Feature #7836: Need a way to get Method and UnboundMethod objects to methods overridden by prepended modules
@ marcandre. Another possible approach is to provide `UnboundMethod#super`. We do something similar in our Method wra... banister (john mair)
12:57 AM Feature #7836 (Open): Need a way to get Method and UnboundMethod objects to methods overridden by prepended modules
Matz, could you please confirm?
I'm not sure what is the right approach. What should A.instance_method(:hello) ret...
marcandre (Marc-Andre Lafortune)
01:25 AM Bug #7844: include/prepend satisfiable module dependencies are not satisfied
As I stated before (#1586), I feel that the solution is easy:
~~~ruby
A.ancestors = [*A.prepended_modules.flat_ma...
marcandre (Marc-Andre Lafortune)
01:01 AM Bug #7842: An alias of a "prepend"ed method skips the original method when calling super
nobu (Nobuyoshi Nakada) wrote:
> Rather I expect [B, A] in this case.
You do?
There would be no way to safely ...
marcandre (Marc-Andre Lafortune)

02/14/2013

11:59 PM Bug #7842: An alias of a "prepend"ed method skips the original method when calling super
> Rather I expect [B, A] in this case.

Fine. I just wanted to point out the weird skipping.
(Actually, I exp...
mame (Yusuke Endoh)
04:14 PM Bug #7842: An alias of a "prepend"ed method skips the original method when calling super
Rather I expect [B, A] in this case. nobu (Nobuyoshi Nakada)
07:28 AM Bug #7842: An alias of a "prepend"ed method skips the original method when calling super
I agree, this can only be a bug. marcandre (Marc-Andre Lafortune)
06:59 PM Feature #4840 (Feedback): Allow returning from require
yhara (Yutaka HARA)
04:59 PM Bug #7758: Ruby on Windows crashes when active codepage is codepage 65001 and outputting unicode character
I think the above patch is problematic.
Here is another possible patch:
~~~diff
diff --git a/io.c b/io.c.new
...
phasis68 (Heesob Park)
10:17 AM Bug #7758: Ruby on Windows crashes when active codepage is codepage 65001 and outputting unicode character
phasis68 (Heesob Park) wrote:
> ~~~diff
> diff --git a/win32.c b/win32.c.new
> index 984e03b..b99e6ba 100644
> --...
h.shirosaki (Hiroshi Shirosaki)
01:19 PM Bug #7815 (Closed): Backport: Warning about TracePoint events to 2.0.0
Resolved by r39237 zzak (zzak _)
01:08 PM Feature #7849 (Rejected): Symbol#to_str
You cannot gsub, enumerate characters in or alter encoding of a Symbol, so it is not a string representation. drbrain (Eric Hodel)
10:36 AM Feature #7849: Symbol#to_str
Symbols are not Strings. I'm afraid this would only serve to blur the line even more.
Rubyists need to stop using...
Anonymous
10:14 AM Feature #7849: Symbol#to_str
> If, for your needs, you were to define to_st on String & on Symbol, you could have the utility you desire.
Yes, ...
trans (Thomas Sawyer)
09:49 AM Feature #7849: Symbol#to_str
Bad idea. to_str should only be defined on things that really are Strings, and Symbol are most definitely not String... Student (Nathan Zook)
04:46 AM Feature #7849 (Rejected): Symbol#to_str
Even though a Symbol is not technically an honest-to-goodness String, from the standpoint of simple practicality it w... trans (Thomas Sawyer)
11:53 AM Bug #7806: inconsistency between Method#inspect and Method#name
(13/02/14 10:38), ko1 (Koichi Sasada) wrote:
> Nobu, you add new method Method#original_name on r39223.
>
> C...
nobu (Nobuyoshi Nakada)
10:38 AM Bug #7806 (Open): inconsistency between Method#inspect and Method#name
Nobu, you add new method Method#original_name on r39223.
Could you explain about it, why and what?
I make the t...
ko1 (Koichi Sasada)
09:53 AM Feature #7839: Symbol.freeze_symbols
On Thursday, 14 February 2013 at 11:30 AM, Aaron Patterson wrote:
> Yes, this is probably not thread safe, but if ...
Anonymous
09:53 AM Feature #7839: Symbol.freeze_symbols
On Wed, Feb 13, 2013 at 10:08:28AM +0900, Eric Wong wrote:
> "tenderlovemaking (Aaron Patterson)" <aaron@tenderlov...
Anonymous
09:53 AM Feature #7839: Symbol.freeze_symbols
On Wed, Feb 13, 2013 at 01:10:24PM +0900, shugo (Shugo Maeda) wrote:
>
> Issue #7839 has been updated by shugo ...
Anonymous
09:53 AM Feature #7839: Symbol.freeze_symbols
On Wed, Feb 13, 2013 at 05:15:25PM +0900, alexeymuranov (Alexey Muranov) wrote:
>
> Issue #7839 has been update...
Anonymous
09:00 AM Feature #7839: Symbol.freeze_symbols
+1 to prohibiting interning of tainted strings. Probably $SAFE >= 1, though. Currently, this is a problem for $SAFE... Student (Nathan Zook)
08:23 AM Feature #7791: Let symbols be garbage collected
(2013/02/14 1:38), Evan Phoenix wrote:
> I have a worry about Koichi's approach. There are going to have to be
>...
ko1 (Koichi Sasada)
01:53 AM Feature #7791: Let symbols be garbage collected
I have a worry about Koichi's approach. There are going to have to be places where (b) type Symbols are converted in... evanphx (Evan Phoenix)
07:31 AM Bug #7850: Gem::Dependency.new( Symbol ) is deprecated?
すいません、rubygems自体は別のコードベースなのですね。rubygemsのほうで調べる/報告してみます。
お騒がせいたしました・・・
konh (Makoto HARADA)
05:30 AM Bug #7850 (Third Party's Issue): Gem::Dependency.new( Symbol ) is deprecated?
Gem::Dependency.new の第一引数が Symbol だった場合、1.9だと問題ありませんが2.0だと例外が投げられます。
これは、想定された非互換でしょうか?
以下が再現コードです。
$ ruby2.0 ...
konh (Makoto HARADA)
07:13 AM Bug #7784 (Closed): [mingw] r39055 creates test failures and functionality loss
drbrain (Eric Hodel)
07:10 AM Bug #7838 (Closed): Backport r39213 to Ruby 2.0.0 which fixes intermittent test failures
Fixed by r39229 drbrain (Eric Hodel)
07:10 AM Bug #7809 (Closed): Backport RubyGems fixes in r39166 to ruby 2.0.0
Fixed by r39227 drbrain (Eric Hodel)
04:41 AM Feature #7848 (Assigned): Restore default state for core ruby objects
Hi.
Consider:
class String
def lala
puts 'Running lala() from class String.'
end
end
T...
shevegen (Robert A. Heiler)
03:33 AM Feature #7846: [ext/openssl] Disable TLS/SSL compression by default?
mame (Yusuke Endoh) wrote:
> Thank you for contacting me.
>
> Sorry, but it is too late for 2.0.0. Marking the t...
MartinBosslet (Martin Bosslet)
03:02 AM Feature #7846 (Assigned): [ext/openssl] Disable TLS/SSL compression by default?
Thank you for contacting me.
Sorry, but it is too late for 2.0.0. Marking the target to next minor.
I'm not ag...
mame (Yusuke Endoh)
01:24 AM Feature #7846 (Closed): [ext/openssl] Disable TLS/SSL compression by default?
I'd like to disable TLS compression for all TLS connections by default using SSL_OP_NO_COMPRESSION
to effectively di...
MartinBosslet (Martin Bosslet)
03:06 AM Bug #7847 (Closed): gem release of io-console is broken on Windows
Nobu-san,
Lot of folks are having issues with latest io-console gem that got released:
https://github.com/nobu/...
luislavena (Luis Lavena)
12:48 AM Bug #7541: Can't use Ruby 2.0.0 as as BASERUBY
=begin
I was able to build ruby:
$ tool/make-snapshot tmp branches/ruby_2_0_0
using
ruby 2.0.0dev (2013-0...
vo.x (Vit Ondruch)
12:27 AM Feature #7845 (Open): Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
Strip and associated methods in ruby 1.9.2 and 1.9.3 do not remove leading/trailing unicode space characters (such as... timothyg56 (Timothy Garnett)

02/13/2013

11:38 PM Bug #7844: include/prepend satisfiable module dependencies are not satisfied
matz (Yukihiro Matsumoto) wrote:
> I believe the behavior is undefined (or implementation defined) when module depen...
mame (Yusuke Endoh)
11:23 PM Bug #7844: include/prepend satisfiable module dependencies are not satisfied
I believe the behavior is undefined (or implementation defined) when module dependency has contradiction.
And prefer...
matz (Yukihiro Matsumoto)
10:55 PM Bug #7844 (Closed): include/prepend satisfiable module dependencies are not satisfied
Hello,
~~~ruby
module P
def m; puts "P"; super; end
end
module Q
def m; puts "Q"; super; end
include P...
mame (Yusuke Endoh)
11:28 PM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
Hi,
ko1 (Koichi Sasada) wrote:
>
> (2013/02/13 14:49), sunaku (Suraj Kurapati) wrote:
> > Ruby must also be b...
sunaku (Suraj Kurapati)
03:53 PM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
Hi,

(2013/02/13 14:49), sunaku (Suraj Kurapati) wrote:
> ko1 (Koichi Sasada) wrote:
>>> 1. Cannot bind Rub...
ko1 (Koichi Sasada)
02:49 PM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
ko1 (Koichi Sasada) wrote:
> > 1. Cannot bind Ruby to a pre-allocated stack address range.
>
> I'm not sure what...
sunaku (Suraj Kurapati)
08:45 AM Feature #2294 (Assigned): [PATCH] ruby_bind_stack() to embed Ruby in coroutine
> 1. Cannot bind Ruby to a pre-allocated stack address range.
I'm not sure what you are saying. `ucontext' versio...
ko1 (Koichi Sasada)
07:28 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
Hello ko1,
Thanks for committing changeset r38905 into Ruby 2.0.0-rc2.
But, I am seeing the following problems ...
sunaku (Suraj Kurapati)
10:53 PM Bug #7842 (Closed): An alias of a "prepend"ed method skips the original method when calling super
Hello,
~~~ruby
module P
def m; puts "P"; super; end
end
class A
def m; puts "A"; end
end
...
mame (Yusuke Endoh)
10:19 PM Bug #7840 (Closed): -Wdeclaration-after-statement is valid for C/ObjC but not for C++
because of the new flags in warnflags i get this following errors:
cc1plus: warning: command line option '-Wdeclar...
Hanmac (Hans Mackowiak)
07:28 PM Bug #7758: Ruby on Windows crashes when active codepage is codepage 65001 and outputting unicode character
Usa-san, thank you for the information!
Luis, could you please commit it to both trunk and ruby_2_0_0 branch?
-...
mame (Yusuke Endoh)
04:30 PM Bug #7758: Ruby on Windows crashes when active codepage is codepage 65001 and outputting unicode character
Sorry for late reply, luis.
Please commit it to trunk.
mame-san, this is reproducible SEGV bug.
So I think we ne...
usa (Usaku NAKAMURA)
06:53 PM Bug #7820: Let's decide Ruby 2.0 supported platform list
Hello,

In message "[ruby-core:52116] [ruby-trunk - Bug #7820] Let&#x27;s decide Ruby 2.0 supported platform lis...
usa (Usaku NAKAMURA)
06:46 PM Bug #7833 (Assigned): DRb has problems with BasicObject
usa (Usaku NAKAMURA)
06:38 PM Feature #7836 (Closed): Need a way to get Method and UnboundMethod objects to methods overridden by prepended modules
This issue was solved with changeset r39224.
john, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
06:32 PM Feature #7836: Need a way to get Method and UnboundMethod objects to methods overridden by prepended modules
It's a bug. nobu (Nobuyoshi Nakada)
02:40 AM Feature #7836 (Closed): Need a way to get Method and UnboundMethod objects to methods overridden by prepended modules
See the following code:
~~~ruby
module P
def hello
puts "from P"
super
end
end
class A
def...
banister (john mair)
06:28 PM Bug #7822 (Assigned): Dir.mkdir can't handle long Windows Unicode paths (\\?\UNC\)
usa (Usaku NAKAMURA)
06:28 PM Bug #7821 (Assigned): FileUtils.mkdir_p fails on Windows Unicode paths (\\?\UNC\) if dir already exists
usa (Usaku NAKAMURA)
06:18 PM Bug #7838 (Assigned): Backport r39213 to Ruby 2.0.0 which fixes intermittent test failures
Eric,
I don't know the issue at all, but I believe you. Please go ahead.
(I'm happy if you provided the ticket #...
mame (Yusuke Endoh)
06:09 AM Bug #7838 (Closed): Backport r39213 to Ruby 2.0.0 which fixes intermittent test failures
r39213 sets the encoding of strings returned by Gem.gzip and Gem.gunzip to BINARY.
This fixes intermittent test fa...
drbrain (Eric Hodel)
06:10 PM Bug #7806 (Closed): inconsistency between Method#inspect and Method#name
This issue was solved with changeset r39222.
Hans, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
05:59 PM Feature #6111: Request for making ruby multiarchable

it seems to be broken:
make[2]: Entering directory `/home/hanmac/Downloads/ruby/ext/mathn/complex'
linking sh...
Hanmac (Hans Mackowiak)
05:38 PM Bug #7774 (Assigned): IFUNC上のbinding呼び出しでSEGV
ko1 (Koichi Sasada)
05:14 PM Feature #7839: Symbol.freeze_symbols
Sorry about a naïve idea, but what would you say about prohibiting interning tainted strings instead? alexeymuranov (Alexey Muranov)
02:15 PM Feature #7839: Symbol.freeze_symbols
Creating global state has global implications. Yes, there are threading implications. Yes, there are issues with ca... Student (Nathan Zook)
01:10 PM Feature #7839: Symbol.freeze_symbols
> > If this is a main use case of Symbol.freeze_symbols, it might be better to have String#intern's option to contro... shugo (Shugo Maeda)
12:23 PM Feature #7839: Symbol.freeze_symbols
On Wed, Feb 13, 2013 at 11:16:31AM +0900, shugo (Shugo Maeda) wrote:
>
> Issue #7839 has been updated by shugo ...
Anonymous
11:16 AM Feature #7839: Symbol.freeze_symbols
phluid61 (Matthew Kerwin) wrote:
> Also, would you expect to be able to thaw it out again? It might be enough in th...
shugo (Shugo Maeda)
10:39 AM Feature #7839: Symbol.freeze_symbols
normalperson (Eric Wong) wrote:
> "tenderlovemaking (Aaron Patterson)" <[email protected]> wrote:
> > I'd...
phluid61 (Matthew Kerwin)
10:25 AM Feature #7839: Symbol.freeze_symbols
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> yeah, but if Rails calls Symbol.freeze_symbols it could break all Rails...
phluid61 (Matthew Kerwin)
10:23 AM Feature #7839: Symbol.freeze_symbols
"tenderlovemaking (Aaron Patterson)" <[email protected]> wrote:
> I'd like to be able to call a method li...
normalperson (Eric Wong)
09:55 AM Feature #7839: Symbol.freeze_symbols
yeah, but if Rails calls Symbol.freeze_symbols it could break all Rails applications relying on YAML#load as an unmar... rosenfeld (Rodrigo Rosenfeld Rosas)
09:36 AM Feature #7839: Symbol.freeze_symbols
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> Could you please explain better why do you think it is ok to freeze sym...
phluid61 (Matthew Kerwin)
08:56 AM Feature #7839: Symbol.freeze_symbols
I really believe that letting the symbols to be garbage collected (#7791) is the way to go here.
You have mentione...
rosenfeld (Rodrigo Rosenfeld Rosas)
06:37 AM Feature #7839 (Rejected): Symbol.freeze_symbols
Hi,
On team Rails, we're having troubles with Symbol creation DoS attacks. From our perspective, there should be ...
tenderlovemaking (Aaron Patterson)
04:00 PM Feature #4614 (Closed): [RFC/PATCH] thread_pthread.c: lower RUBY_STACK_MIN_LIMIT to 64K
Sorry I missed your comment.
And the `if false' sentences may be removed.
ko1 (Koichi Sasada)
03:58 PM Feature #7473 (Closed): new events for TracePoint thread_begin/end, b_call/b_end
No feedback and it is already in rc2.
ko1 (Koichi Sasada)
03:57 PM Bug #7416 (Closed): test-all crashes with mysterious message
No feedback. ko1 (Koichi Sasada)
03:57 PM Bug #7212 (Closed): "stack level too deep" in Fiber much earlier in new versions of 1.9.3
No feedback. ko1 (Koichi Sasada)
03:55 PM Bug #7356: ruby-2.0.0-preview1 で adlint-2.6.10 が性能劣化
放っておいてすみません。
もうちょっと見ないとわからんですねぇ。
というわけで、次のバージョンで頑張りましょう。
ko1 (Koichi Sasada)
02:39 PM Bug #7837 (Rejected): IO.open with three arguments where third argument is bogus reports an arity problem instead of type problem
=begin
It's common behavior to keyword arguments,
$ ruby -e 'def foo(a, b, c:1);end' -e 'foo(2,3,42)'
-e:1:in `f...
nobu (Nobuyoshi Nakada)
05:14 AM Bug #7837: IO.open with three arguments where third argument is bogus reports an arity problem instead of type problem
=begin
Since Ruby 1.9.3p374 has the same behavior I have marked this for next minor:
$ ruby19 -ve 'f = File.ope...
drbrain (Eric Hodel)
03:44 AM Bug #7837 (Rejected): IO.open with three arguments where third argument is bogus reports an arity problem instead of type problem
I am reporting this against 2.0.rc2 but it also applies to mri 1.9.3. If I run the following one-liner:
mri20 -e ...
enebo (Thomas Enebo)
02:59 AM Bug #7829: Rounding error in Ruby Time
On Feb 12, 2013, at 12:51 AM, loirotte (Philippe Dosch) wrote:

> Improve the documentation makes sense, but is th...
david_macmahon (David MacMahon)

02/12/2013

10:38 PM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
+1 for removing autoload. It not only has troubles with thread safety, which I believe is fixable (although I confess... rosenfeld (Rodrigo Rosenfeld Rosas)
10:37 PM Feature #7835: autoload will be dead
Thanks, Yusuke! I tried to search it on Redmine but I couldn't easily find it nor I could filter for issues created b... rosenfeld (Rodrigo Rosenfeld Rosas)
10:32 PM Feature #7835 (Rejected): autoload will be dead
Matz created #5653 by himself. Please reply into that ticket :-)
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
10:26 PM Feature #7835: autoload will be dead
+1 for removing autoload. It not only has troubles with thread safety, which I believe is fixable (although I confess... rosenfeld (Rodrigo Rosenfeld Rosas)
10:26 PM Feature #7835 (Rejected): autoload will be dead
A while ago matz declared his intention to remove the autoload feature from the Ruby language. It was sent to the rub... rosenfeld (Rodrigo Rosenfeld Rosas)
07:48 PM Bug #7833 (Closed): DRb has problems with BasicObject
I realized some problems with DRb and BasicObject
1) I cannot create front object of BasicObject class because DRb t...
prijutme4ty (Ilya Vorontsov)
05:58 PM Bug #7829: Rounding error in Ruby Time
akr (Akira Tanaka) wrote:
> 2. Time.strftime("%L") doesn't round, but floor.
>
> %L (and %N) in Time.strftime ...
loirotte (Philippe Dosch)
05:51 PM Bug #7829: Rounding error in Ruby Time
drbrain (Eric Hodel) wrote:
> Seems like %L uses floor, not rounding should be documented so I'll switch this to a D...
loirotte (Philippe Dosch)
10:48 AM Bug #7829: Rounding error in Ruby Time
Seems like %L uses floor, not rounding should be documented so I'll switch this to a DOC ticket. drbrain (Eric Hodel)
09:53 AM Bug #7829: Rounding error in Ruby Time
2013/2/12 loirotte (Philippe Dosch) <[email protected]>:

> Bug #7829: Rounding error in Ruby Time
> https://...
akr (Akira Tanaka)
05:52 AM Bug #7829 (Closed): Rounding error in Ruby Time
Even if I know the precision errors related to the implementation of IEEE 754 floating values, I'm very surprised of:... loirotte (Philippe Dosch)
12:18 PM Bug #7828 (Closed): invalid glibcver in test_m17n_comb.rb:test_str_crypt fails 2.17 system
This issue was solved with changeset r39209.
Jon, thank you for reporting this issue.
Your contribution to Ruby is gr...
naruse (Yui NARUSE)
04:31 AM Bug #7828 (Closed): invalid glibcver in test_m17n_comb.rb:test_str_crypt fails 2.17 system
On my Arch 3.7.6 32bit system with a 2.17 libc, the following line in `test_m17n_comb.rb:test_str_crypt` causes the t... jonforums (Jon Forums)
11:19 AM Bug #5811 (Closed): Ruby Process Deadlocks With Fork on Mac OS X Lion
OK. then I will close this ticket.
Please reopen this if anyone hit the same issue on 2.0 or trunk.
kosaki (Motohiro KOSAKI)
09:50 AM Bug #7827 (Rejected): Allow users to yield a block in string format
Adding it as a standard feature requires Ruby to hold source information, that leads to memory consumption.
You migh...
matz (Yukihiro Matsumoto)
02:47 AM Bug #7827 (Rejected): Allow users to yield a block in string format
Hi.
Not long ago I realized that you can use "invalid" syntax inside a ruby block.
For instance:
def foo; en...
shevegen (Robert A. Heiler)
09:23 AM Feature #7792: Make symbols and strings the same thing
On Feb 8, 2013, at 4:50 PM, Eric Hodel wrote:

> On Feb 7, 2013, at 17:37, David MacMahon <[email protected]...
david_macmahon (David MacMahon)

02/11/2013

10:23 PM Bug #7823: sitelibへのsoのコピー (2.0.0)
artonです。

trunk(r39202)で試してみました。
以下のように、i386-msvcr100がsitearchdirとなり、(当然ですが一応試した)
setup.rbでインストールしたsoがrequir...
arton (Akio Tajima)
10:17 PM Bug #7823: sitelibへのsoのコピー (2.0.0)
arton さん、確認ありがとうございます。
なかださん、ruby_2_0_0 にバックポートしてくださいますでしょうか。
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
03:23 PM Bug #7823: sitelibへのsoのコピー (2.0.0)
arton さん、
r39201 と r39202 で望みの挙動になっているか一応確認してもらえませんでしょうか。
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
01:20 PM Bug #7823 (Assigned): sitelibへのsoのコピー (2.0.0)
nobu (Nobuyoshi Nakada)
01:15 PM Bug #7823 (Closed): sitelibへのsoのコピー (2.0.0)
This issue was solved with changeset r39201.
Akio, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
07:53 PM Bug #7807: [PATCH] Remove duplicated load paths when empty version string is configured
Note that in 1.8.7 days, there was used also different, more generic approach [1] to remove duplicated load paths. Ho... vo.x (Vit Ondruch)
08:07 AM Bug #7807 (Open): [PATCH] Remove duplicated load paths when empty version string is configured
Could you please explain? Why r39171 instead of applying my patch? Why there should be version in the path? Actually ... vo.x (Vit Ondruch)
09:43 AM Bug #7781: Ruby fails make test on Cygwin for test_io.rb.
I found a solution to the stack error: http://stackoverflow.com/a/14790573/148844
starrychloe (Chloe S)
06:53 AM Bug #7820: Let's decide Ruby 2.0 supported platform list
"mame (Yusuke Endoh)" <[email protected]> wrote:
> * maintained
> * CentOS5 (Eric Wong)

Sorry I can't guaran...
normalperson (Eric Wong)
06:23 AM Bug #7820: Let's decide Ruby 2.0 supported platform list
Dne 10.2.2013 21:50, Luis Lavena napsal(a):
> On Sun, Feb 10, 2013 at 4:19 PM, Vít Ondruch <[email protected]> w...
Anonymous
05:53 AM Bug #7820: Let's decide Ruby 2.0 supported platform list
On Sun, Feb 10, 2013 at 4:19 PM, Vít Ondruch <[email protected]> wrote:
> Dne 10.2.2013 13:01, mame (Yusuke Endoh...
luislavena (Luis Lavena)
04:23 AM Bug #7820: Let's decide Ruby 2.0 supported platform list
Dne 10.2.2013 13:01, mame (Yusuke Endoh) napsal(a):
> > * 3rd Party: best-effort support by members of the rub...
Anonymous
03:09 AM Bug #7820: Let's decide Ruby 2.0 supported platform list
> Actually:
>
> * mingw (nobu)
>
> Is more nobu, h.shirosaki and myself (luislavena) who care about Ruby be s...
jonforums (Jon Forums)
01:42 AM Bug #7820: Let's decide Ruby 2.0 supported platform list
Actually:
* mingw (nobu)
Is more nobu, h.shirosaki and myself (luislavena) who care about Ruby be stable and ...
luislavena (Luis Lavena)
12:21 AM Bug #7820: Let's decide Ruby 2.0 supported platform list
> I've created a draft page of the supported list:
> https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/20Supported...
jonforums (Jon Forums)
04:50 AM Bug #7824 (Closed): [PATCH] Fix FileUtils.rmdir :parents option
This patch also applies cleanly against ruby_1_9_3 and ruby_1_9_2. iosctr (Brian Burns)
02:30 AM Bug #7817: (Unable to compile Ruby 2.0.0-rc2 on OSX (clang version 2.1)
I believe I did compile rc1 successfully but I can't reproduce since I have updated clang, chances are it probably do... injekt (Lee Jarvis)

02/10/2013

10:35 PM Bug #7805 (Feedback): ruby 2.0rc2 core on solaris
ngoto (Naohisa Goto)
10:34 PM Bug #7805: ruby 2.0rc2 core on solaris
I couldn't reproduce it on SPARC Solaris10.
Please show config.log, .ext/include/i386-solaris2.10/ruby/config.h, a...
ngoto (Naohisa Goto)
10:34 PM Feature #7816: Don't invalidate method caches when defining a new method on a class without subclasses
charliesome (Charlie Somerville) wrote:
> I think it should stay in include/ruby/ruby.h where all the other
> flags...
nobu (Nobuyoshi Nakada)
09:58 PM Feature #7816: Don't invalidate method caches when defining a new method on a class without subclasses
Thanks for the feedback nobu.
> * RCLASS_INHERITED flag should go to internal.h.
I think it should stay in incl...
Anonymous
09:34 PM Feature #7816: Don't invalidate method caches when defining a new method on a class without subclasses
=begin
Nice.
My thoughts are:
* RCLASS_INHERITED flag should go to internal.h.
* Class#has_subclass? is not only us...
nobu (Nobuyoshi Nakada)
10:33 AM Feature #7816: Don't invalidate method caches when defining a new method on a class without subclasses
marcandre (Marc-Andre Lafortune) wrote:
> I'd split the new API from the patch; personally I'm not convinced of the ...
Anonymous
10:19 AM Feature #7816: Don't invalidate method caches when defining a new method on a class without subclasses
marcandre (Marc-Andre Lafortune) wrote:
> It would have been great to get this in 2.0.0
Do not kamikaze!
--
...
mame (Yusuke Endoh)
09:46 AM Feature #7816: Don't invalidate method caches when defining a new method on a class without subclasses
Speed boosts sounds awesome, especially the 15% rails bootup time, since the example is a bit contrived.
It would ...
marcandre (Marc-Andre Lafortune)
02:53 AM Feature #7816: Don't invalidate method caches when defining a new method on a class without subclasses
(2013/02/10 2:13), charliesome (Charlie Somerville) wrote:
> In my testing, a fresh Rails app boots about 15% fast...
ko1 (Koichi Sasada)
02:13 AM Feature #7816 (Closed): Don't invalidate method caches when defining a new method on a class without subclasses
=begin
Attached is a patch that avoids incrementing the VM state version when defining a method and these conditions...
Anonymous
09:57 PM Bug #7823 (Assigned): sitelibへのsoのコピー (2.0.0)
そこはsitearchでないといけないので、明らかにバグです。 nobu (Nobuyoshi Nakada)
09:55 PM Bug #7823 (Closed): sitelibへのsoのコピー (2.0.0)
artonです。

ruby-2.0.0-rc2を試していて気付いたのですが、setup.rbで拡張ライブラリをコ
ピーするとrequireに失敗します。
それが2.0.0で導入される非互換によるもの(=setup....
arton (Akio Tajima)
09:17 PM Bug #7819 (Closed): configure script doesn't recognize valid options
You're right, it's just a warning.
Or, just use only --with-opt-dir=/usr/local instead.
nobu (Nobuyoshi Nakada)
06:25 AM Bug #7819 (Closed): configure script doesn't recognize valid options
When configuring the latest version of Ruby, the configure script issues warnings about "unrecognized" but valid (?) ... telemachus (Peter Aronoff)
09:01 PM Bug #7820: Let's decide Ruby 2.0 supported platform list
Thank you for your comments.
I've created a draft page of the supported list:
https://bugs.ruby-lang.org/projects...
mame (Yusuke Endoh)
06:59 PM Bug #7820: Let's decide Ruby 2.0 supported platform list
On Sat, Feb 9, 2013 at 8:11 PM, jonforums (Jon Forums)
<[email protected]> wrote:
>
> Issue #7820 has been up...
kosaki (Motohiro KOSAKI)
10:11 AM Bug #7820: Let's decide Ruby 2.0 supported platform list
A great idea to simplify and clarify!
Perhaps listing support tiers instead of "well-cared" and "maintained"?
* T...
jonforums (Jon Forums)
09:06 AM Bug #7820 (Closed): Let's decide Ruby 2.0 supported platform list
I'm sorry I didn't talk about Ruby 2.0 supported platforms earlier.
At first, I think that the primary purpose of ...
mame (Yusuke Endoh)
06:53 PM Bug #7817: (Unable to compile Ruby 2.0.0-rc2 on OSX (clang version 2.1)
> clang -v returns
>
> Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn)
> Target: x86...
kosaki (Motohiro KOSAKI)
09:13 AM Bug #7817 (Feedback): (Unable to compile Ruby 2.0.0-rc2 on OSX (clang version 2.1)
Thank you for your report. Were you able to compile rc1 successfully?
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
03:54 AM Bug #7817 (Rejected): (Unable to compile Ruby 2.0.0-rc2 on OSX (clang version 2.1)
clang -v returns
Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn)
Target: x86_64-apple-d...
injekt (Lee Jarvis)
04:32 PM Bug #7815: Backport: Warning about TracePoint events to 2.0.0
Looks good to me. Go ahead. Thank you!
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
02:43 PM Bug #7815 (Assigned): Backport: Warning about TracePoint events to 2.0.0
It is as Koichi-san says, I don't mean to deprecate Kernel#set_trace_func. Only to advise users to try TracePoint for... zzak (zzak _)
01:53 PM Bug #7815: Backport: Warning about TracePoint events to 2.0.0
(2013/02/10 10:19), mame (Yusuke Endoh) wrote:
>> > If you'd like I can supply a patch only for warning on TracePo...
ko1 (Koichi Sasada)
10:18 AM Bug #7815: Backport: Warning about TracePoint events to 2.0.0
zzak (Zachary Scott) wrote:
> In my opinion Kernel#set_trace_func is obsolete, because it's an older and outdated AP...
mame (Yusuke Endoh)
09:48 AM Bug #7815: Backport: Warning about TracePoint events to 2.0.0
Thank you for the review Yusuke-san!
In my opinion Kernel#set_trace_func is obsolete, because it's an older and ou...
zzak (zzak _)
09:24 AM Bug #7815: Backport: Warning about TracePoint events to 2.0.0
Almost okay (because of only rdoc fix) but the line may matter:
> + * *Note:* this method is obsolete, please use...
mame (Yusuke Endoh)
01:05 AM Bug #7815: Backport: Warning about TracePoint events to 2.0.0
mame-san:
This additional document is important to avoid future compatibility issue.
>+ * *Note* do not dep...
ko1 (Koichi Sasada)
01:01 AM Bug #7815 (Closed): Backport: Warning about TracePoint events to 2.0.0
Can we please backport r39168 to 2_0_0 branch?
https://github.com/ruby/ruby/commit/810516e
and
https://github.co...
zzak (zzak _)
01:36 PM Bug #7822 (Rejected): Dir.mkdir can't handle long Windows Unicode paths (\\?\UNC\)
Code:
Dir.mkdir "//?/C:/" + "test" * 100
What I expected:
Ruby will create directory //?/C:/testtesttesttest...
shyxormz (Patrick Pokatilo)
01:30 PM Bug #7821 (Rejected): FileUtils.mkdir_p fails on Windows Unicode paths (\\?\UNC\) if dir already exists
Code:
FileUtils.mkdir_p "//?/C:/test"
FileUtils.mkdir_p "//?/C:/test"
What I expected:
Ruby will create d...
shyxormz (Patrick Pokatilo)
11:21 AM Bug #7818 (Closed): Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.
Alright, closed. Thanks Mark, for sorting this out! MartinBosslet (Martin Bosslet)
09:06 AM Bug #7818: Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.
@Martin, you can close this. I think the issue is that the openssl 1.0.1d bundled with rbenv couldn't find it's cacer... agileanimal (Mark Madsen)
07:33 AM Bug #7818: Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.
I am building ruby with 1.0.1d on something that is not a Mac right now and will report back the results. agileanimal (Mark Madsen)
06:48 AM Bug #7818: Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.
I was seeing it fail when it tries to validate without a cacert.pem for openssl - but in this case shouldn't it fall ... agileanimal (Mark Madsen)
05:56 AM Bug #7818: Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.
This is working for me:
2.0.0-rc2 ~ ruby -ropenssl -e 'puts RUBY_DESCRIPTION, OpenSSL::OPENSSL_VERSION'
ruby 2.0....
bitsweat (Jeremy Daer)
05:30 AM Bug #7818 (Assigned): Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.
MartinBosslet (Martin Bosslet)
05:08 AM Bug #7818 (Closed): Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.
=begin
Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.
It works as expected on 1.0.1c
When used with 1.0...
agileanimal (Mark Madsen)
09:53 AM Bug #7774: IFUNC上のbinding呼び出しでSEGV
どの reversion をバックポートするという話?

rc1 からの regression ならまあいいと思いますが、
修正が大きいと後ろ向きになるかも。


2013年2月9日 17:14 SASADA...
mame (Yusuke Endoh)
09:10 AM Bug #7656 (Closed): Handful of documentations
This issue was solved with changeset r39180.
Vincent, thank you for reporting this issue.
Your contribution to Ruby i...
zzak (zzak _)
09:03 AM Bug #7809: Backport RubyGems fixes in r39166 to ruby 2.0.0
Okay, please commit your second patch. Thank you!
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
03:54 AM Bug #7809: Backport RubyGems fixes in r39166 to ruby 2.0.0
The change to lib/rubygems/package/old.rb is not critical. It suppresses a warning almost nobody will ever see and f... drbrain (Eric Hodel)
 

Also available in: Atom