General

Profile

trinistr (Alexander Bulancov)

  • Login: trinistr
  • Registered on: 11/07/2025
  • Last sign in: 01/18/2026

Issues

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

Activity

02/13/2026

07:27 PM Ruby Feature #17513: Methods of shareable objects and UnboundMethods should be shareable
A `def`-ed method of a shareable object may depend on unshareable state. Even worse, shareability of state may dynamically change:
```ruby
module Checker
CHECK = []
def check?
CHECK.include?(self)
end
end
class A; i...
trinistr (Alexander Bulancov)
07:03 PM Ruby Feature #6478: BasicObject#__class__
jneen (Jeanine Adkisson) wrote in #note-16:
> I wonder if exposing a static `Object.class_of(thing)` would be appropriate? There's also the singleton_class to consider as well.
This is an interesting idea. It would solve the problems...
trinistr (Alexander Bulancov)
02:46 PM Ruby Feature #21878: More file types: DOOR, PORT, WHITEOUT
[Doors](https://en.wikipedia.org/wiki/Doors_(computing)) are a thing on Solaris.
Event ports are also [reportedly](https://runebook.dev/en/docs/python/library/stat/stat.S_ISPORT) a Solaris thing, but all references seem to be about the P...
trinistr (Alexander Bulancov)

02/11/2026

12:00 PM Ruby Bug #21874 (Closed): `PrettyPrint::SingleLine` is not API-compatible with `PrettyPrint`, breaking `PP` in some cases
`PP` expects that a `#pretty_print` method can be used with both `PrettyPrint` and `PrettyPrint::SingleLine` interchangeably. This is used to [implement](https://github.com/ruby/pp/blob/b6f81ef83f9137c2300cb5eb96d440419c8f886f/lib/pp.rb#... trinistr (Alexander Bulancov)

02/09/2026

03:44 PM Ruby Bug #21870: Regexp: Warnings when using slightly overlapping \p{...} classes
> Using `/(\p{Word}|\p{S})/` is kind of a workaround, but it is slower.
Have you tried a non-capturing group? `/(?:\p{Word}|\p{S})/` should have better performance.
trinistr (Alexander Bulancov)

02/08/2026

10:54 PM Ruby Feature #6478: BasicObject#__class__
I would like to revive discussion for this feature request as I feel that `BasicObject#__class_` is still needed.
Note: obviously, it is possible to transplant methods with `define_method` (that is very nice!), but one doesn't always ...
trinistr (Alexander Bulancov)
07:12 PM Ruby Feature #20664: Add `before` and `until` options to Enumerator.produce
> Any value that responds to `to_proc` and returns a `Proc` object is accepted in these options.
An alternative is using "pattern" values with `#===`, like `Enumerable.grep` does. This would allow using not only Proc objects, but also...
trinistr (Alexander Bulancov)

02/07/2026

07:17 PM Ruby Feature #21518: Statistical helpers to `Enumerable`
> Percentiles would be nice, especially if there is a more efficient algorithm for them than just sorting + indexing.
It may be reasonable to implement percentiles without sorting, expecting the array to be pre-sorted, in the same way...
trinistr (Alexander Bulancov)

02/05/2026

03:33 PM Ruby Bug #21859: Inconsistent behaviors in Regexp lookbehind/lookahead with capture groups
> Useful context for this issue which would make sense to add the description is this Regexp item from the NEWS of 3.3
Yes, thank you, that's what lead to me making the wrong assumption about linearity of lookbehind.
> ...
Suprisin...
trinistr (Alexander Bulancov)

02/03/2026

08:14 PM Ruby Bug #21859: Inconsistent behaviors in Regexp lookbehind/lookahead with capture groups
Thank you, I understand now what you meant.
Should this issue be changed to a feature request?
trinistr (Alexander Bulancov)

Also available in: Atom