Benoit Daloze

  • Registered on: 07/30/2009
  • Last connection: 02/04/2015

Projects

Activity

Reported issues: 51

05/13/2015

05:57 PM Ruby trunk Feature #11148: Add a way to require files, but not raise an exception when the file isn't found
Aaron Patterson wrote:
> @Benoit yes, for performance, and to avoid catching load errors. If my plan is successful,...
11:14 AM Ruby trunk Feature #11148: Add a way to require files, but not raise an exception when the file isn't found
Why is that exception problematic?
For performance (the cost of the search is already large I suppose)
or to only c...

04/08/2015

11:22 AM Ruby trunk Feature #11049: Enumerable#grep_v (inversed grep)
grep(pattern, inverse: true) seems the least surprising to me.
But of course it does not buy much compared to #reject.
11:21 AM Ruby trunk Feature #11049: Enumerable#grep_v (inversed grep)
Recursive Madman wrote:
> How about implementing `Regexp#invert` instead?
>
> Like this for example:
>
> ```ru...

03/10/2015

04:28 PM Ruby trunk Feature #10958: remove "initial_state" argument of Enumerable#{slice_before,chunk}
+1, making these two simpler is definitely an improvement!

03/06/2015

12:18 PM Ruby trunk Bug #10943: Singleton class expression (class << obj) should make be indivisual namespaces
Without this change it is possible to determine which CREF or "lexical scope for constant" is used for resolving cons...

03/02/2015

12:56 PM Ruby trunk Bug #10924: String#b
Note #b is more #binary than #ascii.

02/23/2015

07:29 PM Ruby trunk Bug #10887: Time#zone encoding is ASCII-8BIT instead of intended US-ASCII
Yui NARUSE wrote:
> Applied in changeset r49702.
>
> ----------
> zone may be ASCII-8BIT on Windows [Bug #10887]...
03:12 PM Ruby trunk Bug #10894 (Open): Unamed keyrest argument and a normal keyword argument disallow arbitrary keywo...
$ ruby -ve 'def m(a:1,**);end; p m(a:1,b:2)'
ruby 2.0.0p576 (2014-09-19) [x86_64-linux]
-e:1:in `<main>...
01:53 PM Ruby trunk Bug #10893 (Closed): String#chomp (and chomp!) with a UTF-8 record separator results in Encoding:...
Reproducing code:
$/="\n".encode("UTF-8"); p "abc\r\n".encode("utf-32be").chomp
The encode to UTF-8 is to m...

Also available in: Atom