Activity
From 06/24/2020 to 06/30/2020
06/30/2020
-
10:07 PM Feature #17002 (Closed): Extend heap pages to exactly 16KiB
- Hi,
I would like to extend heap pages to be exactly 16KiB. Currently, `struct heap_page_body` is 16KiB - `(sizeof... -
07:57 PM Feature #17001 (Open): [Feature] Dir.scan to yield dirent for efficient and composable recursive directory scaning
- ### Use case
When you need to recusrsively scan a directory, you either have to use `Dir[]` / `Dir.glob`, which is... -
04:29 PM Feature #17000: 2.7.2 turns off deprecation warnings by default
- I understand (and also had to feel) the pain points. I can't imagine what this would have been with duplication warni...
-
11:52 AM Feature #17000 (Closed): 2.7.2 turns off deprecation warnings by default
- Matz has decided to disable deprecation warnings for 3.0 keyword separation by default because many users feel them n...
-
02:58 PM Feature #16891 (Rejected): Restore Positional Argument to Keyword Conversion
-
10:12 AM Revision 1351374b (git): Split visibility cases
-
10:12 AM Revision 52ef2477 (git): Extracted METHOD_ENTRY_CACHEABLE macro
-
10:12 AM Revision 74ac1283 (git): Evaluate macros argument just once
-
10:03 AM Revision 7cb8904a (git): Extract correct processor name for ARM64 Macs
- 08:14 AM Revision 15a312ed (git): * 2020-06-30 [ci skip]
-
08:13 AM Revision eefc2d8a (git): Fix a typo [ci skip]
-
07:13 AM Feature #16984: Remove write barrier exemption for T_ICLASS
- > Could you measure the memory/objects consumption before and after this patch if it is not difficult?
I took meas... -
04:48 AM Bug #16974 (Assigned): frozen string issue in lib/reline/ansi.rb on ruby-2.7.1
06/29/2020
-
01:49 PM Bug #16988: Kernel.load loads file from current directory without '.' in path
- nobu (Nobuyoshi Nakada) wrote in #note-1:
> I don’t this is an implementation bug, but a documentation issue.
Sho... -
08:39 AM Bug #16998 (Closed): [Backport] support for Bison 3 to 2.6 and 2.7
- To build with latest Bison 3.5, the following commits are needed.
### for [2.7]:
* `8e694129305a3978313cf4bcd463c... -
07:59 AM Feature #16378: Support leading arguments together with ...
- Thank you for your notice and providing the patch. I will take a look into it.
-
04:25 AM Revision 3621a7de (git): Avoid deprecated OpenSSL::Digest constants
-
03:33 AM Revision 1ce9c372 (git): Revert "RBIMPL_UNREACHABLE_RETURN: evaluate the argument"
- This reverts commit c8dc2bf1401fc01d35a4a7587ed224f1f2fe29e6.
No longer necessary. -
02:43 AM Revision 94ab244b (git): rb_class_modify_check: add UNREACHABLE
- (I was not aware of this because I use clang, but) it seems gcc cannot
detect reachablility of this point. It render... - 02:06 AM Revision 1020e120 (git): * 2020-06-29 [ci skip]
-
02:05 AM Revision a523eca1 (git): rb_enc_symname_type: refactor split
- Reduce goto by splitting the function.
-
02:05 AM Revision 2bd0f37e (git): glob_opendir: move cleanup codes at the end
- Nobu likes this arrangement.
-
02:05 AM Revision da8af471 (git): find_time_t: reset status before goto
-
02:05 AM Revision de3e931d (git): add UNREACHABLE_RETURN
- Not every compilers understand that rb_raise does not return. When a
function does not end with a return statement, ... -
02:05 AM Revision c8dc2bf1 (git): RBIMPL_UNREACHABLE_RETURN: evaluate the argument
- Prevent casual typos inside of UNREACHABLE_RETURN(...).
-
02:05 AM Revision bacd03eb (git): compile_redo: fix wrong condition
-
02:05 AM Revision 2b636dc8 (git): make_exception: early return
- The rb_exc_new3() result is already ready to be returned. No need to
fall through the switch. -
02:05 AM Revision 801752f5 (git): builtin_class_name: add variant that return VALUE
- Found that `if (builtin_class_name) { printf } else { printf }` happens
twice. It would be better if we could elimin... -
02:05 AM Revision 2071c61e (git): tracepoint_inspect: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 1bf0d361 (git): vm_getivar: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 6e67b305 (git): method_missing: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision edb1680a (git): rb_method_call_status: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision f12efec2 (git): vm_exec_handle_exception: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision b95b2497 (git): rb_mod_remove_cvar: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 1e9d5839 (git): rb_copy_generic_ivar: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision fc45a061 (git): generic_ivar_update: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 421db59c (git): rb_path_to_class: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 3d636ecc (git): make_econv_exception: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision fd0e9358 (git): time_mload: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision ed6938ef (git): indent [ci skip]
-
02:05 AM Revision 83f6de86 (git): find_time_t: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision ce6be888 (git): utc_offset_arg: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 1c0a97bf (git): vtm_add_offset: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 0fc56936 (git): num_exact: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision f402dc35 (git): rb_szqueue_push: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 8fc89121 (git): exec_recursive: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 08fc718e (git): indent [ci skip]
-
02:05 AM Revision ad6512f3 (git): rb_enc_synmane_type: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 5f926b2b (git): rb_str_partition: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision e3d821a3 (git): rb_str_crypt: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision a5ae9aeb (git): trnext: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision c7a40731 (git): chompped_length: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision fdae2063 (git): get_pat_quoted: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 673ddea9 (git): get_pat: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 31e5d138 (git): rb_str_slice_bang: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 19f2cabe (git): rb_str_aset: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 841eea4b (git): rb_str_subpat_set: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 0358846f (git): rb_str_update: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision d49924ed (git): rb_str_match: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision c422fc4b (git): rb_str_rindex_m: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision c29ec1ef (git): rb_str_index_m: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 6df790f2 (git): rb_enc_cr_str_buf_cat: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 31a770ac (git): rb_strftime_with_timespec: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision b5eeb345 (git): trap_handler: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 224e9c38 (git): signm2signo: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 7cf46256 (git): feature_option: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 689dd3ae (git): parse_rat: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision d7eec15f (git): rb_rational_cmp: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 9c5804ac (git): range_each: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision cc27cd26 (git): rand_range: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 08202d1f (git): check_exec_redirect: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 92986313 (git): check_exec_redirect_fd: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 2bfac015 (git): proc_binding: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 3db15919 (git): rb_obj_singleton_method: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 8b9b51bb (git): rb_method_name_error: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 2390a8bd (git): bind_local_variable_get: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 82ed66a7 (git): rb_cstr_to_dbl_raise: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 06ed9a7a (git): rb_convert_to_integer: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 26896207 (git): rb_mod_const_location: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 60212cd8 (git): rb_mod_const_defined: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 3b8d9bad (git): rb_mod_const_get: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 1f6e7410 (git): class_or_module_required: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 03354feb (git): fix_pow: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 250189f5 (git): int_pow: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision bf19820b (git): flo_to_s: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 41703fcf (git): r_object0: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 6575766e (git): search_required: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision e551dfda (git): rb_feature_p: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 9e92292e (git): rb_io_modestr_fmode: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 0e4ee715 (git): rb_io_each_codepoint: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 1e846142 (git): rb_hash_transient_heap_evacuate: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 5f605382 (git): any_hash: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision b5adaa8d (git): goruby_options: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision c5f43451 (git): get_envparam_double: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 22811848 (git): gc_marks_finish: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision e9cb092b (git): rb_f_stat: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 4606ec49 (git): make_exception: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 13bdbfce (git): setup_exception: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 0b1b7345 (git): rb_class_modify_check: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision a2677815 (git): rb_check_typeddata: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision c47b805d (git): add spaces [ci skip]
-
02:05 AM Revision d060ebf8 (git): sum_iter: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 5e960545 (git): dln_find_1: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 99073f49 (git): glob_opendir: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 70857ae1 (git): glob_make_pattern: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 9c92dcf3 (git): ibf_dump_object_object: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision a8d992ac (git): compile_call: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision aa2cb7f7 (git): compile_redo: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision cf29de7e (git): compile_next: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision cc1e9b8e (git): compile_break: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 1f90690a (git): compile_branch_condition: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision a6b1454a (git): optimize_checktype: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision a5342f46 (git): iseq_set_exception_table: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision a93da497 (git): cmp_clamp: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 3a3728e4 (git): singleton_class_of: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 86e3d637 (git): SPECIAL_SINGLETON: no longer used
- This macro does not improve any readability and/or runtime performance.
-
02:05 AM Revision 8d182b04 (git): builtin_lookup: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 9ec4f1f2 (git): rb_big_aref: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 184f0ab4 (git): rb_int_parse_cstr: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 5a7c0dd0 (git): str2big_scan_digits: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 4dfc2f2e (git): bary_mul_karatsuba_branch: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision e634a9d1 (git): node_children: do not goto into a branch
- Was this an autogenerated function? This tendency of avoiding empty
branches are no longer preserved (see for instan... -
02:05 AM Revision 4f242554 (git): rb_ary_slice_bang: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 73f98d25 (git): ary_join_1: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 4dc83eef (git): rb_ary_aset: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 2d6f8db3 (git): add spaces [ci skip]
-
02:05 AM Revision 86c869fb (git): ary_ensure_room_for_unshift: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor. -
02:05 AM Revision 2e8d8d10 (git): rb_ary_behead: do not goto into a branch
- I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor.
06/28/2020
-
07:07 PM Bug #16510: irb crashes when hitting 'Home' or 'End' keys
- I noticed this issue when I connect to my Ubuntu 20.04 server and I press Home or End in the Rails console. This is a...
-
05:14 AM Revision 09b936d8 (git): Calculate header line count instead of hardcoding
-
05:12 AM Revision 1020f7e3 (git): Replace separators in input file name in header too
-
04:20 AM Revision 44a659ad (git): Replace ALT_SEPARATOR with SEPARATOR also in output file name
- To suppress warnings by Visual C.
```
./integer.rb(5) : warning C4129: 'i' : unrecognized character escape sequence
.... -
01:40 AM Revision 48fb6299 (git): [ruby/fiddle] support for very old libffi
- Define `Fiddle::TYPE_VARIADIC` only when `ffi_prep_cif_var` is
available, otherwise skip the test for it.
06/27/2020
-
09:26 PM Bug #16997 (Open): IO#gets converts some \r\n to \n with universal_newline: false
- Reproduction code:
```
IO.binwrite "t.csv", ("a" * 100 + "\r\n") * 100
File.open("t.csv", encoding: "BOM|UTF-8",... -
07:12 PM Feature #16984: Remove write barrier exemption for T_ICLASS
- Thank you for great work. This kind of hack can cause BUGs easily.
> Private app A's heap size is about 22 MiB com... -
06:31 PM Feature #16986: Anonymous Struct literal
- First of all, this is super cool idea!
I do have habit to use hash since it is seems to be elegant (as described i... -
06:08 PM Feature #16986: Anonymous Struct literal
- Other syntax ideas, by others:
* Other prefixes
* `::{a: 1}`
* `\{a: 1}`
* `<>` to indicate
* `{<> a:1}` for a... -
05:55 PM Feature #16986: Anonymous Struct literal
- # Q&A
## Splat like Hash literal and method arguments
https://bugs.ruby-lang.org/issues/16986#note-3
> I was wonder... -
02:28 PM Feature #16986: Anonymous Struct literal
- I like the idea of being able to quickly create an anonymous Struct but am concerned about the use of `$` for the syn...
-
12:37 PM Feature #16986: Anonymous Struct literal
- `struct = (a: 1, b: 2)` would be a great syntax, because I think anonymous struct is something like Tuple of Python.
... -
05:07 PM Revision 0703e014 (git): Mark some Integer methods as inline (#3264)
- 05:03 PM Revision 247dd874 (git): * 2020-06-28 [ci skip]
-
04:37 PM Bug #16996: Hash should avoid doing unnecessary rehash
- Dan0042 (Daniel DeLorme) wrote in #note-2:
> Shouldn't the rehash be tied to a change in the number of buckets rathe... -
04:00 PM Bug #16996: Hash should avoid doing unnecessary rehash
- Very surprising results for `Hash#dup`. I even tried `h.rehash` before the benchmark, with no effect.
Shouldn't th... -
11:48 AM Bug #16996: Hash should avoid doing unnecessary rehash
- Completely agreed, `Hash#dup` should not rehash (and it already doesn't on TruffleRuby).
-
08:20 AM Bug #16996 (Closed): Hash should avoid doing unnecessary rehash
- Pop quiz: Which is the fastest way to get a copy of a Hash `h`?
If, like me, you thought `h.dup` (of course, right... -
04:03 PM Revision c405a8d3 (git): [ruby/fiddle] try bundled libffi by default
- If no installed libffi found, use bundled libffi unless explicitly
`--disable-bundled-libffi` option is given. - 02:54 PM Revision f2bcdc72 (git): [ruby/fiddle] Support MSWIN (#43)
- https://github.com/ruby/fiddle/commit/f16e7ff6e0
- 02:54 PM Revision a40b390b (git): [ruby/fiddle] test windows: use _snprintf
- https://github.com/ruby/fiddle/commit/aa261bdb9f
- 02:54 PM Revision 6429b6d9 (git): [ruby/fiddle] Add missing include
- https://github.com/ruby/fiddle/commit/4ca61efcd7
- 02:54 PM Revision ae18220f (git): [ruby/fiddle] Add support for variadic arguments
- GitHub: fix GH-39
Reported by kojix2. Thanks!!!
https://github.com/ruby/fiddle/commit/6c4cb904dc - 02:54 PM Revision 9f740aca (git): [ruby/fiddle] Use meaningful variable name
- https://github.com/ruby/fiddle/commit/2cac24b7c8
- 02:54 PM Revision 50fbd00e (git): [ruby/fiddle] Use "do { } while (0)" to ensure requiring ";"
- https://github.com/ruby/fiddle/commit/2155ae5979
-
02:40 PM Revision 0faf6c8c (git): Update to ruby/spec@6c466d4
-
02:15 PM Revision 25fbc886 (git): Removed non-ASCII code to suppress warnings by localized compilers
-
01:51 PM Revision b3fa158d (git): Update to ruby/spec@b6b7752
-
01:51 PM Revision 64d8c081 (git): Update to ruby/mspec@6cb1f10
-
09:14 AM Feature #16812: Allow slicing arrays with ArithmeticSequence
- > But a negative start with a non-negative end is quite weird. What is that operation even supposed to mean? What is ...
-
05:44 AM Feature #16993: Sets: from hash keys using Hash#key_set
- sawa (Tsuyoshi Sawada) wrote in #note-2:
> Would
>
> ```ruby
> Set.new(h.each_key)
> ```
>
> not work?
It... -
01:55 AM Feature #16993: Sets: from hash keys using Hash#key_set
- Would
```ruby
Set.new(h.each_key)
```
not work? -
05:43 AM Revision 609ac6ee (git): Revert "Try increasing read timeout of rinda tests"
- This reverts commit 5c03e4680e724faeedb2c5fc1581d5fcb66aaff2.
I gave up stabilizing Rinda::TupleSpaceProxyTest#test_... -
04:53 AM Revision 600f3990 (git): Cosmetic change
-
04:52 AM Revision 7a5a0dfa (git): Suppress "assigned but unused variable" warnings
-
04:51 AM Revision c9ee34a1 (git): Add #deconstruct cache to find pattern
-
04:51 AM Revision 53203757 (git): Optimize array pattern matching by caching #deconstruct value
-
04:51 AM Revision 6770d8f1 (git): Add pattern matching with arrays benchmark
-
03:29 AM Bug #16979: FileUtils#cp_r with preserve, lchmod fails with ENOTSUPP
- ruby_2_7 799c5766a4dc215d139d2c26ac68636f43a64fbf merged revision(s) a19228f878d955eaf2cce086bcf53f46fdf894b9.
-
02:17 AM Bug #16979 (Closed): FileUtils#cp_r with preserve, lchmod fails with ENOTSUPP
- Closed to backport.
-
03:29 AM Revision 799c5766 (git): merge revision(s) a19228f878d955eaf2cce086bcf53f46fdf894b9: [Backport #16979]
- brace the fact that lchmod(2) can EOPNOTSUPP
Musl libc has this function as a tiny wrapper of fchmodat(3posi... -
03:21 AM Bug #16981: [ripper] mismatched indentations warning has disappeared since 2.6
- ruby_2_7 d8a32b146561a0ddd3e60da9863a082b7e7725db merged revision(s) 263b941321c3de6afc8f9dafbc2625f866b7437e.
-
03:20 AM Revision d8a32b14 (git): merge revision(s) 263b941321c3de6afc8f9dafbc2625f866b7437e: [Backport #16981]
- [ripper] fix mismatched indentations warning [Bug #16981]
The scanner location has to be set from `lex.ptok`... -
02:14 AM Feature #16989 (Assigned): Sets: need ♥️
-
02:11 AM Bug #16988: Kernel.load loads file from current directory without '.' in path
- I don’t this is an implementation bug, but a documentation issue.
- 01:55 AM Revision d6c9c014 (git): * 2020-06-27 [ci skip]
-
01:55 AM Revision 74c345c7 (git): Removed no longer used flags
-
01:55 AM Revision 61984d47 (git): Not to rewrite node while compiling
- Moved this hack mark to an argument to `compile_hash`.
> Bad Hack: temporarily mark hash node with flag so
> compile_...
06/26/2020
-
08:43 PM Feature #16995 (Closed): Sets: <=> should be specialized
- This is quite minor, but `Set#<=>` should be refined.
Reminder: `Set` defines `<`, `>`, etc. as inclusion, but doe... -
08:32 PM Feature #16994 (Feedback): Sets: shorthand for frozen sets of symbols / strings
- I would like a shorthand syntax for *frozen Sets of symbols or of strings*.
I am thinking of:
```ruby
%ws{hell... -
08:31 PM Feature #16993 (Open): Sets: from hash keys using Hash#key_set
- To create a set from hash keys currently implies a temporary array for all keys, rehashing all those keys and rebuild...
-
08:30 PM Feature #16992 (Assigned): Sets: officially ordered
- Officially, set elements have uncertain order. This predades when Hash started being ordered (Ruby 1.9.0, Xmas 2007)....
-
08:29 PM Feature #16991 (Closed): Sets: add Set#join
- I'd like to add `#join` to `Set`:
```ruby
# Now:
Set[1, 2, 3].join('x') # => NoMethodError
# After
Set[1, 2, 3... -
08:27 PM Feature #16990 (Open): Sets: operators compatibility with Array
- We currently have `set <operator> array` work fine:
```ruby
Set[1] + [2] # => Set[1, 2]
```
Nothing works in ... -
08:18 PM Feature #16989 (Assigned): Sets: need ♥️
- I am opening a series of feature requests on `Set`, all of them based on this usecase.
The main usecase I have in ... -
07:08 PM Feature #16812: Allow slicing arrays with ArithmeticSequence
- mrkn (Kenta Murata) wrote in #note-7:
> It may be better to change the behavior of `[*0..10][-100..100]`
I somewh... -
06:08 PM Bug #16988 (Closed): Kernel.load loads file from current directory without '.' in path
- Ruby allows to load files using ```Kernel.load``` without explicitly specifying the relative path with ```.``` I'm no...
-
04:22 PM Feature #16986: Anonymous Struct literal
- Thinking a bit more about it, I see more of a conceptual problem.
Introducing new literal in a language, we kinda... -
11:15 AM Feature #16986: Anonymous Struct literal
- > Or yeah just a simple Struct() or Struct[] with no additional syntax as suggested just above.
Actually I just re... -
11:14 AM Feature #16986: Anonymous Struct literal
- > Matz said he thought about {|a: 1, b: 2 |} syntax.
Might be just me but `{|` on first sight makes me think: this... -
11:08 AM Feature #16986: Anonymous Struct literal
- Another (unrelated, but conflicting) matter: I am not sure we have/had a discussion for this, but I remember Bozhidar...
-
11:05 AM Feature #16986: Anonymous Struct literal
- WDYT about half-solution (without syntax change)?
E.g. for me, the problem with `Struct.new(:a, :b).new(1, 2)` is n... -
10:09 AM Feature #16986: Anonymous Struct literal
- hi, I like this idea :)
I was wondering if `${}` can do the following things compared to Hash literals:
```ruby
... -
09:36 AM Feature #16986: Anonymous Struct literal
- First, I like the idea, so +1 for the idea. It also reminds me of
a more "prototypic-based approach" in general with ... -
06:58 AM Feature #16986 (Assigned): Anonymous Struct literal
- # Abstract
How about introducing anonymous Struct literal such as `${a: 1, b: 2}`?
It is almost the same as `Stru... -
03:56 PM Bug #14541: Class variables have broken semantics, let's fix them
- Since it's an error in 3.0, shouldn't it be made a non-verbose warning in 2.7?
-
03:51 PM Feature #16897: General purpose memoizer in Ruby 3 with Ruby 2 performance
- sam.saffron (Sam Saffron) wrote in #note-28:
> If we keep `foo(a: 1)` working a developer may get confused (despite ... -
02:57 PM Feature #16987 (Closed): Enumerator::Lazy vs Array methods
- Enumerations are designed to be greedy (immediately executed on each method call within a chain) by default. Sometime...
-
02:15 PM Feature #16848: Allow callables in $LOAD_PATH
- That's interesting...
My understanding was that the "find" and "load" operations were supposed to be orthogonal, so... -
12:38 PM Feature #16746: Endless method definition
- To add an "opinion perspective"... I, for one, even if not fascinated but at least intrigued by new syntax.
My rea... -
09:51 AM Feature #16985: Improve `pp` for `Hash` and `String`
- I don't have any big preference, but I tend to agree with sawa too.
When I first read the proposal, I was confused i... -
07:58 AM Feature #16985: Improve `pp` for `Hash` and `String`
- I wish the hashrocket stays and the syntax is consistent without exceptions for symbol.
-
06:01 AM Feature #16985: Improve `pp` for `Hash` and `String`
- shyouhei (Shyouhei Urabe) wrote in #note-4:
> There are lots of debatable points on String#inspect (for instance its ... -
02:01 AM Feature #16985: Improve `pp` for `Hash` and `String`
- There are lots of debatable points on String#inspect (for instance its return value depends on runtime locale, why?)....
-
01:44 AM Feature #16985: Improve `pp` for `Hash` and `String`
- For `String`, I meant to say that current format would be kept the same except if the single quote version exist and ...
-
08:40 AM Revision ad1ebefe (git): Avoid duplicated "when"s [ci skip]
-
08:36 AM Revision a0aacd2e (git): Add a NEWS placeholder for disposable cc [ci skip]
- asked by ko1 to put this.
-
08:33 AM Revision 200c5f40 (git): Add NEWS entries about JIT optimizations
- and a related VM improvement.
JIT related commits:
* Code size reduction
* Deduplicate functions on JIT compactio... -
08:05 AM Revision 4949df49 (git): [ruby/fiddle] Fixed typos
- https://github.com/ruby/fiddle/commit/a09e66adf4
https://github.com/ruby/fiddle/commit/6cab9b45d6
https://github.com/... -
06:50 AM Revision 40b40523 (git): Show what's inlined first in "JIT inline" log
- and add a debug log
-
06:33 AM Revision 7982dc1d (git): Decide JIT-ed insn based on cached cfunc
- for opt_* insns.
opt_eq handles rb_obj_equal inside opt_eq, and all other cfunc is
handled by opt_send_without_block... -
05:21 AM Revision 9dbc2294 (git): Collect insns from a child process
- to make sure :opt_invokebuiltin_delegate_leave doesn't become
:(trace_)opt_invokebuiltin_delegate.
This is to preven... -
05:15 AM Revision a640bcee (git): test/ruby/test_settracefunc.rb: Suppress a warning
- http://rubyci.s3.amazonaws.com/ubuntu2004/ruby-master/log/20200626T033003Z.log.html.gz
```
/home/chkbuild/chkbuild/tm... -
05:11 AM Revision 5c03e468 (git): Try increasing read timeout of rinda tests
- To prevent random failure with --jit-wait like
http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/3026615 -
01:21 AM Revision 8070cb56 (git): fix return event and opt_invokebuiltin_delegate_leave (#3256)
- If :return event is specified for a opt_invokebuiltin_delegate_leave
and leave combination, the instructions should b...
06/25/2020
-
10:42 PM Feature #16746: Endless method definition
- Eregon (Benoit Daloze) wrote in #note-23:
> Noteworthy is the current syntax in trunk is `def name(*args) = expr` (a... -
09:36 PM Feature #16746: Endless method definition
- Noteworthy is the current syntax in trunk is `def name(*args) = expr` (and not `def: name`), so there is *no* visual ...
-
06:46 PM Feature #16746: Endless method definition
- tldnr; I am against this proposal, it decreases readability, increases complexity and doesn't bring anything to the t...
-
10:04 PM Feature #16985: Improve `pp` for `Hash` and `String`
- I think `symbol_key: value` would be nice in Hash#inspect, even if there are also non-Symbol keys.
I think changin... -
05:28 PM Feature #16985 (Assigned): Improve `pp` for `Hash` and `String`
- Could we improve `pp` for `Hash` and `String`:
```ruby
pp({hello: 'My name is "Marc-André"'})
# =>
{hello: 'My ... -
06:23 PM Feature #16147: List Comprehensions in Ruby
- In my opinion, the more useful types of list comprehensions are when multiple inputs are needed.
The Ruby syntax in ... - 03:21 PM Revision 289a28e6 (git): * 2020-06-26 [ci skip]
- 03:21 PM Revision 2d89af45 (git): Add require to Delegator examples
- In Ruby 2.7.1 SimpeDelegator cannot be used without requiring `delegate` this PR adds the require to the first exampl...
-
12:39 PM Bug #16492: TestBugReporter#test_bug_reporter_add test failures
- Digging a bit into this issue, I was wrong that this is just s390x.
~~~
for i in {1..10000}
do
echo "******... -
09:21 AM Revision 6fdd5e26 (git): Removed duplicate target
- While `spec/bundler` and `spec/bundler/` are treated different
targets by GNU make 4, the same target by GNU make 3. ... -
08:09 AM Feature #16897: General purpose memoizer in Ruby 3 with Ruby 2 performance
- Understood Jeremy, there are always compromises.
```
def bar(a:); end
def foo(*args); bar(*args); end;
```
... -
06:44 AM Revision 9a78e24f (git): Removed nonsense `rubygems_version` in input gemspec files
- As it is ignored and set at building packages automatically, it is
just nonsense to set in gemspec file for input. -
06:32 AM Revision 4eff8a66 (git): [flori/json] add metadata
- https://github.com/flori/json/commit/9f430a7bba
-
06:32 AM Revision 1b076ca3 (git): [flori/json] Gem::Specification#date is set automatically by RubyGems.org.
- https://github.com/flori/json/commit/1920653013
-
06:32 AM Revision 4dbb10f2 (git): [flori/json] keyword argument is provided after Ruby 2.0+
- https://github.com/flori/json/commit/78ec5e2bd3
-
05:59 AM Revision bb4a2351 (git): Do not JIT inline builtin methods
- It's probably not worth it because there's nothing we can optimize in
such builtin methods. It's worth JIT only when ... -
05:43 AM Revision ab62aa70 (git): Run a TracePoint test in an insolated process
- to prevent a random failure like
http://ci.rvm.jp/results/trunk-random2@phosphorus-docker/3024287 -
01:03 AM Feature #16984 (Closed): Remove write barrier exemption for T_ICLASS
- Currently, iclasses are "shady", or not protected by write
barriers. Because of that, the GC needs to spend more tim... -
12:01 AM Bug #16977: Ambiguous lookup super for refinements
- ssnickolay (Nikolay Sverchkov) wrote:
> [In specification](https://docs.ruby-lang.org/en/2.7.0/syntax/refinements_rd...
06/24/2020
-
06:31 PM Revision 5e860ed4 (git): [ci skip] Enhanced RDoc for Array (#3252)
- Methods:
map/collect
map!/collect!
values_at
select/filter
select!/filter! -
04:14 PM Revision 3d8705dc (git): Drop token info for endless method definition
- Because it does not have closing `end`.
-
04:14 PM Revision 419b0596 (git): [ripper] added endless method definition event tests
- 03:20 PM Revision 5dfe95d1 (git): * 2020-06-25 [ci skip]
-
03:14 PM Revision fe82f729 (git): AST.of needs SCRIPT_LINES__ filled with a newline
-
01:02 PM Bug #16904 (Closed): rubygems: psych: superclass mismatch for class Mark (TypeError)
-
01:01 PM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
- This was fixed in master:
https://github.com/ruby/ruby/commit/a18e81d797135de6e143a600e4f4d2b00ab23bf9
https://gi... -
12:34 PM Bug #16904: rubygems: psych: superclass mismatch for class Mark (TypeError)
- Is it possible to do backport the fixes to Ruby 2.7?
For Fedora Ruby, we applied the following 4 patches (merged p... -
12:57 PM Bug #16983 (Closed): RubyVM::AbstractSyntaxTree.of(method) returns meaningless node if the method is defined in eval
# Problem
`RubyVM::AST.of(method)` returns a meaningless node if the method is defined in eval.
For example:
...-
12:20 PM Bug #16982 (Closed): Define instance_methods and so on explicitly on classes generated by DelegateClass
- I found two problems with `DelegateClass`.
The patch is available on GitHub. https://github.com/ruby/ruby/pull/3221
... -
11:01 AM Bug #16981 (Closed): [ripper] mismatched indentations warning has disappeared since 2.6
- Applied in changeset commit:git|263b941321c3de6afc8f9dafbc2625f866b7437e.
----------
[ripper] fix mismatched indenta... -
10:47 AM Bug #16981 (Closed): [ripper] mismatched indentations warning has disappeared since 2.6
- ```
$ ruby2.5 -v -rripper -e 'r = Ripper.new("begin\n end"); def r.warn(*e) p e; end; r.parse'
ruby 2.5.8p224 (202... -
10:53 AM Revision 263b9413 (git): [ripper] fix mismatched indentations warning [Bug #16981]
- The scanner location has to be set from `lex.ptok` before it is
flushed by dispatching the scanner event. -
10:52 AM Revision 7f29e34f (git): [ripper] fail unless got warning as expected
-
07:29 AM Revision 50c63ab3 (git): Fix a random test failure by TracePoint
- A test worker process may already be enabling TracePoint, which results
in changing the insn name in this test.
http... -
06:57 AM Revision 737da8d3 (git): Add another missing cast
-
06:56 AM Revision e0037997 (git): Include workflow name in a notification of Compilations
-
06:50 AM Revision 6ecef119 (git): Add missing cast
-
06:49 AM Revision 946e5cc6 (git): Annotate Kernel#class as inline (#3250)
- ```
$ benchmark-driver -v --rbenv 'before;after;before --jit;after --jit' benchmark/mjit_class.yml --repeat-count=4
b... -
06:42 AM Revision 3e02cd51 (git): Trace :return of builtin methods
- using opt_invokebuiltin_delegate_leave insn.
Since Ruby 2.7, :return of methods using builtin have not been traced p... - 06:18 AM Revision fbb32b1f (git): * 2020-06-24 [ci skip]
-
06:17 AM Revision b71047cc (git): Fix RubyVM::AbstractSyntaxTree document
- RubyVM::AbstractSyntaxTree is a module actually, but the document says "class".
-
12:53 AM Bug #16979: FileUtils#cp_r with preserve, lchmod fails with ENOTSUPP
- I guess this is already fixed in changeset commit:a19228f878d955eaf2cce086bcf53f46fdf894b9
Also available in: Atom