Benoit Daloze

Results 152 issues of Benoit Daloze

For regular expression `/#{ }\xc2\xa1/e`, which comes from `test_m17n.rb` in CRuby tests, the flags are respectively `forced_utf8_encoding` and `forced_binary_encoding` for source encoding UTF-8 and US-ASCII. I am not sure if...

enhancement

Rational literals are either: * `123r` * `12.34r` (`12ri`/`12.34ri` is just ImaginaryNode of RationalNode, so a trivial variant) These are actually quite different, the first is the same as `Rational(123,...

enhancement

I noticed https://github.com/ruby/rbs/commit/67a6acaa0f62a5f984cbf4a54a35600da0d1467f I wonder if it might be a bit faster with `-std=gnu99`. Not sure if `-std=gnu99` is accepted on Windows, but probably yes if gcc is used on...

suggestion

I think we should copy & embed any string/constant pool entry in the serialized output and therefore not need the source at all when deserializing. That would mean larger serialized...

enhancement

Extracted from #1296 item 1. It would be nice to have a `LiteralNode` superclass or included module in those, and that would guarantee a `value` method which returns the literal...

enhancement

See https://bugs.ruby-lang.org/issues/20085 This is not a concurrent-ruby issue, so please do not file more issues about this. Any segfault when not using `concurrent-ruby-ext` (the native extension) cannot be a bug...

Otherwise we get misleading suggestions from did-you-mean in case `concurrent/atomic/atomic_fixnum` is not required but the extension is loaded like: ``` NameError: uninitialized constant Concurrent::AtomicFixnum counter = AtomicFixnum.new ^^^^^^^^^^^^ Did you...

- `concurrent-ruby` version: 1.0.4 - `concurrent-ruby-ext` installed: no - `concurrent-ruby-edge` used: no Take the following code: https://gist.github.com/eregon/323890bfff539f8a33f66d8b2f02cc99 Of course, its purpose is to create a deadlock but it means any...

bug
looking-for-contributor
medium-priority

We had some discussions about this years ago but I think it's time to clarify the requirements. Of course, TruffleRuby would need pass the RSpec test suite, I think it's...

### Subject of the issue See https://bugs.ruby-lang.org/issues/17591. The plan of ruby-core hiding deprecation warnings in Ruby 2.7.2 is that test frameworks, like rspec, should enable them by default (with `Warning[:deprecated]...