headius (Charles Nutter)
- Login: headius
- Email: headius@headius.com
- Registered on: 12/16/2008
- Last sign in: 08/11/2025
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 22 | 22 |
| Reported issues | 19 | 93 | 112 |
Projects
| Project | Roles | Registered on |
|---|---|---|
| Ruby | Committer | 12/13/2012 |
Activity
08/11/2025
-
08:27 PM Ruby Bug #21151: IO and StringIO raise FrozenError even for read-only methods
- Edit: previously I referred to non-writable state, but in actuality any state of `StringIO` or `IO` should be safe to read even if the object itself is frozen. There's no need for either type to be mutable just to read `sync` or `externa...
-
08:21 PM Ruby Bug #21151: IO and StringIO raise FrozenError even for read-only methods
- > for an IO to be read it has to be writable
In order to read data out of an IO, sure. But the methods I mentioned do not require write access to the IO; they just return non-writable state.
> ...
The non-writeable state could be p...
05/09/2025
-
10:01 PM Ruby Feature #15408: Deprecate ObjectSpace._id2ref
- > The question is rather why you want _id2ref to be deprecated
I want it removed, actually! 😀
You have seen all the reasons why it is problematic, but on top of all that it was never intended to be an official API in the first plac...
05/08/2025
-
06:05 PM Ruby Feature #15408: Deprecate ObjectSpace._id2ref
- @Dan0042 I think @Eregon covered what I was going to say, but I'd also like to know **why** you want `_id2ref` to stick around. There's generally better ways (more reliable, easier for VMs to implement) to everything I have seen it used ...
-
09:03 AM Ruby Revision 5a0306f9 (git): [ruby/strscan] jruby: Pass end index to byteListToInum
- (https://github.com/ruby/strscan/pull/150)
These parse methods take begin and end indices, not begin and length. A
test is included.
Fixes https://github.com/jruby/jruby/issues/8823
https://github.com/ruby/strscan/commit/9690e39e73 -
09:03 AM Ruby Revision 8685a81e (git): [ruby/strscan] jruby: Check if len++ walked off the end
- (https://github.com/ruby/strscan/pull/153)
Fix https://github.com/ruby/strscan/pull/152
CRuby can walk off the end because there's always a null byte. In JRuby,
the byte array is often (usually?) the exact size of the string. So we
nee...
03/31/2025
-
10:52 PM Ruby Feature #15574: Prohibit to pass a block on super() implicitly
- There's still a problem here when an "unused block" warning is emitted from native code.
The current behavior is actually quite counter-intuitive. Take this example of extending `Array` and overriding `index`.
```ruby
class MyArra...
03/03/2025
-
06:05 PM Ruby Bug #21162: Regexp casefold mismatch for latin1 supplemental chars
- @nobu Certainly could be and the fix looks similar.
@mjrzasa What do you think? Does your fix repair this problem?
02/27/2025
-
09:33 PM Ruby Bug #21162 (Closed): Regexp casefold mismatch for latin1 supplemental chars
- Originally reported to joni repo with a possible fix here: https://github.com/jruby/joni/pull/20
From that PR:
> When a character is less than or equal to single byte size (0xff),
> ...
As a Ruby example:
```
$ ruby -v -e 'p(/...
02/21/2025
-
12:37 AM Ruby Revision 7d798464 (git): [ruby/stringio] Allow seek when underlying string is frozen
- (https://github.com/ruby/stringio/pull/121)
Fixes https://github.com/ruby/stringio/pull/119. Adds a test for this expectation.
https://github.com/ruby/stringio/commit/3f90fe44c6