General

Profile

floehopper (James Mead)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 3 3

Activity

03/18/2017

12:50 PM Ruby Bug #13276: Dir.glob returns empty array when OS has no more file handles (expected exception)
Bump? floehopper (James Mead)

03/03/2017

06:32 PM Ruby Bug #13276 (Closed): Dir.glob returns empty array when OS has no more file handles (expected exception)
The following terminal session demonstrates how `Dir.glob` returns an empty array when the OS has run out of file handles; whereas `File.new` raises a `Errno::EMFILE` exception.
I would expect `Dir.glob` to fail fast in a similar way ...
floehopper (James Mead)

11/01/2016

08:29 PM Ruby Bug #12832: Calling Object#method hangs for private method defined on module then made public once it's been used to extend class
@George: Thanks for explaining. Makes sense. floehopper (James Mead)
12:33 PM Ruby Bug #12832: Calling Object#method hangs for private method defined on module then made public once it's been used to extend class
@nobu: Is it possible there is a separate problem with the code such that interrupt signals are incorrectly being ignored...? floehopper (James Mead)
09:34 AM Ruby Bug #12832: Calling Object#method hangs for private method defined on module then made public once it's been used to extend class
@nobu: Thank you for fixing this. Is it expected that a bug like this would cause the interpreter not to accept interrupt signals? floehopper (James Mead)

10/27/2016

02:18 PM Ruby Bug #12876 (Closed): Calling new hangs Ruby when class prepends an empty module and makes initialize method public
```ruby
module Foo
end
class Bar
prepend Foo
public :initialize
end
p Bar.new # => hangs
```
## Runs OK
* ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin14.0]
* ruby 2.1.1p76 (2014-02-24 revision 45161) [...
floehopper (James Mead)

10/12/2016

02:22 PM Ruby Bug #12832: Calling Object#method hangs for private method defined on module then made public once it's been used to extend class
In case it helps, it seems as if Ruby v2.3 is "more" broken than earlier versions. If I remove the `Bar.method(:foo)` lookup *before* the `Baz` module is prepended, the final lookup still hangs in Ruby v2.3, but not in v2.2. See below:
...
floehopper (James Mead)

10/11/2016

06:45 PM Ruby Bug #12832 (Closed): Calling Object#method hangs for private method defined on module then made public once it's been used to extend class
~~~ ruby
module Foo
private
def foo
"foo"
end
end
class Bar
extend Foo
class << self
public :foo
end
end
Bar.foo # => "foo"
Bar.method(:foo) # => #<Method: Class(Bar)#foo>
module Baz
end
c...
floehopper (James Mead)

Also available in: Atom