noteflakes (Sharon Rosner)
- Login: noteflakes
- Registered on: 07/03/2023
- Last sign in: 11/18/2025
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 2 | 2 | 4 |
Activity
12/17/2025
-
04:34 PM Ruby Bug #21789 (Open): IO#flush doesn't invoke fiber scheduler io_write hook
- When calling `IO#flush` or closing an IO with unflushed writes, the flushing is done by calling `rb_io_blocking_region_wait` and eventually doing a `write` system call. When done in a non-blocking fiber with an active fiber scheduler, th...
11/28/2025
-
08:46 AM Ruby Bug #21717 (Feedback): Cleanup fiber scheduler after fork
- When using a fiber scheduler and forking a process, the child process "inherits" the fiber scheduler. An inherited scheduler will carry over state into the child process, and depending on the underlying event loop mechanism (e.g. epoll, ...
11/22/2025
-
06:16 AM Ruby Feature #21704 (Open): Expose rb_process_status_new to C extensions
- A fiber scheduler implementation with a hook for `#process_wait` needs to return a `Process::Status` object, but currently it is not possible for a C extension to directly create an instance of `Process::Status`. The technique currently ...
07/04/2023
-
04:47 AM Ruby Bug #19753: IO::Buffer#get_string can't handle negative offset
- nobu (Nobuyoshi Nakada) wrote in #note-3:
> > irb(main):003:0> b.get_string(-1000)
> ...
Well now that I look at `String#[]` and `Array#[]` they return `nil` when `offset < -size`:
```ruby
irb(main):001:0> s = 'abc'
=> "abc"
irb(...
07/03/2023
-
07:35 AM Ruby Bug #19753: IO::Buffer#get_string can't handle negative offset
- PR here: https://github.com/ruby/ruby/pull/8015
-
06:14 AM Ruby Bug #19753 (Closed): IO::Buffer#get_string can't handle negative offset
- ```ruby
irb(main):001:0> b = IO::Buffer.for('abc')
=>
#<IO::Buffer 0x00007f858f5450c0+3 EXTERNAL READONLY SLICE>
...
irb(main):002:0> b.get_string(-1)
=> "\x00abc"
irb(main):003:0> b.get_string(-1000, 3)
(irb):3:in `get_string':...