[#82706] [Ruby trunk Bug#13851] getting "can't modify string; temporarily locked" on non-frozen instances — cardoso_tiago@...
Issue #13851 has been updated by chucke (Tiago Cardoso).
3 messages
2017/09/07
[#82853] [Ruby trunk Bug#13916] Race condition when sending a signal to a new fork — russell.davis@...
Issue #13916 has been reported by russelldavis (Russell Davis).
3 messages
2017/09/19
[#82892] [Ruby trunk Bug#13921] buffered read_nonblock doesn't work as expected using SSLSocket — cardoso_tiago@...
Issue #13921 has been updated by chucke (Tiago Cardoso).
3 messages
2017/09/20
[ruby-core:82686] [Ruby trunk Bug#13848] BigDecimal.new('200.') raises an exception
From:
xkernigh@...
Date:
2017-09-07 00:26:58 UTC
List:
ruby-core #82686
Issue #13848 has been updated by kernigh (George Koehler).
`Float('200.')` also raises ArgumentError. In this way, BigDecimal.new seems consistent with Float. But it's strange that `Float('200hello world')` raises ArgumentError but `BigDecimal.new('200hello world')` succeeds.
----------------------------------------
Bug #13848: BigDecimal.new('200.') raises an exception
https://bugs.ruby-lang.org/issues/13848#change-66520
* Author: ddoherty03 (Daniel Doherty)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
BigDecimal.new('200.') raises an exception:
ArgumentError: invalid value for BigDecimal(): "200."
It should accept this as a valid decimal number.
This requires fixing numbers read in from the wild.
--
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>