[#83773] [Ruby trunk Bug#14108] Seg Fault with MinGW on svn 60769 — usa@...
Issue #14108 has been updated by usa (Usaku NAKAMURA).
9 messages
2017/11/15
[#83774] Re: [Ruby trunk Bug#14108] Seg Fault with MinGW on svn 60769
— Eric Wong <normalperson@...>
2017/11/15
usa@garbagecollect.jp wrote:
[#83775] Re: [Ruby trunk Bug#14108] Seg Fault with MinGW on svn 60769
— "U.NAKAMURA" <usa@...>
2017/11/15
Hi, Eric
[#83779] Re: [Ruby trunk Bug#14108] Seg Fault with MinGW on svn 60769
— Eric Wong <normalperson@...>
2017/11/15
"U.NAKAMURA" <usa@garbagecollect.jp> wrote:
[#83781] Re: [Ruby trunk Bug#14108] Seg Fault with MinGW on svn 60769
— "U.NAKAMURA" <usa@...>
2017/11/15
Hi, Eric,
[#83782] Re: [Ruby trunk Bug#14108] Seg Fault with MinGW on svn 60769
— Eric Wong <normalperson@...>
2017/11/15
"U.NAKAMURA" <usa@garbagecollect.jp> wrote:
[ruby-core:83697] [Ruby trunk Feature#14091] Remove Time#succ
From:
shevegen@...
Date:
2017-11-07 15:07:19 UTC
List:
ruby-core #83697
Issue #14091 has been updated by shevegen (Robert A. Heiler). Interesting. If this is true, perhaps ruby core forgot about it. I had a look at the current docu for Time: https://ruby-doc.org/core/Time.html https://ruby-doc.org/core-2.4.2/Time.html#method-i-succ The documentation reads: "Returns a new Time object, one second later than time. #succ is obsolete since 1.9.2 for time is not a discrete value." So I am inclined to agree with Andrew - either it is indeed obsolete, in which case it may be time to remove it; and if it is not obsolete, then the documentation should change, IMO. (On a side note, perhaps there could be a simple way to ask Ruby which methods may be deprecated or so... Kernel#deprecated_methods? or something, but anyway, I should file an own issue request for that; I just don't know if other people may find that useful. Sorry for side-tracking from the main issue thread here for a moment!) ---------------------------------------- Feature #14091: Remove Time#succ https://bugs.ruby-lang.org/issues/14091#change-67719 * Author: pixeltrix (Andrew White) * Status: Open * Priority: Normal * Assignee: * Target version: ---------------------------------------- The method Time#succ was marked as obsolete in Ruby 1.9.3 and whilst it remains Rails has to patch Range#each and Range#step to prevent logs from being filled with the deprecation messages (see https://github.com/rails/rails/pull/11474). It's been over 8 years now which seems like a more than adequate period to wait before removal. ---Files-------------------------------- remove-time-succ.diff (3.81 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>