General

Profile

Stranger6667 (Dmitry Dygalo)

  • Login: Stranger6667
  • Registered on: 06/11/2025
  • Last sign in: 06/11/2025

Issues

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

Activity

06/30/2025

12:31 PM Ruby Revision 4e5c8c19 (git): [ruby/prism] fix: sigsegv on malformed shebang
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
https://github.com/ruby/prism/commit/e23292120e
Stranger6667 (Dmitry Dygalo)

06/23/2025

03:15 PM Ruby Bug #21450 (Closed): Inconsistent `upcase` between `String` and `Symbol`
Behavior for `Symbol#upcase` and `String#upcase` differs for `i` character if the `:turkic` option is present
I'd expect `val.upcase(:turkic)` behaves consistently for both cases:
```ruby
'i'.upcase(:turkic)
# "İ" with dot
:i....
Stranger6667 (Dmitry Dygalo)

06/11/2025

12:50 PM Ruby Bug #21437 (Closed): Date#hash may return different values for equal dates with large years
Parsing the same date string allocates new large integer objects with different pointer addresses, which then affects the hash value due to `d_lite_hash` behavior.
```ruby
require 'date'
# Small year - consistent hashes
Date.strp...
Stranger6667 (Dmitry Dygalo)
12:27 PM Ruby Bug #21436 (Closed): Date#ajd returns incorrect positive values due to integer overflow for large negative years
`Date#ajd` (astronomical Julian Day number) returns incorrect positive values instead of negative values for certain large negative years due to signed integer overflow in the `RB_INT2FIX` function.
```ruby
require 'date'
# Work...
Stranger6667 (Dmitry Dygalo)

Also available in: Atom