Activity
From 07/29/2017 to 08/04/2017
08/04/2017
-
05:21 PM Bug #13781: Should the safe navigation operator invoke `nil?`
- > is there an actual use case? I very much doubt there is one
This is what some filed issues appear to be - a mostly theoretical
view that does not appear to be likely to emerge.
When Hiroshi filed the request, I do not think tha... -
04:59 AM Bug #13781: Should the safe navigation operator invoke `nil?`
- Short answer is "no".
Longer answer is:
- is there an actual use case? I very much doubt there is one
- BasicObject does not respond to `nil?`, so the safe operator would not work in that case?
- other Ruby conditional (like `if fo... -
03:18 AM Bug #13781 (Closed): Should the safe navigation operator invoke `nil?`
- In the following example:
~~~
class Later < BasicObject
def initialize(&block)
raise ::ArgumentError, "Block required" unless block
if block.arity > 0
raise ::ArgumentError, "Cannot store a promise that requires an ar... - 05:05 PM Revision 206596c8 (git): * 2017-08-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:05 PM Revision 60c253e2 (git): * man/ruby.1: Move paragraph which is related to -S, not -s.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:20 PM Feature #13784 (Closed): Add Enumerable#filter as an alias of Enumerable#select
- Ruby has a full set of functional tools in the Enumerable module under the "-ect" methods (viz. collect, select, inject). However the usual industry terms for these are map, filter, and reduce.
For example, Swift, Python, and ECMAScr... -
04:13 PM Bug #13755: Null pointer dereference in hash_table_index()
- ruby_2_4 r59507 merged revision(s) 59374.
-
04:13 PM Revision f7bd8a08 (git): merge revision(s) 59374: [Backport #13755]
- compile.c: restore stack at return
* compile.c (iseq_compile_each0): restore the stack depth after
return to the previous depth, to fix the stack depth at
returning from rescue iseq. [ruby-core:82108] [Bug #... -
03:55 PM Bug #13759: SEGV in StringScanner
- ruby_2_4 r59506 merged revision(s) 59384.
-
03:55 PM Revision 2badceae (git): merge revision(s) 59384: [Backport #13759]
- strscan.c: fix segfault in aref
* ext/strscan/strscan.c (strscan_aref): fix segfault after
get_byte or getch which do not apply regexp.
[ruby-core:82116] [Bug #13759]
git-svn-id: svn+ssh://ci.ruby-lang.org/r... -
03:29 PM Bug #13599: Float#ceil(n) doesn't work for small floats
- ruby_2_4 r59505 merged revision(s) 58913.
-
03:29 PM Revision 2072eccd (git): merge revision(s) 58913: [Backport #13599]
- numeric.c: fix for small number
* numeric.c (flo_floor, flo_ceil): should not return zero for small
number. [ruby-core:81394] [Bug #13599]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@59505 b2dd03c8-... -
03:06 PM Bug #13605: GC bug calling `ObjectSpace.each_object`
- ruby_2_4 r59503 merged revision(s) 59063.
- 03:06 PM Revision 00992ff8 (git): * 2017-08-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@59504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:06 PM Revision 8343847b (git): merge revision(s) 59063: [Backport #13605]
- * proc.c (get_local_variable_ptr): return found env ptr. Returned env
will be used by write barrier at `bind_local_variable_set()'.
[Bug #13605]
* test/ruby/test_proc.rb: add a test for this issue.
git-svn-... -
02:57 PM Revision 41e1670a (git): use stable sort.
- * lib/rubygems/resolver.rb (sort_dependencies): use stable sort.
TestGemRequestSetLockfile#test_to_s_gem_dependency_non_default
fails because this method return unstable results.
Note that Enumerable#sort_by is unstable.
I'm not... -
02:39 PM Bug #13411: Need to add OPTDIR to rpath earlier in configure
- ruby_2_4 r59501 merged revision(s) 58287.
-
02:39 PM Revision b7f7b0a2 (git): merge revision(s) 58287: [Backport #13411]
- configure.in: rpath with OPTDIR
* configure.in: add rpath flags which is needed for OPTDIR as well
as -L options, when it is given. [ruby-dev:50065] [Bug #13411]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/r... -
02:31 PM Bug #13391: wrong number of arguments error for Hash#map when lambda given
- ruby_2_4 r59500 merged revision(s) 59357,59358.
-
02:31 PM Revision 56847290 (git): merge revision(s) 59357,59358: [Backport #13391] [Backport #13404]
- proc.c: rb_block_min_max_arity
* proc.c (rb_block_min_max_arity): new function to get arity range
from the current block.
vm_eval.c: rb_lambda_call
* enum.c (enum_collect): make the block arity same as... -
01:57 PM Feature #13780 (Assigned): String#each_grapheme
- Accepted.
I'll introduce this in Ruby 2.5. -
12:10 PM Bug #13783 (Feedback): Memory allocation / GC does not free unused memory
- Hmm, I don't know exactly why so this might not fork for you but at least on my machine, the situation seems fixed in latest trunk. Can you test?
```
zsh % rbenv shell 2.4.1
zsh % ruby -v
ruby 2.4.1p111 (2017-03-22 revision 58053)... -
10:30 AM Bug #13783 (Closed): Memory allocation / GC does not free unused memory
- 100.times {x=[]; 1000000.times {|i| x.push [i,i*3]} }
100.times should use (more or less) the same memory as 3.times,
also GC.start after x=[] doesn't help!
Problem: system begins swapping if doing that many times (using large data a... -
12:00 PM Revision 92c52f08 (git): Fix `NameError: uninitialized constant Net`
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:59 AM Revision 01eb8d77 (git): Use `register_scanner` instead of `regist_scanner`
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:59 AM Revision 3b1987fb (git): Add deprecated warning to ERB::Compiler::SimpleScanner2
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:55 AM Bug #13782 (Closed): Backport r57733: kwrest arg name in --dump=parsetree
- Please backport r57733.
kwrest arg name
* compile.c (iseq_set_arguments_keywords): make keyword rest
argument name nd_vid consistently, regardless of whether other
keyword arguments are present. [Fix GH-1... -
04:39 AM Revision 2b770b46 (git): string.c: improve String#scan
- * string.c (rb_str_rstrip_bang): improve the performance in 50%
for a string pattern, and in 10% for a regexp pattern. get rid
of making MatchData in middle, which is not used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5949... - 04:25 AM Revision 8ba320a4 (git): * 2017-08-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:25 AM Revision c751bad5 (git): benchmarks for String#scan
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
08/03/2017
-
09:11 PM Feature #13780: String#each_grapheme
- shevegen (Robert A. Heiler) wrote:
> My only concern is about the name "grapheme".
> ...
I think the term is correct and it complements #codepoints and #each_codepoint. In Elixir for example:
~~~
"🇺🇸🇦🇫" |> String.codepoints #=> ["🇺... -
07:09 PM Feature #13780: String#each_grapheme
- My only concern is about the name "grapheme".
I don't know how it is for others but ... this is the first time that I even heard the
term. -
06:35 PM Feature #13780 (Closed): String#each_grapheme
- Ruby's regex engine has support for graphemes via `\X`:
https://github.com/k-takata/Onigmo/blob/791140951eefcf17db4e762e789eb046ea8a114c/doc/RE#L117-L124
This is really useful when working with Unicode strings. However, code like `... -
04:00 PM Bug #13682: return inside of ensure causes [BUG]
- ruby_2_4 r59493 merged revision(s) 59183,59184.
-
04:00 PM Revision 91b51140 (git): merge revision(s) 59183,59184: [Backport #13682]
- fix return in toplevel rescue/ensure
* compile.c (iseq_compile_each0): throw TAG_RETURN at return in
toplevel rescue/ensure to adjust VM stack properly.
[ruby-core:81777] [Bug #13682]
* vm_insnhelper... -
03:41 PM Bug #13690: next in once causes [BUG]
- ruby_2_4 r59492 merged revision(s) 59202.
-
03:41 PM Revision b17da781 (git): merge revision(s) 59202: [Backport #13690]
- compile.c: disallow next in once
* compile.c (iseq_compile_each0): turned dregx context in "once"
into "guarded" type from "block" type, to disallow `next`,
`break`, `redo` as well as outside "once".
... -
03:40 PM Bug #13680: break in once causes [BUG]
- ruby_2_4 r59491 merged revision(s) 59181.
-
03:40 PM Revision 47a35742 (git): merge revision(s) 59181: [Backport #13680]
- vm_insnhelper.c: break in once
* vm_insnhelper.c (vm_throw_start): size of catch table has been
included in iseq_catch_table struct, which could be NULL, since
2.2. e.g., proc-closure in `once'.
[r... -
02:00 PM Bug #13678: toplevel return causes [BUG]
- ruby_2_4 r59490 merged revision(s) 59169.
-
02:00 PM Revision 9b586688 (git): merge revision(s) 59169: [Backport #13678]
- compile.c: toplevel return in argument
* compile.c (iseq_compile_each0): adjust the stack before return
in an evstr/argument (reported by Balazs <balazs@kutilovi.cz>)
to fix stack consistency error. [ruby-co... -
01:43 PM Bug #11033: OpenSSL related threading issues in Ruby 2.1 and 2.2
- ruby_2_4 r59489 merged revision(s) 58742,59081.
-
01:43 PM Revision b08e0ade (git): merge revision(s) 58742,59081: [Backport #11033]
- Search SSL libraries by testing various filename patterns
* ext/openssl/extconf.rb (find_openssl_library): should search by more flexible
method, especially for LibreSSL on Windows.
openssl: import v2.0.4
... -
01:29 PM Bug #13523: negative line numbers in instance_eval are misinterpreted in 32-bit ruby-trunk
- ruby_2_4 r59488 merged revision(s) 58503.
-
01:29 PM Revision 16acdaef (git): merge revision(s) 58503: [Backport #13523]
- node.h: sign-extend
* node.h (nd_line): should sign-extend. shifting `VALUE` extends
with zero bits if `sizeof(VALUE)` equals to `sizeof(int)`. the
zero bits are truncated if `sizeof(VALUE)` is bigger enoug... -
12:31 PM Revision 9135c8c3 (git): Use the same variable name as in dir.c
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:39 AM Revision 2e5f59f8 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:39 AM Revision dc7f2cd5 (git): Add initial test for lldb extension
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:11 AM Revision 4f8107a4 (git): disable rdoc for internal constants [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:09 AM Revision 1ebd2b37 (git): ruby.h: NULL as empty array
- * include/ruby/ruby.h (rb_yield_values, rb_funcall): call with
NULL when no arguments, for clang which defines static array
when an empty array is used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59483 b2dd03c8-39d4-4d8f-98ff... -
07:08 AM Revision 2d3c3315 (git): extract IDs
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:13 AM Revision 76857f8e (git): dir.c: reduce syscalls
- * dir.c (glob_helper): utilize d_type even if no recursive
pattern, to reduce stat/lstat syscalls in subsequent
glob_helper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:41 AM Revision 2a5c20ac (git): fix typo in help [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:39 AM Revision 1ef613dd (git): dir.c: relative path Dir base
- * dir.c (glob_helper): fix globbing based on a relative path Dir.
[Feature #13056]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:31 AM Revision 6c676acf (git): Should show the entity of $PATH_SEPARATOR
- * win32/configure.bat (--help): should show the entity of $PATH_SEPARATOR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:25 AM Revision 3bec82c7 (git): Mention about `--with-opt-dir`
- * win32/configure.bat (--help): mention about `--with-opt-dir`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:14 AM Revision 83a31e9e (git): dir.c: relax base option
- * dir.c (dir_glob_options): relax base option. ignore when nil
or an empty string as :base option. [Feature #13056]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:53 AM Revision 432e6805 (git): spec_helper.rb: pass jobserver fds
- * spec/rubyspec/optional/capi/spec_helper.rb (compile_extension):
pass jobserver fds explicitly, because other specs might have
set close_on_exec flags on these fds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59475 b2dd03c8-3...
08/02/2017
-
09:48 PM Revision 46085e91 (git): fix stack storing for root fibers.
- * cont.c (root_fiber_alloc): this function is called by fiber_current()
and fiber_store(). fiber_current() should clear VM stack information
in a fiber data because runnning thread knows stack information and has
responsibility to ... -
09:44 PM Bug #13779 (Third Party's Issue): Rails Console Crashing 2 Days in a Row
-
04:30 PM Bug #13779 (Third Party's Issue): Rails Console Crashing 2 Days in a Row
- ```
testlabserverold:plus_achieve admin$ rails c
Running via Spring preloader in process 21136
/Users/admin/.rvm/gems/ruby-2.4.1@global/gems/activerecord-5.1.2/lib/active_record/connection_adapters/sqlite3_adapter.rb:30: [BUG] Segment... -
05:51 PM Feature #13570 (Closed): Using mkmf for ruby/spec C API specs
-
03:10 PM Revision a2078e7c (git): Fix URI::FTP.build code example typo
- ref https://github.com/rurema/doctree/pull/462
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:10 PM Revision c8247a6b (git): Fix variable name in example of net/pop
- [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:10 PM Revision b93aea84 (git): Fix net/pop code example syntax error
- ref https://github.com/rurema/doctree/pull/455
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:10 PM Revision 58cef450 (git): * 2017-08-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:10 PM Revision 42fbe19f (git): Fix cgi/core code example missing comma
- ref https://github.com/rurema/doctree/pull/448
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:27 AM Revision bc5d11bc (git): Port more commands from .gdbinit to lldb
- * misc/lldb_cury.py (dump_node, SDR, rb_count_objects): added
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:02 AM Revision 82389879 (git): suppress warnings when RUBY_USE_SETJMPEX
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:40 AM Revision 5ba4d948 (git): eval.c: suppress warnings
- * eval.c (exc_setup_message): setup exception message as an
exception instance, and a cause from a previous exception.
split from setup_exception to suppress a warning when
RUBY_USE_SETJMPEX is enabled.
* eval.c (setup_exception):... - 02:20 AM Revision 71d16ad5 (git): ipaddr is now a default gem with an upstream at: https://github.com/ruby/ipaddr
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:19 AM Revision 8397de00 (git): Partly reverted email notification on travis configuration.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:14 AM Bug #13778 (Feedback): net/http.rb:879 TCPSocket.open fail
- 2.2.4 is out of date.
Could you try more recent versions? -
02:11 AM Bug #13537: ruby crash in rb_gc_mark
- could you with check recent trunk (2.5dev)? I'm not sure recent 2.4 has backport patch (r59063).
-
12:54 AM Revision a2fcfba5 (git): eval.c: fix state type
- * eval.c (setup_exception): state is a raised thread flag, not for
EXEC_TAG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:50 AM Bug #13772 (Closed): Memory leak recycling stacks for threads in 2.4.1
- Applied in changeset trunk|r59462.
----------
release VM stack properly.
* cont.c: r55766 change the handling method of Fiber's VM stack.
Resumed Fiber points NULL as VM stack and running Thread has
responsibility to manage it (mar... -
12:50 AM Revision 92f7813a (git): release VM stack properly.
- * cont.c: r55766 change the handling method of Fiber's VM stack.
Resumed Fiber points NULL as VM stack and running Thread has
responsibility to manage it (marking and releasing).
However, thread_start_func_2()@thread.c and thread_... - 12:20 AM Revision b7f205d5 (git): * 2017-08-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:20 AM Revision 3ba550c1 (git): Remove "make update-rubyspec"
- because it is no-op for compatibility
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
08/01/2017
-
10:30 PM Bug #13778 (Closed): net/http.rb:879 TCPSocket.open fail
- I had a error on use evil-proxy in ruby 2.2.4, please see attached.
-
12:14 PM Misc #13704 (Assigned): [PATCH] Exclude Changelog files from documentation.
- I'm not sure that html page of Changelog is not valuable.
Example, permalink of changelog: https://docs.ruby-lang.org/en/2.4.0/ChangeLog-2_4_0.html#label-2016-11-07
I'm going to discuss this issue at next Developer Meeting.
-
11:59 AM Revision ae6625c5 (git): assertions.rb: AllFailures#message encoding
- * test/lib/test/unit/assertions.rb (AllFailures#message): put
indented messages back to the original encoding, to get rid of
Encoding::CompatibilityError when key has non-ASCII characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby... -
08:32 AM Revision 4eafec5e (git): parse.y: simplify parse_ident
- * parse.y (parse_ident): simplified selecting identifier types by
the suffix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:15 AM Bug #13537: ruby crash in rb_gc_mark
- I get the same error running the Pry rspec suite.
~~~
[BUG] rb_gc_mark(): 0x000000036d2bc8 is T_NONE
~~~
The value 0x000000036d2bc8 varies.
Using ruby 2.4.2p161 (2017-07-23 revision 59409) [x86_64-linux]
When I change RGENG... -
05:08 AM Bug #13772: Memory leak recycling stacks for threads in 2.4.1
- I'm going to set Backport field based on the report at https://bugs.ruby-lang.org/issues/13772#note-1
-
02:10 AM Bug #13775 (Closed): Ruby hangs when calling scope and belongs_to many times (with mongomapper)
- Applied in changeset trunk|r59457.
----------
should not copy promoted flags.
* include/ruby/ruby.h (rb_clone_setup): should not copy some flags
(FL_PROMOTED0|FL_PROMOTED1|FL_FINALIZE).
[Bug #13775]
* test/ruby/test_object.rb: add... -
01:07 AM Bug #13775: Ruby hangs when calling scope and belongs_to many times (with mongomapper)
- mtsmfm (Fumiaki Matsushima) wrote:
> Oops!
> ...
Thank you. reproduced.
I guess this is a GC issue.
Here is a reproducible code with cflags="-DRGENGC_CHECK_MODE=2" build.
this code works fine (= no [BUG]) without RGENGC_CHECK_MODE... -
02:10 AM Revision fb29a4dc (git): should not copy promoted flags.
- * include/ruby/ruby.h (rb_clone_setup): should not copy some flags
(FL_PROMOTED0|FL_PROMOTED1|FL_FINALIZE).
[Bug #13775]
* test/ruby/test_object.rb: add a test (note that this test will fail
only when RGENGC_CHECK_MODE >= 2).
gi... - 12:19 AM Revision 66cc7e04 (git): * 2017-08-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:19 AM Revision 53b88cc6 (git): Use `&.` instead of modifier if
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/31/2017
-
11:59 PM Bug #13772 (Assigned): Memory leak recycling stacks for threads in 2.4.1
-
02:28 PM Bug #13772: Memory leak recycling stacks for threads in 2.4.1
- On Friday I downgraded one of our clusters, this is how it looks.
 -
02:22 PM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
- there's a good article about this
https://research.swtch.com/glob
https://perl5.git.perl.org/perl.git/commitdiff/33252c318625f3c6c89b816ee88481940e3e6f95?hp=57ab6c610267dba697199c8256f4258af7d391c1
take a look at the python's implem... -
11:18 AM Feature #13770: Can't create valid Cyrillic-named class/module
- I'm uncertain about the usage of `mbc_case_fold`.
```diff
diff --git i/parse.y w/parse.y
index 02d9412a2c..96f25d893e 100644
--- i/parse.y
+++ w/parse.y
@@ -7790,6 +7790,8 @@ parse_atmark(struct parser_params *parser, const enum ... -
09:21 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
- Just to add, Puma has a HTTP parser (and perhaps other bits) written in C, while Falcon is pure Ruby, yet Falcon has better/similar performance in my (hopefully unbiased) tests. Additionally, Falcon had significantly lower latency, and t...
-
09:19 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
- I am following this thread and I find it really fascinating.
Thanks everyone for thinking about these issues and Eric for your insightful work and ideas. Just as an aside, I feel like something is being lost in translation w.r.t. the ... -
05:55 AM Bug #13775: Ruby hangs when calling scope and belongs_to many times (with mongomapper)
- wanabe (_ wanabe) wrote:
> I couldn't reproduce because of lack of docker-compose.yml (and maybe Dockerfile).
> ...
Oops!
Sorry, I committed and pushed! -
01:04 AM Bug #13775: Ruby hangs when calling scope and belongs_to many times (with mongomapper)
- I couldn't reproduce because of lack of docker-compose.yml (and maybe Dockerfile).
```
$ docker-compose run ruby-2-4-1
ERROR:
Can't find a suitable configuration file in this directory or any
parent. Are you in ... -
04:04 AM Revision bf87195e (git): configure.in: use libtool
- * configure.in: use libtool on macOS to suppress a warning against
debug_counter.o, which has no symbols unless USE_DEBUG_COUNTER
is set to non-zero.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59454 b2dd03c8-39d4-4d8f-98ff-82... - 03:35 AM Revision 2fa38c59 (git): * 2017-07-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:35 AM Revision d9d2bbe4 (git): Improve error message
- ref [Bug #13761]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/30/2017
-
02:59 PM Revision 84d83482 (git): UNALIGNED_MEMBER_ACCESS only for clang
- * eval_intern.h (UNALIGNED_MEMBER_ACCESS): enable only on clang.
gcc does not complain about pointers to member of unaligned
struct.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:48 PM Revision 2b582b7c (git): UNALIGNED_MEMBER_ACCESS
- * eval_intern.h (UNALIGNED_MEMBER_ACCESS): suppress
address-of-packed-member warnings by clang 4.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:36 PM Feature #13777: Array#delete_all
- I myself usually use .reject! and .select! and then apply the reverse prior to that
if I need to keep these entries as well (or respectively without the '!').
My approach also needs more lines.
If I understood it correctly so then... -
07:12 AM Feature #13777 (Rejected): Array#delete_all
- I want Array#delete_if which returns array of deleted values.
For following code,
~~~
array = ["a", "aa", "ab", "bb", "c"]
result = {}
until array.empty?
key = array.first
group, array = array.partition { |v| v.start_with?... -
02:56 AM Revision f9d5843f (git): hash.c: refactor env_enc_str_new
- * hash.c (env_enc_str_new): convert to the expected encoding
without intermediate string, and set econv flags if default
internal encoding is set too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59449 b2dd03c8-39d4-4d8f-98ff-8... -
02:56 AM Revision 8458e709 (git): string.c: rb_str_initialize
- * string.c (rb_str_initialize): new function to (re)initialize a
string with data and encoding. extracted from
rb_external_str_new_with_enc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:40 AM Revision c3c215e2 (git): * 2017-07-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:40 AM Revision 44544c03 (git): compile.c: replace adjuststack
- * compile.c (iseq_set_sequence): replace adjuststack with pop, or
remove if possible instead of two nops.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/29/2017
-
12:42 PM Bug #13776 (Closed): Refined methods ignore visibility of inherited methods
- Applied in changeset trunk|r59445.
----------
visibility of inherited method
* vm_insnhelper.c (vm_call_method_each_type): honor the original
visibility of inherited methods when a refinement is defined but
not activated. [ruby-co... -
09:19 AM Bug #13776 (Closed): Refined methods ignore visibility of inherited methods
- This bug was pointed out by al2o3-cr on the #ruby IRC channel on freenode. The following code sleeps for 3 seconds, even though `String#sleep` is a private method.
```ruby
module Test
refine String do
def sleep; end
end
e... -
12:42 PM Revision 3449d4fa (git): visibility of inherited method
- * vm_insnhelper.c (vm_call_method_each_type): honor the original
visibility of inherited methods when a refinement is defined but
not activated. [ruby-core:82209] [Bug #13776]
Author: Mon_Ouie (Mon ouïe) <mon.ouie@gmail.com>
gi... -
12:42 PM Revision 97c977de (git): adjust indent [ci skip]
- * vm_insnhelper.c (vm_call_method_each_type): adjust indent of a
block in switch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:11 PM Revision 4905a62f (git): file.c: [DOC] File.mkfifo
- * file.c (rb_file_s_mkfifo): enclose rdoc by ifdef so it will be
generated properly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:03 AM Revision c1d5d16c (git): compile.c: fix flip-flop value
- * compile.c (iseq_compile_each0): as compile_flip_flop always ends
with a jump instruction, successive instruction is never reached,
but caused stack consistency error without peephole optimization.
git-svn-id: svn+ssh://ci.ruby-lan... -
12:17 AM Feature #13770: Can't create valid Cyrillic-named class/module
- To distinguish non-ASCII upper/lower cases would lead non-ASCII punctuations too.
ASCII punctuations cannot be a part of identifiers, will non-ASCII versions be same?
BTW, I think Japanese has no or little concept of plural, except t...