[#87847] undefined symbol: mjit_init_p — Leam Hall <leamhall@...>

I pulled Ruby trunk on 3 Jul and am now getting errors similar to the

10 messages 2018/07/07

[#88088] [Ruby trunk Misc#14937] [PATCH] thread_pthread: lazy-spawn timer-thread only on contention — normalperson@...

Issue #14937 has been reported by normalperson (Eric Wong).

9 messages 2018/07/24

[ruby-core:87995] [Ruby trunk Bug#6282] strptime and fractions of seconds

From: mhsver@...
Date: 2018-07-19 00:33:33 UTC
List: ruby-core #87995
Issue #6282 has been updated by mhsver (Michael  S).


The docs at ruby-doc.org doesn't seem to reflect the fact that this functionality isn't available.

----------------------------------------
Bug #6282: strptime and fractions of seconds
https://bugs.ruby-lang.org/issues/6282#change-73011

* Author: lparra (Luis Parravicini)
* Status: Rejected
* Priority: Normal
* Assignee: tadf (tadayoshi funaba)
* Target version: 
* ruby -v: trunk
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
=begin
DateTime::strptime refers us to #strftime to check the format to use.
DateTime#strftime says fractions of seconds can be specified with %N, %3N, %6N, %9N and %12N but strptime only recognizes %N.


 >  d = DateTime.strptime("1:2:3.123", '%H:%M:%S.%3N')
 ArgumentError: invalid date

And this works:

 > d = DateTime.strptime("1:2:3.1234567901234567890", '%H:%M:%S.%N') 
 > d.sec_fraction
  => (123456790123456789/1000000000000000000) 

I don't know whether it's a bug or the intended functionality but shouldn't it say somewhere in the documentation about this?

=end



-- 
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