General

Profile

kernigh (George Koehler)

  • Login: kernigh
  • Email: [email protected]
  • Registered on: 03/03/2009
  • Last sign in: 03/11/2025

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 13 13

Activity

12/28/2019

04:21 AM Ruby Feature #6810: `module A::B; end` is not equivalent to `module A; module B; end; end` with respect to constant lookup (scope)
My oldest Ruby 1.8.2 (2004-12-25) also says `A::B.f # => 1` for that example. That Ruby is 15 years old. The example showing `A::B.f # => 0` is 7 years old. I suspect that `A::B.f # => 0` was a copy mistake, and Ruby always had `A::B.... kernigh (George Koehler)

10/24/2019

02:37 AM Ruby Bug #16251: Evaluation in binding differs from ruby execution
This is a simpler example of the behavior:
```
$ ruby -e 'p x; x = 6'
Traceback (most recent call last):
-e:1:in `<main>': undefined local variable or method `x' for main:Object (NameError)
$ ruby -e 'p eval("x"); x = 6'
nil
$ r...
kernigh (George Koehler)

09/25/2018

03:02 AM Ruby Bug #15154 (Closed): OpenBSD make(1) can't build node_name.inc
The [make(1)](https://man.openbsd.org/make) command in OpenBSD can't build node_name.inc of Ruby trunk in an out-of-source build. GNU make works. OpenBSD make misses node.h in the source directory, and tries to use node.h in the build ... kernigh (George Koehler)

10/16/2017

02:43 AM Ruby Feature #14007: open mode 'x' to raise error if file exists
Sorry, I didn't know that feature #11258 existed. I might have searched bugs.ruby-lang.org for "open mode" but not looked through the long list of results. kernigh (George Koehler)

10/12/2017

10:30 PM Ruby Bug #14004: ri confused by method aliases and by Queue versus Thread::Queue
rdoc also confuses class Gem::RDoc with class RDoc. The command `ri RDoc` shows the description of both Gem::RDoc and RDoc as if they were one class. The command `ri Gem::RDoc` says, "Nothing known about Gem::RDoc". The HTML from `make h... kernigh (George Koehler)
03:46 AM Ruby Bug #14004: ri confused by method aliases and by Queue versus Thread::Queue
I run `make html` in my build of Ruby trunk.
This puts the HTML in .ext/html,
so I run `firefox .ext/html/index.html` to view it.
I can confirm that the HTML docs do understand most aliases. For example, Array#append says, *Alias fo...
kernigh (George Koehler)
03:14 AM Ruby Feature #14007 (Closed): open mode 'x' to raise error if file exists
I propose (and attach a patch) to add a mode 'x' for Kernel#open, File.open, and similar methods. Mode 'wx' or 'ax' would create a new file, or raise an error if the file exists. Mode 'x' would be a shortcut for IO::EXCL. It would work l... kernigh (George Koehler)

10/11/2017

09:56 PM Ruby Bug #14004 (Closed): ri confused by method aliases and by Queue versus Thread::Queue
`ri` in Ruby trunk fails to find documentation for some methods.
Array#append and Array#prepend are new in trunk. ri knows that these methods exist, but has no document for them.
```
$ ri Array#append
= Array#append
(from ru...
kernigh (George Koehler)

10/07/2017

01:25 AM Ruby Feature #13936: Make regular expressions debugable
Do other languages, like Perl, have a feature for debugging regular expressions? kernigh (George Koehler)
01:12 AM Ruby Bug #13966: configure.in still needed ?!
The file ext/rbconfig/sizeof/depend should contain the string "configure.ac", not "configure.in". This was changed by git commit 3133a5c (svn r60062). I wonder if your copy of that file is too old?
kernigh (George Koehler)

Also available in: Atom