Activity
From 06/13/2019 to 06/19/2019
06/19/2019
- 11:56 PM Revision 62648372 (git): Set `cfp` to null (along with vm_stack) in `rb_fiber_close`.
- 11:32 PM Revision 25049a6e (git): Extra assertions around thread.
- 11:31 PM Revision 91c4ef01 (git): Don't try to dereference NULL cfp.
-
10:35 PM Misc #15943 (Closed): Add Bug Triaging Guide
- I would like to add a bug triaging guide to the repository at `doc/bug_triaging.rdoc`, giving recommendations for tri...
-
09:46 PM Bug #15938: Error thrown undeterministically: `RegexpError: empty range in char class`
- dlee (David Lee) wrote:
> Thank you for the update. We know that Ruby 2.5+ has fixed this issue, but we were hoping ... -
08:46 PM Bug #15938: Error thrown undeterministically: `RegexpError: empty range in char class`
- Jeremy,
Thank you for the update. We know that Ruby 2.5+ has fixed this issue, but we were hoping the fix could be... -
12:10 PM Bug #15938 (Rejected): Error thrown undeterministically: `RegexpError: empty range in char class`
- `\w` cannot be an edge of range in char-class, as it is not a single char.
-
01:38 AM Bug #15938 (Closed): Error thrown undeterministically: `RegexpError: empty range in char class`
- I was able to reproduce your issue. However, Ruby 2.4 is in security maintenance phase. As this does not appear to be...
-
01:30 AM Bug #15938: Error thrown undeterministically: `RegexpError: empty range in char class`
- FYI, these errors are deterministically thrown in ruby versions 2.5+, albeit with a different error message: `unmatch...
-
01:17 AM Bug #15938 (Rejected): Error thrown undeterministically: `RegexpError: empty range in char class`
- When instantiating a Regexp, we only sometimes see `RegexpError: empty range in char class`.
To reproduce:
`100.t... -
09:38 PM Bug #14563: irb in irb raises a FATAL error
- I was able to reproduce this issue with the current master branch. I'm not sure why it occurs, though. The thread t...
-
09:23 PM Feature #15942: gem: Warn on known vulnerable packages
- I think this may be better to raise at https://github.com/rubygems/rubygems - while some
ruby core members contribut... -
06:44 PM Feature #15942 (Third Party's Issue): gem: Warn on known vulnerable packages
- In comparison to RubyGems, NPM offers builtin warnings when users attempt to install packages with known vulnerabilit...
-
07:55 PM Bug #14879: Time#+ and Time#- do not preserve receiver's utc_offset if ENV['TZ'] is modified after receiver is created
- Using Ruby 2.6's new timezone support for Time, I think you can get the behavior you want, so that time calculations ...
-
07:36 PM Bug #15941: Issue with String#scrub when given block and receiver is modified in block
- Patch lgtm, thanks!
-
05:48 PM Bug #15941: Issue with String#scrub when given block and receiver is modified in block
- I can confirm this issue, and agree that handling it similarly to `String#gsub` makes sense. Attached is a patch tha...
-
04:10 PM Bug #15941: Issue with String#scrub when given block and receiver is modified in block
- I guess the solution here would be something similar to `String#gsub`, with `str_mod_check`.
-
04:00 PM Bug #15941 (Closed): Issue with String#scrub when given block and receiver is modified in block
- This should cause a segmentation fault:
```ruby
s = "abc\u3042\xE3\x80"
loop do
s.scrub{|bytes| s << "more ... -
07:31 PM Bug #14894 (Closed): Segfault loading iseqs
-
07:21 PM Bug #15432 (Closed): Float ใฎ NaN ใฎใฟใๅซใ้ ๅๆฏ่ผใฎใในใ
- Applied in changeset commit:git|a0af60c7f2d852faa6d3263874224dd7950bda43.
----------
Remove spec testing undefined b... -
07:20 PM Revision a0af60c7 (git): Remove spec testing undefined behavior
- Fixes [Bug #15432]
-
07:07 PM Bug #15857 (Closed): <=> ใฎๅณ่พบใ <=> ใๅฎ่ฃ ใใฆใใชใๅ ดๅใฎๆฏใ่ใ
- Applied in changeset commit:git|b9ef35e4c6325864e013ab6e45df6fe00f759a47.
----------
Implement Complex#<=>
Implemen... - 07:07 PM Revision 208cc6e3 (git): * 2019-06-20
- 07:07 PM Revision fdfe51d1 (git): * expand tabs.
-
07:04 PM Bug #14960 (Closed): Segmentation fault
-
06:58 PM Bug #15120 (Third Party's Issue): Segfault when using ActiveRecord
- This appears to be an issue in the mysql2 gem. It is similar to https://github.com/brianmario/mysql2/issues/1036#iss...
-
06:53 PM Bug #15021 (Closed): Segfault when compiling certain code on Ruby 2.5.1
-
06:46 PM Bug #14965 (Third Party's Issue): Segmentation fault at 0x0000000000000000
- This segfault occurs in a 3rd party C extension: https://github.com/ruby-gnome2/ruby-gnome2/blob/master/glib2/ext/gli...
-
06:00 PM Bug #15935 (Closed): Memory leak triggered by String#encode, possibly elsewhere too
-
05:50 PM Revision b9ef35e4 (git): Implement Complex#<=>
- Implement Complex#<=> so that it is usable as an argument when
calling <=> on objects of other classes (since #coerce... -
05:04 PM Bug #15926: Edge case issue with String#uminus
- luke-gru (Luke Gruber) wrote:
> Hi Jeremy, thanks for the patch. I agree with the strategy of just dealing with this... -
01:33 PM Bug #15926: Edge case issue with String#uminus
- Hi Jeremy, thanks for the patch. I agree with the strategy of just dealing with this in `str_uminus` directly instead...
-
02:07 AM Bug #15926: Edge case issue with String#uminus
- I agree that this is a bug. I'm not sure if `rb_fstring`'s behavior should be changed (hopefully a more knowledgeabl...
-
03:55 PM Feature #15940: Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
- In order to provide some data, I counted the duplicates in a Redmine heap dump (`ObjectSpace.dump_all`):
Here the ... -
03:00 PM Feature #15940 (Assigned): Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
- Patch: https://github.com/ruby/ruby/pull/2242
It's not uncommon for symbols to have literal string counterparts, e... -
02:24 PM Feature #15777: autoload?(cname, inherit=true)
- @nobu I edited the patch the way you suggested. Let me know if you desire further changes.
-
02:10 PM Revision 65944e96 (git): test/racc/test_racc_command.rb: Extend the timeout
- test_opal, test_ruby18, and test_ruby22 are slow tests.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-ad7f67/r... - 02:05 PM Revision 2abe548f (git): Don't change vm_stack/cfp without acquiring gvl first.
-
12:59 PM Bug #15933: OpenURI: Assign default charset for HTTPS as well as HTTP
- Updated patch attached
-
12:52 PM Feature #15939 (Assigned): Dump symbols reference to their fstr in ObjectSpace.dump()
- Patch: https://github.com/ruby/ruby/pull/2240
Symbols wether they are dynamic or static do hold a reference onto t... -
11:40 AM Revision ab6d8d0b (git): Adjust indent
-
11:34 AM Feature #15894 (Closed): Remove support for IA64
- Okay, it was merged.
-
09:16 AM Feature #15894: Remove support for IA64
- Here is PR: https://github.com/ruby/ruby/pull/2241
-
05:51 AM Feature #15894: Remove support for IA64
- Sounds reasonable.
Matz.
- 11:33 AM Revision 659eda7f (git): * expand tabs.
- 11:30 AM Revision d17344cf (git): Remove IA64 support.
-
09:35 AM Revision 40f8c82b (git): Partly revert directory structure for cparse.
- It break the some build environment.
- 09:19 AM Revision b93508b3 (git): * remove trailing spaces, append newline at EOF.
-
09:18 AM Revision 754df262 (git): Added binstub for racc executables.
-
09:18 AM Revision 2b4024da (git): Temporary disabled to invoke assert_output_unchanged.
- Because some environment created the different results from test fixtures.
-
09:18 AM Revision e892c2f9 (git): Restore ruby/ruby change for extconf.rb.
-
09:18 AM Revision d7103218 (git): Workaround for the external file for racc test
-
09:17 AM Revision 8a3bd06d (git): use TEMP_DIR.
-
09:17 AM Revision 4cca8c4d (git): Use Test::Unit instead of Minitest and fixed test error with ruby repo.
- Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
-
09:17 AM Revision 2272d6ae (git): Restore test_dir and update prefix for Dir.mktmpdir.
-
09:17 AM Revision 9ea1fc27 (git): Try to use Dir.mktmpdir.
-
09:17 AM Revision 4e218282 (git): Added sync task for racc
-
09:17 AM Revision c110b59a (git): Fixed path for ruby core repository.
-
09:17 AM Revision 1a2546c2 (git): Backport racc-1.4.15 from upstream.
- 08:39 AM Revision cbe06cd3 (git): * remove trailing spaces, expand tabs.
- 08:39 AM Revision 3e5b885c (git): Rework debug conditional.
- 08:39 AM Revision cb5da39f (git): Use shared implementation of `rb_ec_initialize_vm_stack`.
- 08:39 AM Revision 71470380 (git): Update `stack_start` and `stack_maxsize` according to stack direction.
- 08:39 AM Revision dee0cfbb (git): Specify that size is non-committed memory.
- 08:39 AM Revision 561c9bcf (git): Make sure `alloca` fast path is used (inline assembler).
- 08:39 AM Revision 7cc7269b (git): Use default stack size for worker thread (no th pointer available).
- 08:39 AM Revision 9cb4e772 (git): Handle (empty) backtrace when thread is not born yet.
- 08:39 AM Revision 5855af73 (git): Basic assertions for thread initialization.
- 08:39 AM Revision 8121a523 (git): Use stack size defaults for win32 threads.
- 08:39 AM Revision b8e4bea7 (git): Track how stack was allocated for `cont_free`.
- 08:39 AM Revision 4b3b781c (git): Ensure execution context is cleared after thread is finished.
- 08:39 AM Revision 38791145 (git): Better handling of root fiber.
- 08:39 AM Revision 7c7a1c22 (git): Fix handling of vm_stack_size and avoid trying to deallocate it.
- 08:39 AM Revision b24603ad (git): Move vm stack init into thread.
- 08:39 AM Revision 69195fd9 (git): Show thread and fiber limits as part of bootstrap tests.
- 08:39 AM Revision 3fd83cb6 (git): Improve benchmarks and tests for threads.
- 08:39 AM Revision a6a4e860 (git): Ignore `/build*`.
-
07:15 AM Feature #15936: on_error in lieu of rescue, raise
- kylemacey (Kyle Macey) wrote:
> This is coming from a need that I personally face often on the utilities I work on... -
02:31 AM Feature #15936: on_error in lieu of rescue, raise
- kylemacey (Kyle Macey) wrote:
> What would be a thought on using another keyword that doesn't actually _rescue_ an e... -
01:56 AM Feature #15936: on_error in lieu of rescue, raise
- shevegen (Robert A. Heiler) wrote:
> Hmmm.
>
> I have not made up my mind so I can not even say whether this may ... -
07:04 AM Bug #15160 (Closed): ArgumentError: year too big to marshal
- Applied in changeset commit:git|e690df1f1ef4f791295448f9192d6e027400ee72.
----------
Marshal distant past/future
[F... -
06:26 AM Revision e690df1f (git): Marshal distant past/future
- [Feature #15160]
-
05:39 AM Revision 8797f483 (git): New buffer for shared string
- * string.c (rb_str_init): allocate new buffer if the string is
shared. [Bug #15937] -
01:45 AM Bug #15937: Segmentation fault when String#initialize given same string with capacity field
- I no longer get the segfault if in `rb_str_init`, `return str` is added right after existing check of `(orig == str)`...
-
01:37 AM Bug #15937: Segmentation fault when String#initialize given same string with capacity field
- Sorry, I forgot `puts s` in second script. I still get the segfault even in trunk with your patch, but the embedded s...
-
12:57 AM Bug #15937 (Closed): Segmentation fault when String#initialize given same string with capacity field
- Applied in changeset commit:git|28678997e40869f5591eae60edd9757334426ffb.
----------
Preserve the string content at ... -
12:48 AM Bug #15937: Segmentation fault when String#initialize given same string with capacity field
- I can't reproduce the buffer corruption nor the segfault, but found the content was cleared on a short string.
Which... -
01:09 AM Revision 148f50fc (git): Update homebrew on Travis
- because Travis is crashing like "Error: Your Homebrew is outdated.
Please run `brew update`."
https://travis-ci.org/r... -
12:44 AM Revision 28678997 (git): Preserve the string content at self-copying
- * string.c (rb_str_init): preserve the embedded content when
self-copying with a capacity. [Bug #15937] -
12:19 AM Revision d009e321 (git): Use IRB.conf[:AUTO_INDENT] setting in multiline mode
06/18/2019
- 11:29 PM Revision c9729329 (git): * 2019-06-19
-
11:28 PM Revision 85ff2d74 (git): Avoid auto indent in prompt when dynamic auto indent
-
10:23 PM Feature #15936: on_error in lieu of rescue, raise
- Hmmm.
I have not made up my mind so I can not even say whether this may be interesting
or not.
But I think jus... -
06:28 PM Feature #15936 (Open): on_error in lieu of rescue, raise
- A common bad pattern in ruby is to rescue any exception and accidentally clobber the exception.
```
begin
som... -
07:48 PM Bug #15937: Segmentation fault when String#initialize given same string with capacity field
- NOTE: I didn't attach a patch or proof of concept fix because I don't know how you want to handle this edge case. The...
-
07:41 PM Bug #15937 (Closed): Segmentation fault when String#initialize given same string with capacity field
- Reproduction steps:
string buffer corruption:
```ruby
s = "mystring"
s.__send__(:initialize, s, capacity: 1000)... -
03:48 PM Feature #5400: Remove flip-flops in 2.0
- rovf (Ronald Fischer) wrote:
> Do NOT remove this useful feature!!! I used it a lot already in Perl, and now using... -
12:47 PM Feature #5400: Remove flip-flops in 2.0
- judofyr (Magnus Holm) wrote:
> Nobody knows them. Nobody uses them. Let's just get rid of flip-flops, shall we?
D... -
03:41 PM Misc #15930: DevelopersMeeting20190711Japan
- * [Feature #5400] Remove flip-flops in 2.0
* Strong objections.
-
02:08 PM Bug #15807: Range#minmax is slow and never returns for endless ranges
- I think it would make sense for `Enumerable#minmax` to just be `[min, max]`, and be overridden on some classes if use...
-
12:58 PM Revision 84903b31 (git): Fix auto indent crash when blank input
-
12:58 PM Revision 32e65e9e (git): Print starting debug message with RELINE_STDERR_TTY
-
12:22 PM Revision af800b8c (git): Now test-bundler is not working on macOS either
- Let's stop reporting the failure until it gets stable.
We can see the build status on console with this config anyway. -
12:20 PM Feature #15665: Cannot compile socket extension on Mojave
- @nobu Please update, or is there any reason that this should be a feature instead of a bug?
-
12:02 PM Bug #15933: OpenURI: Assign default charset for HTTPS as well as HTTP
- phluid61 (Matthew Kerwin) wrote:
>
> The entire registry is available as [XML](https://www.iana.org/assignments/me... -
09:24 AM Bug #15933: OpenURI: Assign default charset for HTTPS as well as HTTP
- gareth (Gareth Adams) wrote:
>
> The [IANA registry](https://www.iana.org/assignments/media-types/media-types.xhtm... -
08:13 AM Bug #15933: OpenURI: Assign default charset for HTTPS as well as HTTP
- Thanks Matthew,
I've now paid more attention to which RFCs are obsolete and which are still active.
phluid61 (M... -
11:58 AM Revision 235e72f1 (git): Implement auto indent for multiline
-
08:42 AM Bug #15929: Array#minmax is much slower than calling both #min and #max
- jeremyevans0 (Jeremy Evans) wrote:
> We cannot use this approach. [...]
I see, thanks for the explanation! -
08:39 AM Misc #15925: Speed up SortedSet#min, #max, #sum etc.?
- jeremyevans0 (Jeremy Evans) wrote:
> Your recommended implementation greatly improves performance.
I fear this b... -
08:31 AM Revision e6aa0a61 (git): [DOC] non-nil `$,`,`$;` will be deprecated [ci skip]
- ```
% ruby -e '$,=""; $;=""'
-e:1: warning: non-nil $, will be deprecated
-e:1: warning: non-nil $; will be deprecate... -
04:40 AM Revision 8b3774be (git): Fix memory leak
- * string.c (str_make_independent_expand): free independent buffer.
[Bug# 15935]
Co-Authored-By: luke-gru (Luke Gru... -
03:21 AM Bug #15934 (Closed): String#b can lead to memory corruption
- Applied in changeset commit:git|9dec4e8fc3a6018261834b5ac9b9877f787b97ca.
----------
String#b: Don't depend on depen... - 03:21 AM Revision c770c98a (git): * expand tabs.
-
03:18 AM Revision 9dec4e8f (git): String#b: Don't depend on dependent string
- Registering a string that depend on a dependent string as fstring
can lead to use-after-free. See c06ddfe and 3f95620...
06/17/2019
-
11:58 PM Bug #15933: OpenURI: Assign default charset for HTTPS as well as HTTP
- phluid61 (Matthew Kerwin) wrote:
> So it seems if you're making a change, it should be: ignore the protocol, and def... -
11:44 PM Bug #15933: OpenURI: Assign default charset for HTTPS as well as HTTP
- A lot of those quoted specs are very, very old, and in some cases obsoleted by newer specs.
HTTP/1.1 Semantics and... -
08:40 PM Bug #15933 (Assigned): OpenURI: Assign default charset for HTTPS as well as HTTP
- I think this change makes sense and the patch is the simplest way to implement it.
-
07:14 PM Bug #15933 (Closed): OpenURI: Assign default charset for HTTPS as well as HTTP
- Using `open-uri` to load a document in the following circumstances:
* The `Content-Type` header is `text/*` and *d... -
11:46 PM Bug #14194 (Feedback): --enable-frozen-string-literal ruby runner.rb cgi
- Now that it has been decided that Ruby 3 will not use frozen string literals by default, I think we should not assume...
-
11:34 PM Bug #14630 (Closed): DON'T IGNORE ME!!! Uncaught exception: SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1)
-
11:33 PM Bug #14657 (Closed): Fix build error with LibreSSL 2.7
-
11:31 PM Bug #14810 (Feedback): Segfault during travis build (Ruby trunk 63545)
- Can you reproduce this segfault with 2.6.3 or the master branch?
-
11:25 PM Bug #14875 (Closed): /bin/sh: bad substitution
-
11:13 PM Bug #15082 (Feedback): Memory leak in net/http/response and net/http/header
- alexis (Alexis Bernard) wrote:
> I kept to investigate the memory leak issue. It seems it comes when OpenSSL::SSL::V... -
10:52 PM Bug #14886: ChangeLog section is obsolete
- I agree, we should fix this. The attached patch is my attempt to do so, removing ChangeLog-specific parts and keepin...
-
10:31 PM Bug #14923 (Closed): Segmentation fault when running tests
-
09:29 PM Misc #15925 (Assigned): Speed up SortedSet#min, #max, #sum etc.?
- Your recommended implementation greatly improves performance. From the benchmark in the attached patch:
```
Ca... -
09:05 PM Bug #15664 (Closed): File.executable returns incorrect results in Windows 10
- Applied in changeset commit:git|c8edf70cd20b9ff72ebd1e9402a556089f6ff204.
----------
Update documentation for File.e... - 09:05 PM Revision 39a8c714 (git): * 2019-06-18
-
08:57 PM Revision c8edf70c (git): Update documentation for File.executable{,_real}? to mention Windows issues
- Fixes [Bug #15664]
-
08:04 PM Bug #15935 (Closed): Memory leak triggered by String#encode, possibly elsewhere too
- Hi, I've found a leak that can be reproduced in the following way:
```ruby
loop do
puts "running..."
... -
07:50 PM Bug #15934 (Closed): String#b can lead to memory corruption
- The following script triggers use-after-free on trunk(801d0d9), 2.4.6, 2.5.5
and 2.6.3.
```ruby
a = ('j' * 24).... -
06:48 PM Bug #15929: Array#minmax is much slower than calling both #min and #max
- janosch-x (Janosch Mรผller) wrote:
> possible solutions:
> - a) change `Enumerable#minmax` and let it `rb_funcall` `... -
05:37 PM Feature #15797: Use realpath(3) instead of custom realpath implementation if available
- After discussion with some OpenBSD developers, the non-POSIX behavior of realpath(3) in OpenBSD will be removed in th...
-
04:49 PM Bug #9606 (Closed): Ocassional SIGSEGV inTestException#test_machine_stackoverflow on OpenBSD
-
03:17 PM Bug #11174: threads memory leak
- The problem remains on a manually built glibc 2.28 with ruby 2.7.0dev (2019-06-17T14:25:47Z trunk 801d0d9dd7) [x86_64...
-
02:25 PM Revision 801d0d9d (git): Support Bison 3 in ripper
-
01:30 PM Revision c8e9e0b7 (git): Fix wrong "void value expression" error
- * parse.y (value_expr_check): `then` or `else` only `if` is not a
void value expression, as the counterpart is eval... -
12:56 PM Feature #15921: R-assign (rightward-assignment) operator
- ioquatix (Samuel Williams) wrote:
> If it's not clear, previous statement is evaluated like:
>
> ```ruby
> (User... -
12:47 PM Bug #15932 (Closed): wrong "void value expression" error for 'next' or 'break' statements inside an 'if' assignment
- Applied in changeset commit:git|01b3a3804334be19d013526d3edde2b84399ae43.
----------
Fix wrong "void value expressio... -
09:27 AM Bug #15932 (Closed): wrong "void value expression" error for 'next' or 'break' statements inside an 'if' assignment
- When a 'next' or 'break' statement for block/loop control is placed inside an 'if' assignment, the parser outputs an ...
-
12:44 PM Revision 01b3a380 (git): Fix wrong "void value expression" error
- * parse.y (value_expr_check): if either of `then` or `else`
statements is not a void value expression, the whole `i... - 10:56 AM Revision 09a84608 (git): * 2019-06-17
-
10:44 AM Feature #15897: `it` as a default block parameter
- Don't think that this proposal can be applied to any words. A common name is much more dangerous than a pronoun like...
-
09:03 AM Feature #15897: `it` as a default block parameter
- sawa (Tsuyoshi Sawada) wrote:
> I propose to use a new keyword `item`.
I think that is a great proposal.
`it` ... -
08:38 AM Feature #15897: `it` as a default block parameter
- I propose to use a new keyword `item`.
* I feel that using a keyword spelt in letters is the right way here since ... -
08:01 AM Feature #15897: `it` as a default block parameter
- Eregon (Benoit Daloze) wrote:
> shugo (Shugo Maeda) wrote:
> > > I think we should never purposefully introduce som... -
09:40 AM Misc #15930: DevelopersMeeting20190711Japan
- * [Feature #15903] Move RubyVM.resolve_feature_path to Kernel.resolve_feature_path
* matz: Could you decide betwee... -
03:20 AM Misc #15930: DevelopersMeeting20190711Japan
- Carry-over tickets.
* [Feature #14912] Introduce pattern matching syntax ([pitr.ch](https://twitter.com/pitr_ch))
... -
03:20 AM Misc #15930 (Closed): DevelopersMeeting20190711Japan
- Please comment on your favorite ticket numbers you want to ask to discuss with your *SHORT* comment or summary.
(you... -
07:20 AM Feature #15931 (Assigned): encoding for CESU-8
- RubyใจJavaใฎใใชใใธใ้็บใใฆใใฆใๆๅญๅใฎๅคๆๅฆ็ใงๅฐใฃใฆใใพใใ
็พ่ฑก๏ผ
JavaใฎUTF-8ใฏ้ๆจๆบ็ใชๅฝขๅผ (https://docs.oracle.com/javase/8/docs/technotes/guid... -
07:13 AM Feature #15927: Allow string keys to be used for String#% and sprintf methods
- In my own custom, hand-written yaml files I tend to use e. g:
!ruby/symbol foo: bar
for symbols as keys. Th... -
04:16 AM Feature #15588: String#each_chunk and #chunks
- Is size in characters or bytes?
-
04:13 AM Feature #15588: String#each_chunk and #chunks
- I wonder if we should have consistency with `slice` and `each_slice` from `Array`. But honestly, I don't care, just i...
-
04:11 AM Feature #15588: String#each_chunk and #chunks
- Here is a usecase
https://github.com/socketry/protocol-http2/blob/12875a97e0f82315682191e3bbbaba8b59cb3432/lib/pro... -
03:15 AM Misc #15874 (Closed): DevelopersMeeting20190613Japan
06/16/2019
-
08:11 PM Bug #15929 (Closed): Array#minmax is much slower than calling both #min and #max
- this is similar to [issue 15807 about Ranges](https://bugs.ruby-lang.org/issues/15807) and maybe also to [13917](http...
-
06:09 PM Revision a064e467 (git): Support Bison 3
-
03:29 PM Feature #15799: pipeline operator
- Seeing `|>` my assumption would be that you could use it in the functional style, so you could do:
``` ruby
42 |>... -
08:11 AM Feature #15799: pipeline operator
- The operator doesn't bother me, though I can't think of any time I'd use it.
Several suggested alternatives seem t... -
12:49 AM Feature #15799: pipeline operator
- At first, I wasn't so sure about how to use such an operator, and honestly, the ASCII symbol `|>` is a bit jarring, b...
-
12:17 AM Feature #15799: pipeline operator
- I investigated history of pipeline operator. It is very long, so I wrote [an article in my blog](https://mamememo.bl...
-
02:52 PM Bug #15916 (Closed): Memory leak in Regexp literal interpolation
- Applied in changeset commit:git|53e9908d8afc7f03109b0aafd1698ab35f512b05.
----------
Fix memory leak
* string.c (st... -
12:15 AM Bug #15916: Memory leak in Regexp literal interpolation
- I managed to track down the leak, and it's related to rb_fstring().
reg_set_source() calls rb_fstring() with the ... -
02:51 PM Revision 53e9908d (git): Fix memory leak
- * string.c (str_replace_shared_without_enc): free previous buffer
before replaced.
* parse.y (gettable): make sure... -
02:37 PM Bug #15928: Constant declaration does not conform to JIS 3017:2013
- IMO, for `expr::C = lhs`, it should first evaluate `expr` and then do `lhs` because `expr` is left to `lhs`. But I'm...
-
02:30 PM Bug #15928: Constant declaration does not conform to JIS 3017:2013
- There are specs that cover this, so at least it is how Ruby implementors understand that it is intended to be, and it...
-
02:28 PM Bug #15928: Constant declaration does not conform to JIS 3017:2013
- s/lhs/rhs/
-
02:25 PM Bug #15928 (Closed): Constant declaration does not conform to JIS 3017:2013
- The order of evaluation in constant declaration does not conform to JIS 3017:2013 11.4.2.2.3.
# Problem
Suppose... - 02:01 PM Revision d4929f51 (git): * expand tabs.
-
02:00 PM Revision 1ff26dc4 (git): Revert "Make constant assignments more conforming to JIS X 3017:2013 11.4.2.2.3"
- This reverts commit 44caca11cfa6bea01a1ef738846183f1a56d5658.
The change caused a build failure.
http://ci.rvm.jp/re... - 01:48 PM Revision 11f8c891 (git): * expand tabs.
-
01:48 PM Bug #15924: Ripper::Lexer RuntimeError - Ripper FATAL - master/trunk
- @nobu
Thanks. Actually, YARD doesn't use the Lexer, but I switched to using it a long time ago, and all the repos... -
10:18 AM Bug #15924: Ripper::Lexer RuntimeError - Ripper FATAL - master/trunk
- It is an example of syntax error, cannot be fallen back?
YARD itself just warns it but succeeds.
```
$ echo $'... -
01:43 PM Revision 44caca11 (git): Make constant assignments more conforming to JIS X 3017:2013 11.4.2.2.3
- compile.c (NODE_CDECL): Evaluate the module before the value
test/ruby/test_const.rb (test_evaluation_order): added a... -
01:27 PM Feature #15927: Allow string keys to be used for String#% and sprintf methods
- Whether it's YAML or another data format like JSON, I've found it useful on occasion to treat `sprintf()` like a mini...
-
11:41 AM Feature #15927: Allow string keys to be used for String#% and sprintf methods
- ashmaroli (Ashwin Maroli) wrote:
> One use-case would be where the Data used by `sprintf` is generated at runtime:
... -
06:46 AM Feature #15927: Allow string keys to be used for String#% and sprintf methods
- > Can you give us some actual use case(s) where such rewriting would not be possible, or very tedious?
One use-cas... -
03:04 AM Feature #15927: Allow string keys to be used for String#% and sprintf methods
- I agree with @sawa that there's a difference between gsub (where strings are replaced by strings) and sprintf, where ...
-
01:26 PM Bug #15807: Range#minmax is slow and never returns for endless ranges
- Thinking about this a bit more generally, I'm wondering whether `Enumerable#minmax` should actually use `rb_funcall` ...
-
01:11 PM Feature #15923: New independent string without memcpy
- Thank you Nobu, I thought that might be the case but was unaware as I'm not familiar with the GC subsystem. Also I th...
-
06:32 AM Feature #15923: New independent string without memcpy
- `ruby_xfree` != `free`.
Using the former on malloc'ed buffer can cause a crash. -
10:45 AM Feature #15920: Check frozen state of ENV
- jeremyevans0 (Jeremy Evans) wrote:
> Eregon (Benoit Daloze) wrote:
> > One potential concern here is that even if `... -
10:35 AM Feature #15920: Check frozen state of ENV
- jeremyevans0 (Jeremy Evans) wrote:
> * Disallow modifying `ENV` after `ENV.freeze` (my original patch).
I don't o... -
05:46 AM Revision 2fb1564c (git): Implement line_no correctly
-
03:21 AM Bug #15801: [BACKPORT] ChangeLogs of 2.5 and 2.6 begin before the 2.4 release
- ruby_2_6 r67711 merged revision(s) af1e487e9bb763b939dc6704c9a343c9eafa1637,6f8ac2cb28f99a4b2588c59ec44eff6ed38c4d3b.
-
03:20 AM Revision accd7f69 (git): merge revision(s) af1e487e9bb763b939dc6704c9a343c9eafa1637,6f8ac2cb28f99a4b2588c59ec44eff6ed38c4d3b: [Backport #15801]
- Updated marked commits for ChangeLog
Include the beginning commit in ChangeLog
git-svn-id: svn+ssh://ci.r... -
02:59 AM Revision 17e6536f (git): tool/redmine-backporter.rb: Change redmine git revisions URL path.
- 02:46 AM Revision 72cc5cf0 (git): * 2019-06-16
-
02:39 AM Revision ee7999bb (git): tool/redmine-backporter.rb: Add parens to fix condition for svn revision search.
-
12:55 AM Feature #15921: R-assign (rightward-assignment) operator
- If it's not clear, previous statement is evaluated like:
```ruby
(Users.where(active: true) => active_users).wher... -
12:55 AM Feature #15921: R-assign (rightward-assignment) operator
- There are two areas where I think this is a great addition:
```ruby
x = if foo
bar
else
baz
end
if foo
...
06/15/2019
-
06:08 PM Feature #15927: Allow string keys to be used for String#% and sprintf methods
- > My argument for this feature is that String#gsub() and family works with string keys if given a Hash
That is be... -
02:28 PM Feature #15927 (Closed): Allow string keys to be used for String#% and sprintf methods
- Right now, in the methods sprintf() and String#%, only symbol keys can be used for named interpolation. For example (...
-
05:31 PM Feature #15920: Check frozen state of ENV
- Eregon (Benoit Daloze) wrote:
> One potential concern here is that even if `ENV` is frozen, C extensions, or native ... -
05:01 PM Feature #15920: Check frozen state of ENV
- One potential concern here is that even if `ENV` is frozen, C extensions, or native libraries linked by C extensions,...
-
12:07 AM Feature #15920: Check frozen state of ENV
- nobu (Nobuyoshi Nakada) wrote:
> I don't think this behavior a bug.
> `ENV` is an interface to the system environme... -
03:58 PM Bug #15924: Ripper::Lexer RuntimeError - Ripper FATAL - master/trunk
- Found the issue, below is a repo, which in MinGW master, generates RuntimeError...
```ruby
require 'ripper'
te... -
04:54 AM Bug #15924 (Closed): Ripper::Lexer RuntimeError - Ripper FATAL - master/trunk
- YARD based docs systems use Ripper for highlighting both source code and 'code snippets' in comments and rdoc/md file...
-
01:42 PM Feature #15923: New independent string without memcpy
- I think what puchuu is asking is if he can pass a malloc'd string to a ruby function that will create a new string ob...
-
01:19 PM Bug #15926 (Closed): Edge case issue with String#uminus
- I was working on issue related to code in `rb_fstring`(https://github.com/ruby/ruby/pull/2233) and saw some weird beh...
-
11:10 AM Misc #15925 (Closed): Speed up SortedSet#min, #max, #sum etc.?
- this issue is somewhat similar to https://bugs.ruby-lang.org/issues/15807
current situation, using the example of ... -
10:38 AM Feature #15897: `it` as a default block parameter
- Kotlin has implemented `it` like this ([docs](https://kotlinlang.org/docs/reference/lambdas.html#it-implicit-name-of-...
-
09:50 AM Bug #15807: Range#minmax is slow and never returns for endless ranges
- jeremyevans0 (Jeremy Evans) wrote:
> I think this is a bug we should fix, even if it breaks code relying on this bug... -
03:04 AM Revision 5d790549 (git): Revert github/pull/2230, commit miss
-
02:58 AM Revision 6fa4c904 (git): Prefer `enum yytokentype` to int
-
02:25 AM Revision 46527e1b (git): Test for blank lines between leadinig dot method chains
-
02:25 AM Revision b8730f12 (git): Multiline method chain with leading dot works for blank lines
-
02:25 AM Revision 2240de98 (git): Remove blank line I accidentally added
-
02:25 AM Revision 162bfa1c (git): Test comments between multiline method chain
-
02:25 AM Revision cc180e93 (git): Rename LINEND to EMPTYLN
-
02:25 AM Revision 5af5dd46 (git): Omg, it works!
- I'll rename it and squash this commit later,
just wanted to make sure I couldn't lose it
(took a long time to come up... - 02:09 AM Revision e6aefe2a (git): * 2019-06-15
-
02:06 AM Revision 5dd8fdd3 (git): test/net/imap/test_imap.rb: wait for the server thread to start
- In some slow CI environments, the invocation of a thread seems very
slow. This causes a test failure to attempt to c... -
01:53 AM Bug #15763: Segmentation fault in timeout.rb / sleep
- A valid workaround until this is fixed in MacOS - if you can get away without ipv6 - is to have your web server like ...
-
01:00 AM Feature #15919: Offset parameter for `Integer#times`
- I agree with all the commenters that using keyword arguments is crucial (and I prefer `start_at:` (or maybe just `sta...
-
12:56 AM Bug #15199: scanf.rb broken with io from IO.pipe (MinGW or Windows?)
- I've tested on Windows and confirmed this is a bug.
I added a pull request upstream to fix this: https://github.co... -
12:18 AM Bug #15200 (Closed): RubyVM::InstructionSequence can not compile to binary from method call with hash in 'if false' expression
-
12:18 AM Bug #15221 (Closed): Segfault in Ruby VM
-
12:15 AM Bug #15246 (Closed): Invalid read (SEGV on indeterminate address) in id_table.c
-
12:11 AM Bug #15308 (Closed): SegFault in GC under Ruby 2.5.3 on OS X
06/14/2019
-
11:59 PM Feature #15923: New independent string without memcpy
- puchuu (Andrew Aladjev) wrote:
> Is it possible to create independent string from source string without memcpy that ... -
01:51 PM Feature #15923 (Rejected): New independent string without memcpy
- Hello. I've just tried to implement extension for ruby that will provide large binary strings.
I've inspected late... -
11:12 PM Feature #15799: pipeline operator
- Matz:
Ruby being a "Lisp-2" means that the pipeline operator couldn't be implemented like a "normal" operator (all... -
07:30 PM Feature #15799: pipeline operator
- rogeriochaves (Rogerio Chaves) wrote:
> May I give yet another suggestion? What about :., it would keep the visual e... -
04:56 PM Feature #15799: pipeline operator
- @cichol Agreed! Here is a working proof of concept for an "operator-less" pipe operator which feels more natural in R...
-
01:15 PM Feature #15799: pipeline operator
- Hi,
I want to introduce a way to pipeline method calls in Ruby.
I imagined that the Ruby-styled pipelined calls... -
11:03 AM Feature #15799: pipeline operator
May I give yet another suggestion? What about :., it would keep the visual effect
```ruby
1 + 1
:. to_s 2
:. ...-
10:30 AM Feature #15799: pipeline operator
- From my perspective, the |> operator exists because in functional programming languages you have these increasingly n...
-
08:27 AM Feature #15799: pipeline operator
- I wonder if it would be possible to get method objects somehow. `.:` was capable of doing this off of objects, but do...
-
07:45 AM Feature #15799: pipeline operator
- Unlike JavaScript and Python (Lisp-1 like languages), Ruby is a Lisp-2 like language, in which methods and variable h...
-
06:15 AM Feature #15799: pipeline operator
- That's a very fair point @jeremyevans0, it would introduce two lookup chains even under the most ideal of circumstanc...
-
05:42 AM Feature #15799: pipeline operator
- I think one big issue here is simply the choice of symbols for this thing. If it were any other symbols, I suspect a ...
-
03:18 AM Feature #15799: pipeline operator
- baweaver (Brandon Weaver) wrote:
> But in summary, I believe this feature could be substantially more expressive an... -
03:00 AM Feature #15799: pipeline operator
- @inopinatus We are working on the right side assignment operator. Combine pipelines with it.
Matz.
-
02:51 AM Feature #15799: pipeline operator
- I have written on my opinions here: https://dev.to/baweaver/ruby-2-7-the-pipeline-operator-1b2d
But in summary, I ... -
02:01 AM Feature #15799: pipeline operator
- Please consider adjusting the precedence of the pipeline operator to be above that of assignment. I was surprised by ...
-
12:12 AM Feature #15799: pipeline operator
- Responses to this change:
- Twitter: https://twitter.com/a_matsuda/status/1139110957450375168
- Reddit: https://w... -
09:45 PM Feature #15903: Move RubyVM.resolve_feature_path to Kernel.resolve_feature_path
- Thanks for discussing the issue at the meeting.
I think having singleton-only methods on `Kernel` would be OK, and... -
02:51 AM Feature #15903: Move RubyVM.resolve_feature_path to Kernel.resolve_feature_path
- This ticket was discussed at yesterday dev meeting. Currently there is no singleton method to `Kernel`, so some peop...
-
09:28 PM Feature #15897: `it` as a default block parameter
- shugo (Shugo Maeda) wrote:
> > I think we should never purposefully introduce something ugly in the language.
>
>... -
02:54 AM Feature #15897: `it` as a default block parameter
- Eregon (Benoit Daloze) wrote:
> shugo (Shugo Maeda) wrote:
> > I don't like both proposals, but I prefer `@1` to `i... -
08:58 PM Bug #13220: Enhance support of Unicode strings manipulation
- Most of these test failures are caused by Ruby operating on code points, not grapheme clusters. There are more and mo...
-
02:53 PM Feature #15899: String#before and String#after
- sawa is right. Just use `partition` and `rpartition`.
-
07:30 AM Feature #15899: String#before and String#after
- How about `first` and `last`?
```ruby
'hello world'.first(2)
=> 'he'
'hello world'.last(2)
=> 'ld'
'hello w... -
12:27 PM Feature #15921: R-assign (rightward-assignment) operator
- This has lower precedence, so the latter.
-
10:49 AM Feature #15921: R-assign (rightward-assignment) operator
- where does the rightward assign works and where it is blocked? `y => x` might be treated as Hash Parameter
like `m... -
03:08 AM Feature #15921 (Closed): R-assign (rightward-assignment) operator
- From https://bugs.ruby-lang.org/issues/15799#change-78465, proposal of the rightward-assignment operator by `=>`.
... -
12:25 PM Feature #15920: Check frozen state of ENV
- I don't think this behavior a bug.
`ENV` is an interface to the system environment variables, so freezing it doesn't... -
06:35 AM Feature #15920: Check frozen state of ENV
- Agree - looks like a bug to me as well.
-
02:27 AM Feature #15920: Check frozen state of ENV
- I didn't know `assert_separately`, thank you!
-
12:16 PM Feature #14912: Introduce pattern matching syntax
- I've intentionally focused on use-cases because: I wanted to make clear why Ruby should to support this; and I've inc...
-
09:17 AM Revision d365fd5a (git): An operator is not allowed just after `|>`
- https://twitter.com/yukihiro_matz/status/1139454774640726019
-
08:30 AM Revision d780c366 (git): Pipeline operator is experimental [ci skip]
-
06:31 AM Revision aa32465a (git): irb.rb: [DOC] the default prompt includes :PROMPT_N [ci skip]
-
03:40 AM Feature #15922 (Open): Enumerable#partition(pattern)
- * `any?` `all?` `one?` `none?` already can take pattern argument. ref: https://bugs.ruby-lang.org/issues/11286
* `se... -
01:02 AM Bug #15857: <=> ใฎๅณ่พบใ <=> ใๅฎ่ฃ ใใฆใใชใๅ ดๅใฎๆฏใ่ใ
- > > @jeremyevans0 Thank you for your comment. About Complex, I agree with most of v2 patch, but I have some comments....
06/13/2019
-
11:46 PM Revision 50bb8b60 (git): Use Exception#full_message for traceback
-
11:45 PM Revision 9402d019 (git): Remove debug print
-
11:45 PM Revision d0e55641 (git): Set allow_escape_code for prompt
-
11:26 PM Revision f80771f0 (git): Use Reline.prompt_proc in IRB
- 10:46 PM Revision 3757e492 (git): * 2019-06-14
-
10:42 PM Revision 64310b25 (git): Add Reline.prompt_proc
-
10:03 PM Feature #15901: Enumerator::Lazy#eager
- zverok (Victor Shepelev) wrote:
> > How about this style?
>
> ```ruby
> [0, 1, 2].lazy {|e| e.map {|n| n + 1 }.m... -
09:01 AM Feature #15901: Enumerator::Lazy#eager
- I'd rather keep this issue simple. We can talk about it later in another issue.
-
07:14 AM Feature #15901: Enumerator::Lazy#eager
- > How about this style?
```ruby
[0, 1, 2].lazy {|e| e.map {|n| n + 1 }.map {|n| n.to_s } }
#=> an Enumerator con... -
07:05 AM Feature #15901: Enumerator::Lazy#eager
- mame (Yusuke Endoh) wrote:
> How about this style?
>
> ```
> [0, 1, 2].lazy {|e| e.map {|n| n + 1 }.map {|n| n.t... -
08:44 PM Bug #15916: Memory leak in Regexp literal interpolation
- I can confirm this is still an issue on the master branch, and it appears to be leaking ~178 bytes/regexp. It occurs...
-
07:49 PM Feature #15920: Check frozen state of ENV
- I think this is a bug and we should fix it. I took a slightly differently approach in the attached patch, using `rb_...
-
10:56 AM Feature #15920 (Closed): Check frozen state of ENV
- github: https://github.com/ruby/ruby/pull/2234
Is this an intentional behavior?
``` ruby
ENV.freeze
ENV.clear... -
07:30 PM Feature #15919: Offset parameter for `Integer#times`
- `Numeric#step` does something similar:
``` ruby
> 3.step(to: 10, by: 2) { |a| p a }
3
5
7
9
```
-
07:06 PM Feature #15919: Offset parameter for `Integer#times`
- It took me a moment to understand the proposal (I am not sure why I am having a hard time understanding
proposals la... -
12:22 PM Feature #15919: Offset parameter for `Integer#times`
- I like the idea. It could also be a Hash and appart from `offset`, we could have `step` as well:
```
5.times(offs... -
09:37 AM Feature #15919: Offset parameter for `Integer#times`
- Could be confusing. "5 times 3" is 15.
-
09:18 AM Feature #15919 (Rejected): Offset parameter for `Integer#times`
- I request an optional argument on `Integer#times` to set the offset at start, just like `Enumerator#with_index`.
`... -
06:22 PM Bug #15442 (Closed): irb behaves strange in Ruby 2.6
-
12:27 PM Bug #15442: irb behaves strange in Ruby 2.6
- this can be closed
-
06:08 PM Bug #15436 (Closed): Tests failing in `make check`
- The openssl issue was fixed by commit:b8af33e63bd286308e5e1b20c182ec50e0f194de
The second issue was fixed earlier ... -
12:27 PM Bug #15436: Tests failing in `make check`
- this can be closed
-
02:09 PM Feature #15799: pipeline operator
- > a topic of "ruby committers vs the world" in RubyKaigi 2019.
Link to video of discussion Nobu referenced: https:... -
01:23 PM Feature #15799: pipeline operator
- "I don't have to use it" doesn't work in the real world where you have projects with multiple contributors, dependenc...
-
11:43 AM Feature #15799: pipeline operator
- I assume matz approved it. I don't think it is good to want to reason
against a change since the decision making is ... -
10:00 AM Feature #15799: pipeline operator
- Why was this accepted? I cannot see anyone really supporting this idea in this issue's comments.
As everyone said, i... -
09:48 AM Feature #15799 (Closed): pipeline operator
- Applied in changeset commit:git|f169043d81524b5b529f2c1e9c35437ba5bc3a7a.
----------
Add pipeline operator [Feature ... -
02:04 PM Revision 56d59519 (git): test/webrick/test_ssl_server.rb: Use EnvUtil.timeout for timeout scale factor
- https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-9d6766/ruby-master/log/20190613T091708Z.fail.html.gz
https://ruby... -
01:44 PM Revision e75c2781 (git): test/lib/test/unit/assertions.rb (assert_cpu_usage_low): tweak the wait
- It still fails randomly.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/amazon2/ruby-master/log/20190613T093003Z.fa... -
01:19 PM Revision aa721183 (git): Continue to the next line beginning with a pipeline
-
01:03 PM Revision 043f010c (git): parse.y: moved pipeline to expr
- To allow arguments without parentheses.
-
12:24 PM Bug #15793: Please backport 7b7043e5da8589e01b94575d4ed647e909e5c875
- Backported into ruby_2_6 at r67710.
-
12:23 PM Revision f4fe2a76 (git): merge revision(s) 7b7043e5da8589e01b94575d4ed647e909e5c875: [Backport #15793]
- eliminate use of freed memory
rb_io_fptr_finalize_internal frees the memory region.
===============... -
09:44 AM Revision f169043d (git): Add pipeline operator [Feature #15799]
-
09:33 AM Feature #15903: Move RubyVM.resolve_feature_path to Kernel.resolve_feature_path
- nobu (Nobuyoshi Nakada) wrote:
> How about `$LOAD_PATH.resolve_feature_path`?
As a singleton method, and because ... -
08:24 AM Feature #15903: Move RubyVM.resolve_feature_path to Kernel.resolve_feature_path
- How about `$LOAD_PATH.resolve_feature_path`?
-
09:16 AM Bug #15210 (Closed): UTF-8 BOM should be removed from String in internal representation
- Applied in changeset commit:git|e717d6faa8463c70407e6aaf116c6b6181f30be6.
----------
IO#set_encoding_by_bom
* io.c ... -
08:36 AM Bug #15210: UTF-8 BOM should be removed from String in internal representation
- Renamed and an exception at unexpected condition.
https://github.com/nobu/ruby/pull/new/feature/15210-set_encoding_b... -
07:24 AM Bug #15210: UTF-8 BOM should be removed from String in internal representation
- https://github.com/nobu/ruby/pull/new/feature/15210-detect_bom
-
09:13 AM Revision e717d6fa (git): IO#set_encoding_by_bom
- * io.c (rb_io_set_encoding_by_bom): IO#set_encoding_by_bom to set
the encoding by BOM if exists. [Bug #15210] - 09:07 AM Revision bdc8b378 (git): * expand tabs.
-
09:05 AM Revision 02b1a853 (git): remove 2 redundant calls to rb_str_dup
- Because `rb_class_path` calls `rb_str_dup` already.
Closes: https://github.com/ruby/ruby/pull/2232 -
08:08 AM Feature #15563: #dig that throws an exception if a key doesn't exist
- I thought adding an optional block to dig could be an idea.
```ruby
obj.dig(*keys) { |dug_keys, rest_keys|
# r... -
07:42 AM Revision 69509df2 (git): squeeze space [ci skip]
-
06:41 AM Feature #15725: Proposal: Add Array#reverse_sort, #revert_sort!, #reverse_sort_by, and #reverse_sort_by!
- Clarified that .reverse! can/should be used for reverse order with commit 2a26c1ea24..7f79a86d8b.
-
05:54 AM Feature #15725 (Rejected): Proposal: Add Array#reverse_sort, #revert_sort!, #reverse_sort_by, and #reverse_sort_by!
- Those methods do not make me feel 'spark joy'. If you really care about the performance, use `reverse!` after `sort!`...
-
06:30 AM Revision 7f79a86d (git): add comments to mention sort.reverse!
- For array.c (Array#sort) and enum.c (Enumerable#sort_by),
add comments mentioning that sort.reverse! / sort_by { ... ... -
06:12 AM Feature #15836 (Rejected): [Proposal] Make Module#name and Symbol#to_s return their internal fstrings
- The compatibility breakage from changing those methods (especially `Symbol#to_s`) is too big. Sorry.
Maybe we should... -
06:05 AM Feature #15836: [Proposal] Make Module#name and Symbol#to_s return their internal fstrings
- Isn't one main purpose of converting a Symbol to a String that you want to change the symbol string? This proposal wo...
-
05:59 AM Feature #15777: autoload?(cname, inherit=true)
- Changing the signature of `rb_autoload_p` could break API compatibility.
I think we'll need another function for it.... -
05:57 AM Bug #15733 (Rejected): Inconsistent __FILE__ and Kernel#__dir__
- `__FILE__` and `__LINE__` are inherited from C preprocessor. Others aren't. I am not going to pursue consistency here...
-
05:44 AM Feature #14145: Proposal: Better Method#inspect
- ko1 (Koichi Sasada) wrote:
> ```patch
> + VALUE loc_str = rb_sprintf("@%"PRIsVALUE":%"PRIsVALUE" ",
> +... -
05:41 AM Feature #14111: ArgumentErrorใ็บ็ใใๆใกใฝใใใฎใใญใใฟใคใใใกใใปใผใธใซๅซใ
- Currently, some methods (especially C defined methods) lack method parameter information to provide this kind of desc...
-
05:00 AM Bug #15826: Haiku LIBC_SO and LIBM_SO support for test/fiddle/helper.rb
- Off topic a little, I think this code is wrong.
```ruby
case [0].pack('L!').size
when 4
# 32-bit ruby
... -
03:16 AM Bug #15826 (Third Party's Issue): Haiku LIBC_SO and LIBM_SO support for test/fiddle/helper.rb
-
03:14 AM Bug #15826: Haiku LIBC_SO and LIBM_SO support for test/fiddle/helper.rb
- Could you please make a pull-request for [ruby/fiddle repository](https://github.com/ruby/fiddle/pulls)?
-
03:16 AM Bug #15913: Segmentation fault in using RubyVM::InstructionSequence#to_binary.
- I didn't know this problem already fixed. Thanks.
-
01:45 AM Bug #15432: Float ใฎ NaN ใฎใฟใๅซใ้ ๅๆฏ่ผใฎใในใ
- I agree that keeping this spec does not make sense. If nobody objects within the next week, I will delete the spec.