Activity
From 06/28/2017 to 07/04/2017
07/04/2017
-
10:04 PM Feature #13715 (Closed): [PATCH] avoid garbage from Symbol#to_s in interpolation
- ~~~
"ruby -e 'p GC.stat(:total_allocated_objects)'" goes from
70199 to 69540 allocated objects when loading RubyGem... -
06:00 PM Feature #13714: Add https support to "httpd" function inside of "un.rb"
- Guess it makes sense.
-
04:09 PM Feature #13714 (Closed): Add https support to "httpd" function inside of "un.rb"
- As you know it's possible to run a minimalistic http server using the "httpd" function defined inside of the "un.rb" ...
-
05:17 PM Feature #13681: Ruby digest init fails in FIPS mode when built against OpenSSL ~> 1.0.1
- rhenium (Kazuki Yamaguchi) wrote:
> rinzler (Colton Jenkins) wrote:
> > Ah ok, do you know what will happen to open... -
04:18 PM Feature #13681: Ruby digest init fails in FIPS mode when built against OpenSSL ~> 1.0.1
- rinzler (Colton Jenkins) wrote:
> Ah ok, do you know what will happen to openssl::digest then given it uses the same... -
03:01 PM Bug #13711: Unexpected behavior of bit_length method on negative integers
- Thanks for the explanation.
This morning I went and looked at the documentation for **bit_length** and it clearly ... -
05:06 AM Bug #13711: Unexpected behavior of bit_length method on negative integers
- jzakiya (Jabari Zakiya) wrote:
> I would have thought that **bit_length** on a negative integer would return the num... -
04:21 AM Bug #13711 (Rejected): Unexpected behavior of bit_length method on negative integers
- The two's complement representation of negative integers produces unexpected results
when the **bit_length** method ... -
02:43 PM Feature #13712: String#start_with? with regexp
- I agree as well, would be nice. More than one way to do things. Should also be the same for .start_with? and .end_wit...
-
10:10 AM Feature #13712: String#start_with? with regexp
- Agreed, this would be great and intuitive.
I wonder, could the symmetrical String#end_with? also work with a Regex... -
09:18 AM Feature #13712 (Closed): String#start_with? with regexp
- String#start_with? should receive regexp.
When I write a parser, I want to check a string is start with a pattern ... -
02:06 PM Feature #13713 (Rejected): socketの便利メソッドのdatagramのUNIXSocket用対応
- https://docs.ruby-lang.org/ja/latest/class/Socket.html に
> ソケットオブジェクトを生成する汎用的な方法として Socket.new がありますが、以下のようなより便利な ... -
05:51 AM Bug #13707: Windows ANSI escape sequences incorrectly positions cursor
- Note: `cls` command on Windows clears the entire buffer, unlike "clear screen" of VT100.
-
05:42 AM Bug #13196 (Closed): Improve keyword argument errors when non-keyword arguments given
- Applied in changeset trunk|r59259.
----------
vm_args.c: improve keyword argument errors
* vm_args.c (argument_arit... -
12:31 AM Bug #13196: Improve keyword argument errors when non-keyword arguments given
- matz (Yukihiro Matsumoto) wrote:
> Agreed with better message description.
Thank you. Is there anything I can do ... -
04:35 AM Bug #13709: Problem compiling https://cache.ruby-lang.org/pub/ruby/snapshot.tar.gz - symlinks point to non-existing .gem files during "make install" step
- It might be completely different issue, but I had recently similar issues with trunk #13684
-
01:20 AM Bug #13709: Problem compiling https://cache.ruby-lang.org/pub/ruby/snapshot.tar.gz - symlinks point to non-existing .gem files during "make install" step
- I can reproduce this issue with today's snapshot.
-
04:23 AM Bug #13710 (Closed): Time zone info lost after doing +/- on time object that loaded from dumped string.
- Applied in changeset trunk|r59258.
----------
time.c: preserve marshalled timezone
* time.c (time_add): preserve ti... -
02:50 AM Bug #13710 (Closed): Time zone info lost after doing +/- on time object that loaded from dumped string.
- See script below.
Time#zone return nil after doing +/- on instance b (which is loaded from dumped string)
~~~
...
07/03/2017
-
09:18 PM Bug #13709: Problem compiling https://cache.ruby-lang.org/pub/ruby/snapshot.tar.gz - symlinks point to non-existing .gem files during "make install" step
- Robert,
Don't know if it helps, but in my mswin build script (similar to [appveyor.yml](https://github.com/ruby/ru... -
11:24 AM Bug #13709: Problem compiling https://cache.ruby-lang.org/pub/ruby/snapshot.tar.gz - symlinks point to non-existing .gem files during "make install" step
- Oops - sorry for the above font difference, I was using "====" and it seems that the
tracker here re-formats it stra... -
11:23 AM Bug #13709 (Closed): Problem compiling https://cache.ruby-lang.org/pub/ruby/snapshot.tar.gz - symlinks point to non-existing .gem files during "make install" step
- Hello ruby core team,
I here report some kind of bug during the ... "make install" step,
I think. I'll soon get i... -
10:22 AM Bug #13707 (Closed): Windows ANSI escape sequences incorrectly positions cursor
- Applied in changeset trunk|r59254.
----------
win32.c: cursor relative to screen
* win32/win32.c (constat_apply): m... -
03:35 AM Bug #13708 (Closed): catastrophic slow compilation of defined-defined sequence has no chance to ^C
- Attached script, which is only 139 bytes long, generates iseq of 352,321,600 bytes on my 64bit machine. That compila...
07/02/2017
-
09:31 PM Bug #13707: Windows ANSI escape sequences incorrectly positions cursor
- Actually in an empty console you need to run `1000.times { |i| puts "#{i}" }; print "\e[1;1H"` to observe the effect ...
-
09:02 PM Bug #13707 (Closed): Windows ANSI escape sequences incorrectly positions cursor
- Positioning the cursor on Windows with the ANSI CSI n;m H sequence ("\e[n;mH") incorrectly moves the cursor relative ...
-
11:45 AM Bug #13701: Ripper fails to parse "proc { |(w, *x, y), z| }"
- Thank you nobu for the quick fix
-
09:08 AM Feature #13706 (Closed): Allow CSV#delete to delete multiple columns or add #delete_columns method
- I duplicated the main report message from this PR: https://github.com/ruby/csv/pull/4
The basic idea is that now we ... -
02:34 AM Bug #13705 (Closed): [PATCH] `cfp consistency error' occurs when raising exception in bmethod call event
- bmethodのcallイベントの中でキャッチされない例外を起こすとcfp consistency errorになります。
~~~ruby
define_method(:m) {}
tp = TracePoint.new...
07/01/2017
-
01:08 PM Bug #13350: File.read :newline option not respected on Linux
- `newline: universal` does not imply text mode.
...but it seems nice even if the `newline:` option enables it. -
11:51 AM Bug #13536: Ripper fails to tokenize nested squiggly heredoc
- ruby_2_4 r59247 merged revision(s) 58545,58584.
-
02:01 AM Bug #13701 (Closed): Ripper fails to parse "proc { |(w, *x, y), z| }"
- Applied in changeset trunk|r59246.
----------
parse.y: f_margs parser events
* parse.y (f_margs): implemented parse...
06/30/2017
-
09:11 PM Misc #13704 (Closed): [PATCH] Exclude Changelog files from documentation.
- The changelogs are almost 7 MBytes large, so that the ri or rdoc output is even bigger. Therefore the changelogs take...
-
09:08 PM Feature #13703 (Closed): [PATCH] Documentation improvement for Encoding.default_internal
- "locale encoding" is misleading since it doesn't mean Encoding.find("locale") but the encoding used to interpret the ...
-
03:43 PM Feature #13681: Ruby digest init fails in FIPS mode when built against OpenSSL ~> 1.0.1
- rhenium (Kazuki Yamaguchi) wrote:
> rinzler (Colton Jenkins) wrote:
> > > > ```diff
> > > > + rb_raise(rb_eRunt... -
02:01 PM Feature #13683: Add strict Enumerable#single
- nobu (Nobuyoshi Nakada) wrote:
> `Enumerable#first` returns not only the first element, the elements at the beginnin... -
01:57 PM Feature #13683: Add strict Enumerable#single
- shevegen (Robert A. Heiler) wrote:
> What would the results be for the following code?
I would expect the followi... -
01:11 PM Misc #13702 (Closed): TZ checking in rb_w32_fstati64()
- The environment variable TZ is checked in rb_w32_fstati64().
https://bugs.ruby-lang.org/projects/ruby-trunk/reposito... -
01:06 PM Bug #13672: Garbage input hangs ruby (not responding ^C)
- ruby_2_3 r59241 merged revision(s) 59161.
-
01:01 PM Bug #13515: Pathname#join doesn't add separator on UNC paths
- ruby_2_3 r59240 merged revision(s) 59102.
-
12:58 PM Bug #13636: REXML::Document.parse_stream doesn't handle when closing tag not provided
- ruby_2_3 r59239 merged revision(s) 59033,59034.
-
12:54 PM Bug #13558: Array#insert does not typecheck the position argument if it's the only argument
- ruby_2_3 r59238 merged revision(s) 58693.
-
12:52 PM Bug #13231: DateTime.strftime("%Z") does not return time zone abbreviation, returns hour and minute offset from UTC with colon
- ruby_2_3 r59237 merged revision(s) 58643.
-
12:48 PM Bug #13531: RSS: a feed with empty channel description has completely empty '#to_xml' conversion
- ruby_2_3 r59236 merged revision(s) 58552.
-
12:35 PM Bug #12670: Segmentation fault on `Magick::Image#get_pixels` on ruby since ruby-2.2
- ruby_2_3 r59234 merged revision(s) 56558,59116,59136.
-
12:24 PM Bug #8916: rb_sprintf への精度指定が正しく機能していない
- ruby_2_3 r59233 merged revision(s) 58210.
-
12:21 PM Bug #13425: Tracer.onにした状態でSystemStackErrorを発生させるとSegmentation fault
- ruby_2_3 r59232 merged revision(s) 58334,58346,58349.
-
12:13 PM Bug #13656: Method#super_method returns incorrect result dependent on unrelated module
- ruby_2_3 r59231 merged revision(s) 59080,59082.
-
12:11 PM Bug #13651: backport r55324
- ruby_2_3 r59230 merged revision(s) 55324,55325.
-
12:09 PM Bug #13638: please backport r59030
- ruby_2_3 r59229 merged revision(s) 59030,59031.
-
11:45 AM Bug #13700: Enumerable#sum may not work for Ranges subclasses due to optimization
- Side note: in my opinion, `Enumerable` should not check the receiver's class to provide specific optimizations. Inste...
-
11:39 AM Bug #13700: Enumerable#sum may not work for Ranges subclasses due to optimization
- shevegen (Robert A. Heiler) wrote:
> Reminds me a bit of what hanmac wrote elsewhere; I can't find it right now and ... -
11:30 AM Bug #13700: Enumerable#sum may not work for Ranges subclasses due to optimization
- Reminds me a bit of what hanmac wrote elsewhere; I can't find it right now and forgot it mostly already but I think h...
-
09:05 AM Bug #13700 (Closed): Enumerable#sum may not work for Ranges subclasses due to optimization
- `Enumerable#sum` is optimized for integer ranges. Unfortunately, this can break subclasses:
```ruby
class StepTwo... -
11:38 AM Bug #13191: sample/pty/shl.rb がうまく動かない
- ruby_2_3 r59228 merged revision(s) 57530.
-
11:32 AM Bug #13621: String#split returns an array longer than given limit, when passing a regexp with groups
- ruby_2_3 r59227 merged revision(s) 59002.
-
11:24 AM Bug #5339: ERB generates extra newlines on Windows
- ruby_2_3 r59226 merged revision(s) 58825,58826.
-
11:18 AM Bug #11464: ERB trimming doesn't trim carriage returns
- ruby_2_3 r59225 merged revision(s) 58823.
-
11:08 AM Bug #13545: Ruby built by clang 4.0.0 parses Float literal wrongly
- ruby_2_3 r59224 merged revision(s) 58796.
-
11:00 AM Bug #13573: Compilation on Mac OS X 10.5.8 fails because of missing _fgetattrlist
- ruby_2_3 r59223 merged revision(s) 57248.
-
10:58 AM Bug #13572: Please backport r53400 to 2.3
- ruby_2_3 r59222 merged revision(s) 53400.
-
10:56 AM Bug #11384: multi-threaded autoload sometimes fails
- ruby_2_3 r59221 merged revision(s) 58696.
-
10:54 AM Bug #13554: Running system with different gid fails on Linux if host has group with lots of members
- ruby_2_3 r59220 merged revision(s) 58658.
-
10:52 AM Bug #13526: Segmentation fault at 0x0055c2e58e8920 ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
- ruby_2_3 r59219 merged revision(s) 58587,58588.
-
10:47 AM Bug #13499: need to backport r58453
- ruby_2_3 r59218 merged revision(s) 58453,58454.
-
10:44 AM Bug #13530: backport r58370 and r58382
- ruby_2_3 r59217 merged revision(s) 58370,58382.
-
10:41 AM Bug #13533: please backport r58534
- ruby_2_3 r59216 merged revision(s) 58534.
-
10:36 AM Bug #12492: RUBY_DEBUG=gc_stress dumps core
- ruby_2_3 r59215 merged revision(s) 55429.
-
10:30 AM Bug #13536: Ripper fails to tokenize nested squiggly heredoc
- ruby_2_3 r59214 merged revision(s) 58545,58584.
-
10:00 AM Bug #13701 (Closed): Ripper fails to parse "proc { |(w, *x, y), z| }"
- The Ruby formatter rufo has exposed a ripper parsing error when parsing the following ruby code:
~~~ ruby
proc { ... -
08:21 AM Feature #13696: Add exchange and noreplace options to File.rename
- [email protected] wrote:
> Is "atomically" important?
> If no, it'd be possible to implement without kernel suppo... -
04:24 AM Feature #13696: Add exchange and noreplace options to File.rename
- Is "atomically" important?
If no, it'd be possible to implement without kernel support. -
03:48 AM Feature #13696: Add exchange and noreplace options to File.rename
- Thank you for your comments.
I implemented FIle.exchange and made the noreplace flag in positive-form.
```ruby
F... -
08:09 AM Feature #13434: better method definition in C API
- [email protected] wrote:
> As I wrote before, I against this idea. My idea is to write
> definitions in Ruby with spec... -
06:05 AM Feature #13434: better method definition in C API
- As I wrote before, I against this idea. My idea is to write definitions in Ruby with special form.
Comparison:
... -
12:08 AM Feature #13434: better method definition in C API
- Eric Wong <[email protected]> wrote:
> rb_method_attr_setfl(&attr, 0, RB_CONST|RB_PERSIST|RB_REQUIRED);
> rb... -
05:06 AM Bug #13698 (Rejected): Sort Methods Differ
- `Array#sort` is not guaranteed as "stable".
You should compare other keys if they matter. -
04:57 AM Bug #13699 (Closed): Multiple maps over lazy enumerator yielding multiple values in 2.4.x causes crash
-
04:32 AM Feature #13692: Array#index?
- `Array#drop`.
06/29/2017
-
05:51 PM Bug #13698: Sort Methods Differ
- I get the same for the current ruby on linux (ruby 2.4.1p111 (2017-03-22 revision 58053) [i686-linux])
# => [{... -
05:46 PM Bug #13698 (Rejected): Sort Methods Differ
- Hello,
### Issue:
Two different machines with the same ruby version return different results for the method "sort... -
05:51 PM Bug #13699 (Closed): Multiple maps over lazy enumerator yielding multiple values in 2.4.x causes crash
- ~~~ ruby
Enumerator.new{|e| e.yield(5, 6)}.
lazy.
map{|x,y| 5}.
map{|z| 5}.
to_a
~~~
Tested and work... -
05:49 PM Feature #13696: Add exchange and noreplace options to File.rename
- > I prefer positive-form to negative-form as an option
I do too. I found it in general easier (for me) to understa... -
03:16 AM Feature #13696: Add exchange and noreplace options to File.rename
- Glass_saga (Masaki Matsushita) wrote:
> ```ruby
> File.rename("hoge", "fuga", exchange: true) # atomically exchange... -
03:07 AM Feature #13696 (Assigned): Add exchange and noreplace options to File.rename
- renameat2(2) introduced in linux kernel 3.15 takes following flags.
```
RENAME_EXCHANGE: Atomically exchange oldp... -
05:17 PM Bug #13614 (Third Party's Issue): IFMapper v2.0.4 crashes on Windows FXRuby
- The status "Closed" is expected to mean that the issue is fixed in MRI repository.
-
05:14 PM Bug #13672: Garbage input hangs ruby (not responding ^C)
- memo: it seems that this not appears on ruby_2_3, but it should be backported.
-
05:06 PM Bug #13324 (Rejected): IRB Segmentation Fault from eval infinite loop
-
04:54 PM Bug #13312: String#casecmp raises TypeError instead of returning nil
- I think this change may not cause any compatibility issue with real-world scripts, but it means that nobody hits this...
-
04:45 PM Bug #13592: Enumerable#reduce with symbol does not respect method visibility
- memo: I think this is a bug, but it may cause some compatibility problems to change the behavior in teeny release, th...
-
04:42 PM Bug #13492: Integer#prime? and Prime.each might produce false positives
- If a patch is provided, I'll merge it to ruby_2_3.
-
04:37 PM Bug #13188 (Rejected): Reinitialize Ruby VM.
-
04:36 PM Bug #6696: [PATCH] ERB::Util.url_encode should not escape unreserved characters
- memo: I think that this is a bug, but it may surprise users to change this behavior at teeny releases. Therefore I d...
-
02:10 PM Feature #13692 (Rejected): Array#index?
-
12:36 PM Feature #13692: Array#index?
- Yes, I think you are right. This probably was a bad idea. An array is not a (numerical) Hash.
So a moderator can c... -
01:07 AM Feature #13692: Array#index?
- ~~~ ruby
def from(index)
if index?(index)
self[index..-1]
else
[]
end
end
~~~
Not considere... -
09:18 AM Bug #13695: Issue with require and require_relative with symlinked directories
- shyouhei (Shyouhei Urabe) wrote:
> I guess this is a dup of #10222.
It is, sorry for not finding that when I look... -
02:03 AM Bug #13695: Issue with require and require_relative with symlinked directories
- I guess this is a dup of #10222.
-
06:11 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
- Updated patch against r59201:
https://80x24.org/spew/[email protected]/raw
matz/ko1: any idea o... -
04:01 AM Bug #13690 (Closed): next in once causes [BUG]
- Applied in changeset trunk|r59202.
----------
compile.c: disallow next in once
* compile.c (iseq_compile_each0): tu... -
03:26 AM Feature #13697 (Assigned): [PATCH]: futex based thread primitives
- Assigning to kosaki since he wrote the current GVL.
I'm hoping single-core vm_thread_pass benchmark can be
improved...
06/28/2017
-
08:57 PM Bug #13695: Issue with require and require_relative with symlinked directories
- [rspec-duplicate-require](https://github.com/wconrad/rspec-duplicate-require) shows that this behavior has been aroun...
-
07:41 PM Bug #13695 (Closed): Issue with require and require_relative with symlinked directories
- Symlinked directories cause an issue with require_relative where libraries loaded from a symlinked path (e.g. in a ty...
-
07:23 PM Feature #13692: Array#index?
- This feature may not be that good, I agree. :)
I thought it could occasionally be useful when querying arrays. For... -
05:57 PM Feature #13692: Array#index?
- I am not sure if there is a huge need for it - and I am usually saying yes to lots of stuff. :)
I think another pr... -
03:35 PM Feature #13692: Array#index?
- > this is sometimes useful to check if an array index exists.
I couldn't imagine the situation that needs to check... -
03:24 PM Feature #13692: Array#index?
- Or is this feature too trivial ?
-
02:43 PM Feature #13692 (Rejected): Array#index?
- Hello!
We currently have these methods:
~~~
Hash#key(value)
Hash#key?(key)
Array#index(value)
~~~
I was ... -
06:34 PM Feature #13694 (Rejected): Add Tau constant to Math
- Duplicate of #4897, which matz rejected 7 months ago.
-
06:05 PM Feature #13694 (Rejected): Add Tau constant to Math
- Today (June 28) is **Tau Day**! to honor the true circle constant **tau = 2*pi = 6.28**.
Michael Hartl (https://ta... -
06:04 PM Feature #13693: Allow String#to_i and / or Kernel::Integer to parse e-notation
- I think you are right, due to the behaviour of '1e+3'.to_i alone. Perhaps it was forgotten?
-
05:39 PM Feature #13693 (Rejected): Allow String#to_i and / or Kernel::Integer to parse e-notation
- `Kernel` can properly convert e-notation strings into numeric objects:
```ruby
Float('1e+3') #=> 1000.0
R... -
06:00 PM Bug #13691: Word- and symbol array literals not valid where regular array is
- Hmm you are right. That's interesting. I may be wrong but this may possibly be a limitation of the
parser, otherwise... -
11:57 AM Bug #13691 (Rejected): Word- and symbol array literals not valid where regular array is
- Not sure if this is a limitation of the design space in the parser, or just a missed edge case. (Note that a regular ...
-
05:53 PM Feature #12968: Allow default value via block for Integer(), Float() and Rational()
- shyouhei (Shyouhei Urabe) wrote:
> we would like to to merge this issue with #12732. How do you feel, Stefan?
I'... -
03:25 PM Bug #13689 (Closed): `Thread#inspect` affect Fiber switching
- Applied in changeset trunk|r59200.
----------
introduce rb_fiber_t::first_proc.
* cont.c (rb_fiber_t): add rb_fiber... -
06:18 AM Bug #13689 (Closed): `Thread#inspect` affect Fiber switching
- `Thread#inspect` shows different results when Fiber is switched.
I believe it isn't intended behavior.
```
Thr... -
02:35 PM Feature #13681: Ruby digest init fails in FIPS mode when built against OpenSSL ~> 1.0.1
- rhenium (Kazuki Yamaguchi) wrote:
> rinzler (Colton Jenkins) wrote:
> > > > ```diff
> > > > + rb_raise(rb_eRunt... -
08:55 AM Bug #13690 (Closed): next in once causes [BUG]
- Thought it was a variant of #13680, but turned out to be a different story.
-
07:05 AM Feature #9145 (Open): Queue#pop(true) return nil if empty instead of raising ThreadError
-
06:22 AM Feature #13683: Add strict Enumerable#single
- `Enumerable#first` returns not only the first element, the elements at the beginning up to the number given by an opt...
-
01:15 AM Feature #13683: Add strict Enumerable#single
- shevegen (Robert A. Heiler) wrote:
> What would the results be for the following code? In ruby (I find
> it easier ... -
03:50 AM Bug #13688 (Closed): Thread overflow hangs ruby (not responding ^C)
- Passing the attached file makes hang.
-
03:13 AM Bug #13605: GC bug calling `ObjectSpace.each_object`
- `git bisect` shows that the issue is come from r55766 [Feature #12628].
This commit is in ruby_2_4, but not in ruby_... -
03:07 AM Bug #13537: ruby crash in rb_gc_mark
- Is this same to #13605 and fixed at r59063?
-
02:02 AM Bug #13687 (Closed): yyerror causes [BUG]
- Applied in changeset trunk|r59188.
----------
parse.y: fix parser_yyerror
* parse.y (parser_yyerror): fix buffer ov... -
12:44 AM Bug #13155: Segfault testing Pry
- I guess it is the same issue as #13605 because of the log pattern.
(using pry, T_NONE, newobj_slowpath_wb_protected ...
Also available in: Atom