[#84280] [Ruby trunk Bug#14181] hangs or deadlocks from waitpid, threads, and trapping SIGCHLD — nobu@...
Issue #14181 has been updated by nobu (Nobuyoshi Nakada).
3 messages
2017/12/15
[#84398] [Ruby trunk Bug#14220] WEBrick changes - failures on MSWIN, MinGW — Greg.mpls@...
Issue #14220 has been reported by MSP-Greg (Greg L).
3 messages
2017/12/22
[#84472] Re: [ruby-dev:50394] [Ruby trunk Bug#14240] warn four special variables: $; $, $/ $\ — Eric Wong <normalperson@...>
Shouldn't English posts be on ruby-core instead of ruby-dev?
3 messages
2017/12/26
[ruby-core:84312] [Ruby trunk Bug#14193] --enable-frozen-string-literal and rubygems, erb, & rdoc
From:
takashikkbn@...
Date:
2017-12-17 16:51:42 UTC
List:
ruby-core #84312
Issue #14193 has been updated by k0kubun (Takashi Kokubun). > I'd certainly appreciate it if someone familiar with RDoc had a look, as it seems that both its code and its tests may need changes/additions. I believe RDoc upstream is https://github.com/ruby/rdoc and it's just copied from that place to ruby core. Thus I think it's better to post an issue or create PR to https://github.com/ruby/rdoc too, for RDoc changes. ---------------------------------------- Bug #14193: --enable-frozen-string-literal and rubygems, erb, & rdoc https://bugs.ruby-lang.org/issues/14193#change-68473 * Author: MSP-Greg (Greg L) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.5.0dev (2017-12-16 trunk 61295) [x64-mingw32] * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- A popular gem that I use for my doc site doesn’t currently test against MinGW trunk, but I’ve got a PR there for that. Noticed that the current CI’s were failing, and took a look. One could debate the practicality of doing so, but for 2.4 and trunk, `--enable-frozen-string-literal` was set in `RUBYOPT`. The builds were failing in RubyGems while setting up the test environment. That took me to my fork of rubygems/rubygems, which led me back to trunk. Attached are three patch files that are required for ‘runner.rb’ testing to pass on rdoc & rubygems folders when `--enable-frozen-string-literal` is used. Notes: RubyGems - I believe its tests run against the files in the src directory, but it needs the other patches in the app directory to pass. RDoc - I used `“”.dup` for an unfrozen string, not sure if `String.new` is preferred or better. ERB - I haven’t worked with or debugged bindings that much, but I started looking at the bindings passed from RDoc, and when I added a begin/rescue to look at the string variables in them, all the tests for RDoc passed. Seems odd... Thanks, Greg PS - I use markdown a lot, may look odd in email. Don't know how many people use email vs browser... ---Files-------------------------------- frozen_rubygems.patch (462 Bytes) frozen_rdoc.patch (1.25 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>