General

Profile

tenderlovemaking (Aaron Patterson)

Issues

Projects

Activity

05/19/2017

12:07 AM Ruby trunk Bug #13574 (Open): Method redefinition warning
Hi,
If I redefine a method like this, I get a warning:
~~~ruby
class Foo
def bar
end
end
class Foo
...

02/25/2017

12:19 AM Ruby trunk Feature #13252 (Assigned): C API for creating strings without copying
Hi,
I'd like to have a C API that allows me to create String objects without copying the underlying `char *`. Bas...

02/18/2017

01:55 AM Ruby trunk Bug #13223: `File.join` will segv if File::SEPARATOR and File::Separator are set.
@nobu I went by what the documentation says:
~~~
/*
* call-seq:
* File.join(string, ...) -> string
*...

02/17/2017

06:27 PM Ruby trunk Bug #13223 (Closed): `File.join` will segv if File::SEPARATOR and File::Separator are set.
The program below will crash with a segv:
~~~ruby
File.const_set :Separator, "hello"
File.const_set :SEPARATOR, ...

01/03/2017

06:24 PM Ruby trunk Feature #13067: TrueClass,FalseClass to provide `===` to match truthy/falsy values.
IMO the backwards incompatibility risks outweigh the rewards.
As Marc-Andre says, `array.grep(true)` and `array.gr...

12/02/2016

09:23 PM Ruby trunk Feature #13001 (Closed): Add `full` option to `ObjectSpace.dump_all`
I would like to include T_NONE slots in the `ObjectSpace.dump_all` outpout so that I can visualize heap fragmentation...

11/29/2016

05:29 PM Ruby trunk Bug #12988 (Closed): Calling `inspect` sometimes causes a segv
Should be fixed in r56938

11/28/2016

11:01 PM CommonRuby Feature #12732: An option to pass to `Integer`, `Float`, to return `nil` instead of raise an exce...
Hi,
> Is there any problem with the following code?
> Integer(str) rescue default_value
2 problems
1. It's ...
10:31 PM Ruby trunk Bug #12989 (Open): Passing `binmode: true` to `IO.pipe` makes `binmode?` return `true` but encodi...
Here is a sample program:
~~~ruby
Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encodi...
06:00 PM Ruby trunk Bug #12988 (Closed): Calling `inspect` sometimes causes a segv
`rb_obj_inspect` calls `rb_ivar_count ` to find the number of instance variables on an object. `rb_ivar_count` uses ...

Also available in: Atom