[ruby-core:76907] [Ruby trunk Bug#11908][Rejected] Tk still relies on safe level 3 and 4

From: hsbt@...
Date: 2016-08-16 03:07:12 UTC
List: ruby-core #76907
Issue #11908 has been updated by Hiroshi SHIBATA.

Status changed from Open to Rejected

tk was extracted to https://github.com/ruby/tk/pulls . Please submit your patch as pull request.

----------------------------------------
Bug #11908: Tk still relies on safe level 3 and 4
https://bugs.ruby-lang.org/issues/11908#change-60132

* Author: Akira Matsuda
* Status: Rejected
* Priority: Normal
* Assignee: Hidetoshi Nagai
* ruby -v: ruby 2.4.0dev (2015-12-27 trunk 53328) [x86_64-darwin14]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
Tk uses safe level 3 and 4, which causes ArgumentError, because $SAFE >= 2 are no more supported in ruby >= 2.3.

To be honest, I'm not totally sure if it's "safe" enough to make this change, but at least it doesn't raise ArgumentError after this change.

---Files--------------------------------
bug_11908.patch (3.98 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>

In This Thread

Prev Next