Activity
From 06/21/2019 to 06/27/2019
06/27/2019
-
11:59 PM Bug #11628 (Closed): Net::SMTPServerBusy is not behaving according to documentation
- Applied in changeset commit:git|14b0c94ac38c40459d908fd4c5778efa60e4689f.
----------
Fix documentation for Net::SMTPServerBusy
Fixes [Bug #11628] -
11:57 PM Revision 14b0c94a (git): Fix documentation for Net::SMTPServerBusy
- Fixes [Bug #11628]
-
11:39 PM Bug #11659 (Rejected): Strange behavior setting previously-undefined local variables with a statement modifier
-
11:36 PM Bug #11686 (Closed): Segmentation fault/memory corruption with --enable-frozen-string-literal-debug --enable-frozen-string-literal
-
11:35 PM Bug #11808: Different behavior between Enumerable#grep and Array#grep
- `Array#grep` is actually `Enumerable#grep`:
```ruby
Array.instance_method(:grep).owner
=> Enumerable
```
If I had to guess, the cause of the difference is that `Array#each` is implemented in C, and `Test#each` is implemented in ... -
11:00 PM Bug #11906 (Closed): File.dirname separator stripping from the begining of path
-
10:59 PM Feature #15797: Use realpath(3) instead of custom realpath implementation if available
- I've made a couple minor tweaks to the pull request: https://github.com/ruby/ruby/pull/2205. Travis and AppVeyvor tests still pass with it. I plan to commit this in a few days, and if there is any fallout, I will address that by fallin...
-
10:53 PM Bug #11907 (Rejected): sort_by does not preserve order with arrays with 7+ items and a block that returns the same value
-
10:51 PM Bug #11915 (Closed): File.read reading string starting with | executes it.
- This was fixed in Ruby 2.6:
```
$ ruby26 -e 'File.read "|/bin/ls"'
Traceback (most recent call last):
1: from -e:1:in `<main>'
-e:1:in `read': No such file or directory @ rb_sysopen - |/bin/ls (Errno::ENOENT)
``` -
10:46 PM Bug #11980 (Closed): External methods are appearing as instance methods for String
-
10:45 PM Bug #11984 (Rejected): DateTime.parse can parse invalid datetime string
- This isn't a bug. `DateTime.parse` assume the string you are passing in has some date related information in it, and tries the best it can to find something. In this case, it guesses that the first four digits are the year and the last...
-
10:38 PM Bug #11986 (Third Party's Issue): Segmentation fault
- This crash occurs in a 3rd party C extension (EventMachine), probably inside this function: https://github.com/eventmachine/eventmachine/blob/v1.0.9/ext/rubymain.cpp#L775. It appears to be the same issue as https://github.com/eventmachi...
-
10:30 PM Bug #12001 (Third Party's Issue): Abort trap:6
-
10:27 PM Bug #12055 (Assigned): `NET::HTTPResponse` is not deflating responses with custom `Content-Range` header
-
10:20 PM Bug #12131: Should defining singleton_method_added call itself?
- Given that `singleton_method_added` is called after the method is added and not before, I think the current behavior makes sense and do not think it is the bug. The same behavior exists for `method_added`:
```ruby
module A
extend... -
10:16 PM Bug #12056 (Rejected): kwarg is not allowed after `return`
-
09:16 PM Feature #15963 (Closed): Add *_start and *_running methods to VM_COLLECT_USAGE_DETAILS API
- I want to count how many VM instructions get executed for an arbitrary block of ruby code with `VM_COLLECT_USAGE_DETAILS` enabled. However, the current API enables VM usage detail collection immediately and only exposes methods to turn c...
-
08:50 PM Bug #15791 (Closed): Clarify reason for RbConfig's ruby_version not reflecting "teeny" value
- Ok, if this is supposed to map the the ABI version, then I guess we'll leave it as is. It doesn't really have the same meaning on other impls, and I agree with Vit that it shouldn't be used for other purposes (like it seems to be used in...
-
07:21 PM Revision a2091c30 (git): Update to ruby/spec@94d98ff
- 07:04 PM Revision 632a9722 (git): * 2019-06-28
-
07:02 PM Revision d80e44de (git): Update to ruby/spec@8d74d49
-
07:02 PM Revision c9403971 (git): Update to ruby/mspec@ca2bc42
-
05:58 PM Bug #15432: Float の NaN のみを含む配列比較のテスト
- Actually, the `should_not` above indeed doesn't make much sense, because it relies on `nan_value` returning different NaNs, which is probably platform-specific.
I added a spec for this case: `[Float::NAN].should == [Float::NAN]`. -
05:44 PM Bug #15432: Float の NaN のみを含む配列比較のテスト
- It makes sense in the context of #1720.
I.e., all Ruby implementations behave that way, because `Float::NAN.equal? Float::NAN` must be true, and Array#== uses an #equal? + a #== check, not just #==. I want to restore the spec and add ... -
05:43 PM Bug #15933: OpenURI: Assign default charset for HTTPS as well as HTTP
- [HowToContribute](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToContribute) suggests that I can ping this ticket if it looks like it's been missed - there was some good discussion for a couple of days and then nothing since.
It's... -
04:34 PM Feature #15961: Always warn for URI.{,un}{escape,encode}
- I am not sure if such a verbose message would make sense, even more so as
long as the ruby user has no trivial way to silence a particular warning
(without e. g. the $VERBOSE trick to assign to a new value, make a change,
then re-assi... -
01:32 PM Revision 310a42e8 (git): Explain rubyspec Travis job in job name
- Eregon did not want https://github.com/ruby/ruby/commit/7b9dd379bfe4d597acfe4c26365feff61dabd488
because people only see Travis job name and don't see .travis.yml.
I believe the new job name is simple and informative enough to explain
w... -
11:31 AM Revision 1f7cb4be (git): Omit `EXPR_` prefix to show lex_state
-
10:28 AM Feature #15931: encoding for CESU-8
- naruse (Yui NARUSE) wrote:
> 文字コードの混乱という懸念は10年前ならあったでしょうが、もはやUTF-8が最高にして唯一の文字コードであることは誰の目にも明らかです。
> ...
勇気づけありがとうございます。書き込みの一つの目的は、CESU-8 の立場をはっきりさせることでした。
> 「RubyとJavaのブリッジ」と書かれていますが、リンク先を見るとこれはJNI (Java Native Interface) の話で、要... -
10:06 AM Revision 9247f6fc (git): Expand and clarify documentation about version guards for specs
-
09:57 AM Revision 2c02d571 (git): Add a comment explaining what to do if specs fail on Ruby 2.4
-
09:41 AM Feature #15940: Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
- naruse (Yui NARUSE) wrote:
> Note that an incompatibility which is caused by the change of string encoding is `String#<<(integer)`.
> ...
If I understand this correctly, the proposal is to change the encoding of Symbols from ASCII to U... -
07:58 AM Revision 7b716bc5 (git): Show the parser states in pretty_print too
-
07:03 AM Revision 2fd03fd7 (git): EXPR_LABEL also indicates non-continuation line
- Example:
[
1, # this is not continuation line
2
] -
06:35 AM Bug #15962 (Closed): irb immediately crashes when you type <<' or <<"
- Applied in changeset commit:git|097554855c1a9404f3220bcc5c1906cc62399b59.
----------
Fix ripper fatal
* parse.y (parser_yylex): return END_OF_INPUT at unterminated here
document instead of an error. [Bug #15962] -
06:31 AM Bug #15962: irb immediately crashes when you type <<' or <<"
- It was my mistake and could reproduce. This is Ripper's matter.
-
04:00 AM Bug #15962: irb immediately crashes when you type <<' or <<"
- I can't reproduce it. Please show me a commit what you tried, and your irbrc.
-
02:39 AM Bug #15962 (Assigned): irb immediately crashes when you type <<' or <<"
-
02:22 AM Bug #15962 (Closed): irb immediately crashes when you type <<' or <<"
- irb crashes right after inputting `<<'` or `<<"` from the top of a line.
The crash happens without inputting Enter key.
This is the log:
```
irb(main):001:0* <<Traceback (most recent call last):
35: from /home/hasumi/o... -
06:32 AM Revision 09755485 (git): Fix ripper fatal
- * parse.y (parser_yylex): return END_OF_INPUT at unterminated here
document instead of an error. [Bug #15962] -
06:23 AM Feature #15865: `<expr> in <pattern>` expression
- mame (Yusuke Endoh) wrote:
> I'd like to avoid to discuss a common topic between one-line and `case/in` in this particular ticket.
Agreed; the gist discusses the entirety of the feature-space, but the conversation in this ticket shou... -
02:47 AM Feature #15865: `<expr> in <pattern>` expression
- Thank you for your comment.
This ticket discusses one-line pattern matching: `<expr> in <pattern>` in my proposal. This proposal is based on the `case/in` pattern-matching statement. I'd like to avoid to discuss a common topic betw... -
12:21 AM Feature #15865: `<expr> in <pattern>` expression
- As suggested by Yusuke on Twitter, I'm posting a link to my own personal "wishlist" around pattern matching. I'm happy to discuss any points that might benefit from clarification.
https://gist.github.com/pvande/822a1aba02e5347c39e8e0a... -
06:13 AM Revision 2a56702e (git): Test for unterminated here-docs
-
02:18 AM Revision c86a9e65 (git): bc mode is already removed [ci skip]
-
01:59 AM Revision d6bcf367 (git): EXPR_CMDARG also indicates the end of an expression
-
12:20 AM Feature #14912: Introduce pattern matching syntax
- As suggested by Yusuke on Twitter, I'm posting a link to my own personal "wishlist" around pattern matching. I'm happy to discuss any points that might benefit from clarification.
https://gist.github.com/pvande/822a1aba02e5347c39e8e0...
06/26/2019
-
11:50 PM Feature #15931: encoding for CESU-8
- duerst (Martin Dürst) wrote:
> 念のために言っておきますが、https://www.unicode.org/reports/tr26/tr26-4.html に「It is not intended nor recommended as an encoding used for open information exchange.」と書いてあります。くれぐれもよくご注意ください。
> ...
「RubyとJavaのブリッジ」と書かれてい... -
09:13 AM Feature #15931: encoding for CESU-8
- 念のために言っておきますが、https://www.unicode.org/reports/tr26/tr26-4.html に「It is not intended nor recommended as an encoding used for open information exchange.」と書いてあります。くれぐれもよくご注意ください。
さらに、https://www.unicode.org/reports/tr26/ に「CESU-8 documen... -
11:39 PM Bug #12196: lib: Date.valid_date? returns incorrect response for negative day
- I don't think this is a bug in the code, but I do think we should improve the documentation for valid_date. I've added a pull request to do so: https://github.com/ruby/date/pull/7.
-
11:23 PM Revision 7172ab0e (git): Use native coroutine implementation on OpenBSD-amd64
- When using native fibers, do not load ucontext, as it isn't needed.
-
10:59 PM Bug #12206 (Closed): undef_method on prepended module undefines same-name method on prepending class
- This isn't a bug. `undef_method` and `remove_method` mean two different things in Ruby:
* `remove_method`: Remove the method with this name from the module/class method table
* `undef_method`: Add an entry to the module/class method... -
10:50 PM Bug #12212 (Closed): Parsing a URI of "mailto:?subject=hi" with `URI.parse` raises an exception
- I can't replicate the `NoMethodError` you are receiving on any ruby version:
```
$ ruby18 -ruri -e 'p URI.parse("mailto:?subject=hi")'
#<URI::MailTo:0xab543e6f5c0 URL:mailto:?subject=hi>
$ ruby19 -ruri -e 'p URI.parse("mailto:?subj... -
08:52 PM Feature #15961: Always warn for URI.{,un}{escape,encode}
- I am not sure, but can this warning be more helpful? Like method's documentation, which says:
> This method is obsolete and should not be used. Instead, use CGI.escape, URI.encode_www_form or URI.encode_www_form_component depending on... -
08:33 PM Feature #15961 (Closed): Always warn for URI.{,un}{escape,encode}
- These methods have both had a verbose mode warning for almost 10 years. If we ever plan on removing them, we should switch from a verbose mode warning to a regular warning. If we don't, people will still use them, and run into their pr...
-
08:12 PM Bug #12257: io/wait: wait_readable/writable working different than IO.select when descriptor not open
- I don't think this is a bug. It makes sense for `IO#wait_writable` to raise an exception, because the specific `IO` instance will never be writable after `close_write`. As the documentation for `IO.select` indicates, it calls `select(2...
-
07:39 PM Bug #12259: DateTime.parse does not take into account the system timezone
- I do not think this is a bug. DateTime has always defaulted to UTC, not just in `DateTime.parse`:
```ruby
DateTime.new.zone
# => "+00:00"
DateTime.strptime('2009', '%Y').zone
# => "+00:00"
DateTime.jd(2458000)
# => "+00:00"... -
06:08 PM Bug #12297 (Rejected): Ruby stdlib date can parse non-existent date with year 0
-
05:59 PM Bug #12421 (Closed): Please backport r53816, r53817
-
05:51 PM Bug #12502 (Closed): ruby/test_array.rb test_permutation_stack_error very slow on some platforms
- Fixed in commit:2743c491a7d7b4e015b9e0a2b114856371bdd636.
-
05:43 PM Bug #12541 (Closed): test failure with `umask 027`
- Fixed by commit:3666ceb729998a6149d335151517f56aef2eba74 and commit:4c6eb271ddecc8534d10449ec2ca40df6bea2e58.
-
04:26 PM Revision 24c4e6de (git): Increase indent of continuation line
- v =
3 # auto indent - 04:21 PM Revision df3c9471 (git): * 2019-06-27
-
04:21 PM Revision 72bfc52d (git): Decrease indent by closing token correctly
-
02:53 PM Revision d004989a (git): Do not attempt to use ucontext for fibers on OpenBSD
- OpenBSD does not support ucontext.
There may be a more generic way to handle this, using the result
of AC_CHECK_HEADERS(ucontext.h). -
01:09 PM Bug #15960 (Closed): rb_fstring should resize capacity [patch]
-
03:00 AM Bug #15960 (Closed): rb_fstring should resize capacity [patch]
- https://github.com/ruby/ruby/pull/2256
When a string is `#frozen`, it's capacity is resized to fit (if it is much larger), since we know it will no longer be mutated we'd like to save the space.
> puts ObjectSpace.dump(String.n... -
12:44 PM Revision 1235e054 (git): [DOC] Add spaces [ci skip]
-
12:44 PM Revision d9a055a7 (git): [DOC] Fix svn account [ci skip]
- 10:02 AM Revision acb67472 (git): Restore updated implementation of arm32 coroutine code, but prefer ucontext.
-
09:44 AM Revision ba17127e (git): Decrease nesting level when closing token comes at a non-first token of line
-
08:23 AM Revision 28eeaed8 (git): Revert "coroutine/arm32/Context.S: save/restore the registers via stack"
- This reverts commit 6df1814c08df93bbc0b3e7a73649bcf82e126064.
It caused a SEGV again:
https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-9d6766/ruby-master/log/20190626T051707Z.fail.html.gz - 08:19 AM Revision 6c6bf9ff (git): Add `ucontext` coroutine implementation for generic fallback.
-
07:04 AM Revision a84a99ff (git): test/ruby/test_array.rb (test_sort_with_replace): run in a subprocess
- This test invokes GC.start 100 times, which takes approx. six minutes in
Solaris. This change runs the test in a separated process, which makes
GC.start faster. -
06:01 AM Revision 04bc4c06 (git): Resize capacity for fstring
- When a string is #frozen, it's capacity is resized to fit (if it is much
larger), since we know it will no longer be mutated.
> puts ObjectSpace.dump(String.new("a"*30, capacity: 1000))
{"type":"STRING", "class":"0x7feaf00b7bf0"... -
06:01 AM Revision fe0ddf0e (git): `ensure` is not a continuos line
-
05:08 AM Revision 6df1814c (git): coroutine/arm32/Context.S: save/restore the registers via stack
- Retry of 518adcca0a and dbe232e24e
-
04:56 AM Feature #12558 (Assigned): Ruby does not support alternative server name in SSL connection
- This isn't a bug, this is a request for a feature that doesn't currently exist, which is the ability to connect to a server with an SSL certificate that doesn't match the address you are using to connect to the server. While this is in ...
-
04:08 AM Bug #12562 (Closed): URI merge removes empty segment contrary to RFC 3986
-
02:02 AM Revision 51361272 (git): Respect --dest-dir when removing old default gems
- Before this, tool/rbinstall would try to remove a gem file that
it may not have access too.
Fixes issue introduced in f550da512cefbe0283106ca839c4836a98efaf3a. -
01:49 AM Revision a3d1cacd (git): Decrease indent at "elsif" too
-
01:49 AM Revision ea8bc682 (git): Remove other debug prints
-
01:30 AM Bug #12764: rubygems with multi default gem problem
- @jeremyevans0
+1, Can you commit it? Thanks. -
12:23 AM Revision e478671e (git): Added version guard for backtrace printing feature of psych to ruby/spec.
06/25/2019
-
11:07 PM Revision cfa1a184 (git): Remove debug print...sorry
-
10:06 PM Feature #15940: Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
- @naruse Interesting, I actually had no idea you could `String#<<(integer)`.
In my humble opinion, integer shifting on string returned by `Symbol#to_s` is quite specific, and is unlikely to be common in the wild.
Additionally UTF8 ... -
01:53 PM Feature #15940: Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
- Note that an incompatibility which is caused by the change of string encoding is `String#<<(integer)`.
Maybe String#<<(n) should be deprecated if n > 127 and explicitly specify the encoding argument. -
06:18 PM Revision 0f280942 (git): Improve wording of Local Variables and eval section
- As pointed out by nobu, "defined" should be used instead of "assigned".
-
06:09 PM Bug #12764: rubygems with multi default gem problem
- This change broke installation when using `--dest-dir`, if the gem file without `--dest-dir` exists and the user performing the install does not have write access to the containing directory. This affects building a package for the Open...
-
05:58 PM Bug #13337: Eval and Later Defined Local Variables
- nobu (Nobuyoshi Nakada) wrote:
> "local variables assigned inside the call to +eval+" sounds like a just assignment to a local variable defined outside, doesn't it?
It could definitely be interpreted that way. I'll reword it to make... -
05:43 PM Bug #13337: Eval and Later Defined Local Variables
- "local variables assigned inside the call to +eval+" sounds like a just assignment to a local variable defined outside, doesn't it?
-
04:53 PM Bug #13337 (Closed): Eval and Later Defined Local Variables
- Applied in changeset commit:git|0bd5f846df2f6268f653773e0cd4a20e2a944646.
----------
Document local variable interactions with eval
Fixes [Bug #13337] -
07:20 AM Bug #13337: Eval and Later Defined Local Variables
- jeremyevans0 (Jeremy Evans) wrote:
> Attached is a documentation patch.
Seems fine.
A question:
> ...
Isn't "set" vague a little, between "defined" an "assigned"?
-
05:18 PM Bug #15959 (Closed): Bug in the Ruby interpreter or extension libraries
- I believe that this is a duplicate of #10933. Please try a newer version of Ruby and let us know if it reproduces.
-
04:55 PM Bug #15959 (Feedback): Bug in the Ruby interpreter or extension libraries
- Ruby 2.2.1 is no longer supported. Can you try with Ruby 2.5.5 or 2.6.3 and post back with the results?
-
04:49 PM Bug #15959 (Closed): Bug in the Ruby interpreter or extension libraries
- ``` ruby
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
bash: line 203: 20745 ... - 04:53 PM Revision 0aa8c3d8 (git): * 2019-06-26
- 04:53 PM Revision dd57442f (git): * remove trailing spaces.
-
04:52 PM Revision 0bd5f846 (git): Document local variable interactions with eval
- Fixes [Bug #13337]
-
02:32 PM Revision 730aeb25 (git): Revert 518adcca0a and dbe232e24e
- 518adcca0a: "Try using arm32 implementation for fibers."
dbe232e24e: "Order of arguments might be incorrect in arm32 coroutine implementation."
It seems to cause SEGV consistently on Ubuntu armv7l eabihf:
https://rubyci.org/logs/rubyci... -
01:17 PM Misc #15930: DevelopersMeeting20190711Japan
- [Feature #15958] Time#inspect with frac
-
01:12 PM Feature #15958 (Closed): Time#inspect with frac
- When Matz changed Time#to_s format in 2006, frac part of Time string is dropped because it is considered not useful.
[ruby-dev:29440]
But recently we encounters some troubles the comparison of Time objects whose frac parts are differ... -
01:07 PM Revision 57e1a69e (git): Treat auto indent with newline correctly
-
01:02 PM Revision 0b57f9b2 (git): Decrease indent when "else", "rescue", "ensure", "when", or "in" come
-
08:22 AM Revision 1cbc4f98 (git): test/net/imap/test_imap.rb: use Thread#stop? to wait for server thread
- Still timeout occurs. Retry for 5dd8fdd3f328f741fae4abba00c478e8a51d2a7e.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11x/ruby-master/log/20190625T032405Z.fail.html.gz -
07:46 AM Revision d7887b05 (git): Fixed broken ruby/spec related a53ab897c35586a836710a8afeb1e8c1abd9b087
-
06:56 AM Revision 746812ee (git): Do not allocate a string to check if a scalar is an integer
-
06:56 AM Revision 5a4d2b9f (git): Remove string_cache in ScalarScanner
-
06:56 AM Revision 63f78bba (git): Reduce string allocations in scalar_scanner
-
06:56 AM Revision 00d0ede8 (git): Removed CHANGELOG from rdoc files.
-
06:56 AM Revision 3c4fc830 (git): Retired to write CHANGELOG.rdoc. Because It has no update from 2015.
- 06:56 AM Revision 03dac55f (git): Dump Hash ivars before elements
- When the Hash is revived, the ivars will be set before elements. This
is for the case when the hash setter depends on ivars set on the hash. - 06:56 AM Revision 0016edbe (git): Add test to demonstrate issue deserializing hash with ivar
- Currently the elements of a hash are revived before any ivar values.
This causes an issue when the `[]=` method references an instance
variable. - 06:56 AM Revision a53ab897 (git): Round trip exception backtraces
- This commit allows exception backtraces to round trip
- 06:56 AM Revision f770a5be (git): Refactor exception dumping
- 06:56 AM Revision 4bd19094 (git): Dumping the backtrace never worked, so remove it
- Dumping the backtrace for exceptions never worked, so lets remove it.
-
06:56 AM Revision d118c84b (git): Fix IO#scanf on pipes on Windows
- IO.seek on a pipe on Windows raises Errno::EINVAL instead of
Errno::ESPIPE.
Fixes Ruby Bug #15199 -
06:56 AM Revision e572ff2f (git): Require version file relatively
-
06:56 AM Revision 083fda84 (git): Bump version to 1.2.0.
-
06:56 AM Revision 9b23aab2 (git): Fixed the wrong path for io-console.
-
05:07 AM Bug #15957 (Closed): Splatting nil as **kwargs
- Splatting nil as *array is ignored silently.
```ruby
[1, *nil]
# => [1, 2]
```
But splatting nil as **kwargs raises TypeError.
```ruby
{foo: 1, **nil}
# => no implicit conversion of nil into Hash (TypeError)
```
Is this int... - 05:04 AM Revision dbe232e2 (git): Order of arguments might be incorrect in arm32 coroutine implementation.
-
04:55 AM Bug #15956 (Closed): `{*nil}` causes confusing error message
- ```
$ ruby -e 'p({*nil})'
-e:1: syntax error, unexpected *, expecting '}'
p({*nil})
-e:1: Can't assign to nil
p({*nil})
```
First syntax error is intended.
But second error message `Can't assign to nil` is confusing.
This ha... -
03:21 AM Bug #15199 (Closed): scanf.rb broken with io from IO.pipe (MinGW or Windows?)
- Pull request merged: https://github.com/ruby/scanf/commit/50f3b58ea0b56df436025e77669413622d544fbf
-
12:40 AM Bug #15708 (Rejected): Implicit numbered argument decomposes an array
06/24/2019
-
11:25 PM Bug #12615 (Assigned): Pathname#rename does not work across filesystem boundaries.
- I do not think this is a bug. `Pathname#rename` operates exactly like `File.rename`, which like `rename(2)`, require that the source and destination be on the same file system.
`FileUtils.mv` tries to use `File.rename`, and if it fail... -
11:01 PM Bug #12712 (Closed): IRB won't work after input `%q_abc\_def\_ghi_`
- This appears to have been fixed between 2.6 and 2.7.0-preview1:
```
$ irb26
irb(main):001:0> %q_abc\_def\_ghi_
irb(main):002:1> ^C
irb(main):002:0>
$ irb27
irb(main):001:0> %q_abc\_def\_ghi_
=> "abc_def_ghi"
irb(main):002:0>... -
10:57 PM Bug #12724 (Closed): Net::HTTP#post_form and #get_response do not use ENV proxy as default
- Fixed by commit:67723c1e4673253b2f4a2c7204ccab9d0daaaeb9.
-
10:47 PM Bug #12932 (Third Party's Issue): [BUG] Segmentation fault at 0x00000000000078
- This crash appears to occur in the `di_binding` C function in the debug_inspector C extension:
https://github.com/banister/binding_of_caller/blob/v0.7.2/lib/binding_of_caller/mri2.rb#L25
https://github.com/banister/debug_inspector/bl... -
10:36 PM Bug #13028 (Closed): Binding#irb upon exiting makes _ retain the value of the last expression and never change it
- This appears to have been fixed between 2.5 and 2.6:
```
$ irb25
irb(main):001:0> binding.irb
irb(main):001:0> 1+3
=> 4
irb(main):002:0> exit
=> 0
irb(main):002:0> 1+4
=> 5
irb(main):003:0> _
=> 4
$ irb26
irb(main):001:0... -
10:16 PM Bug #13071 (Closed): bug in the Ruby interpreter or extension libraries
-
10:13 PM Bug #13106 (Rejected): Timeout does not wait for more than 120 seconds
-
10:11 PM Bug #13142 (Assigned): Forwardable regression: cannot delegate to a constant since 2.4.0
- From my testing, it looks like Ruby 2.2 was the first release to stop supporting nested constant lookup in `delegate`:
```
$ ruby21 -rforwardable -e 'class M; ENUMERATOR = 1; extend Forwardable; delegate [:to_s] => :ENUMERATOR; end; ... -
09:34 PM Bug #13275 (Closed): RDoc bug for "Document-method: []"
- Fixed: https://github.com/ruby/rdoc/issues/452
-
09:11 PM Bug #13337: Eval and Later Defined Local Variables
- This is as specified here
https://github.com/ruby/spec/blob/db74bf3313b4d49650417ba91b4e2d67cc253dc5/core/kernel/eval_spec.rb#L31-L68 -
09:05 PM Bug #13337: Eval and Later Defined Local Variables
- ko1 (Koichi Sasada) wrote:
> This is specification.
> ...
Attached is a documentation patch. However, a committer with more knowledge of the internals should probably check to see if it is technically accurate. -
09:10 PM Bug #13323 (Third Party's Issue): bug - workers - postgresql listen/notify
- This crash happens inside a 3rd party C extension (pg): https://github.com/ged/ruby-pg/blob/e399861022f7c8c5419bfc7ca486b2c44caa4030/ext/pg_connection.c#L2487-L2523
If this issue is still occurring for you, you should probably report ... -
08:30 PM Bug #13284 (Closed): IA64 ruby 2.4 miniruby segfault
- Ruby has dropped support for IA64.
-
06:48 PM Bug #13661 (Rejected): DateTime.parse parses strings with a month abbreviation after a word boundary as a valid date
- `{Date,DateTime}.parse` use a loose parsing. They assume that somewhere in the string, there is something representing a date or time, and do their best to find it. Only if they can find nothing related to a date or time do they raise ...
-
06:40 PM Bug #13691 (Rejected): Word- and symbol array literals not valid where regular array is
-
06:39 PM Bug #13695 (Closed): Issue with require and require_relative with symlinked directories
-
06:36 PM Bug #13727 (Closed): Not able to set program_name for new Syslog::Logger
-
06:27 PM Bug #13837 (Closed): Class attributes get overshadowed by local variables
- valerauko (Balint Erdos) wrote:
> I still can't consider this correct behavior. Aren't the multi-line and the single-line ways of writing `if` supposed to be equivalent?
No. This is documented in `doc/syntax/control_expressions.rdoc... -
06:23 PM Bug #13851 (Closed): getting "can't modify string; temporarily locked" on non-frozen instances
-
06:19 PM Bug #13907 (Assigned): Operation not permitted (Errno::EPERM) when adjusting .irbrc_history file permissions
- I'm not sure if this is a bug or not. However, considering that irb ignores permission issues on `.irbrc` (not intentionally I think), I suppose it makes sense to also ignore permission issues on the history file. I added a pull reques...
-
05:49 PM Feature #15955 (Closed): UnboundMethod#apply
- I'd love a way to apply an UnboundMethod to a receiver and list of args without having to first `bind` it. I've ended up using `UnboundMethod`s in some hot paths in my application due to our metaprogramming idioms, and the allocation fro...
-
05:44 PM Bug #13947 (Rejected): Incorreсt string parsing in Date.parse
-
05:41 PM Bug #13961 (Closed): String#unpack の warning メッセージが SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
- Fixed by commit:027cf467a4d093275b9c18fe694337765ff00213.
-
05:35 PM Bug #14026 (Feedback): RUBY ERROR ON DIVISION with FDIV
- So it looks like there was a behavior change between Ruby 2.3 and 2.4, in that `Integer#fdiv` with a BigDecimal argument used to return BigDecimal instead of Float. However, I consider that change a bug fix, as the documentation for `fd...
-
05:15 PM Bug #14099 (Feedback): heap-use-after-free (WRITE of size 8) in rb_obj_write (include/ruby/ruby.h:1484)
- I tried this example with the current master branch using OpenBSD's use-after-free checking (with Clang 7), and it raised a SystemStackError (as expected due to the infinite recursion), but it didn't crash. Can you replicate the use-aft...
-
05:09 PM Bug #14069 (Assigned): Document order of elements in Set
- I believe the fact that sets are currently insertion ordered due to the use of hash is an implementation detail, and we shouldn't document it.
- 03:19 PM Revision e09afd15 (git): * 2019-06-25
-
03:18 PM Revision 9c19cd52 (git): Refactor calculation of corresponding token depth
-
11:27 AM Feature #15954: 簡単にマルチスレッドを一度に合流させる
- matz (Yukihiro Matsumoto) wrote:
> ライブラリでスレッドを作ったりしている可能性もあるので「自分以外全部join」はマズいんじゃないかなあと思います。
> ...
確かにそうでした。現在のファイルで作られたスレッドなどの制限を付ければいいのかな。良さそうな考えが浮かんだらまた出直します。 -
11:17 AM Feature #15954 (Rejected): 簡単にマルチスレッドを一度に合流させる
- ライブラリでスレッドを作ったりしている可能性もあるので「自分以外全部join」はマズいんじゃないかなあと思います。
Since required libraries may create threads inside, joining other threads altogether could cause problems.
What do you think?
Matz.
-
10:18 AM Feature #15954 (Rejected): 簡単にマルチスレッドを一度に合流させる
- 現在いるスレッド以外の全てのスレッドを現在のスレッドに合流させたいときは多いと思います。
その場合、一つの方法は、スレッドを生成するときにそれらを配列に蓄えておき、あとでその配列の各要素のスレッドに対して`join`をすることですが、そのためにわざわざスレッドを配列に蓄えておかなければならないのは、若干手間で無駄かなと思います。
それを回避する方法として、私の思いつく限りで単純な方法は次のようなものです。
```ruby
Thread.list.ea... -
10:26 AM Bug #15708: Implicit numbered argument decomposes an array
- 説明をありがとうこざいます。バクでないことは分かったので、閉じて下さい。
-
09:57 AM Misc #15930: DevelopersMeeting20190711Japan
- * [Feature #15950]Allow negative length in `Array#[]`, `Array#[]=`, `Array#slice`, `Array#slice!`, `String#[]`, `String#[]=`, `String#slice`, `String#slice!`
* 長さの負の値を許し、その場合に左向きに長さを測る提案です。
* 文字列の右端の定められた長さを取り出すときなどに便利だと思います。
... - 07:09 AM Revision 518adcca (git): Try using arm32 implementation for fibers.
-
07:01 AM Revision 4275f090 (git): remove UNREACHABLE
-
04:52 AM Bug #15953 (Closed): Wrong heap size given to ruby_sized_xfree when freeing shared root arrays
- Applied in changeset commit:git|97b4fe2ff6bffe8728952236f2027aa6242f8f40.
----------
array.c: Wrong heap size given to ruby_sized_xfree when freeing shared roots
Fixes [Bug #15953]
Closes: https://github.com/ruby/ruby/pull/2253 -
04:34 AM Revision 97b4fe2f (git): array.c: Wrong heap size given to ruby_sized_xfree when freeing shared roots
- Fixes [Bug #15953]
Closes: https://github.com/ruby/ruby/pull/2253 -
03:59 AM Feature #15931 (Closed): encoding for CESU-8
- Applied in changeset commit:git|7f64a0b4db7ee27a04579236950d88301c7bcabb.
----------
Add new encoding CESU-8 [Feature #15931] -
03:58 AM Revision 7f64a0b4 (git): Add new encoding CESU-8 [Feature #15931]
- 03:13 AM Revision 0e6396d2 (git): Try using arm64 implementation for fibers.
- 03:13 AM Revision abdbfeba (git): Use spaces for indentation in `configure.ac`.
-
02:27 AM Misc #15744: Improvement needed to documentation of 'Literals'
- IMO, literals are purely syntactic constructs. That doesn't mean they always behave the same as objects created by other means, ex: when calling methods, but as far as the definition of a literal, it's just a syntactic thing. Perhaps tha...
- 02:25 AM Revision 5d4dfcd8 (git): * remove trailing spaces.
- 02:24 AM Revision a071bed7 (git): Print warning if not using native coroutine.
-
01:53 AM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
- samuel@oriontransfer.net wrote:
> Eric do you mind explaining where we got to with this and how
> to move forward?
I don't think this patch is doable given potential incompatibilities
(and I fixed the problem with timer-thread bef... - 01:24 AM Revision 0b36c90e (git): * 2019-06-24
-
01:12 AM Revision edbad4ad (git): httpstatus.rb 100% coverage
-
01:11 AM Revision c6229e7c (git): Adds WebAssembly MIME type
-
01:11 AM Revision 11a60f9b (git): Remove extraneous spaces at the end of status line
- Remove extraneous spaces after the status code that is
non-compliant with RFC, i.e `HTTP 200 OK `, to unnecessary
confusion for WEBrick users, by a risk that WEBrick instances in
the wild will have server responses flagged as suspicious ...
06/23/2019
-
07:35 PM Bug #15953: Wrong heap size given to ruby_sized_xfree when freeing shared root arrays
- PR here: https://github.com/ruby/ruby/pull/2253
I ran the `make test-all` suite with `#define ARRAY_DEBUG 1`, no failed assertions (I added a new assertion in a macro).
Thanks, -
07:25 PM Bug #15953 (Closed): Wrong heap size given to ruby_sized_xfree when freeing shared root arrays
- In `ary_heap_free`, the macro `ARY_HEAP_CAPA` is used to pass on to `rb_sized_xfree`. However, `ARY_HEAP_CAPA` uses the `aux.capa` field,
which is actually the number of shared strings that are using the root array, if a shared root is ... -
02:12 PM Revision 97a7f463 (git): Max length of UNIX socket path is 104 bytes on macOS
-
02:10 PM Revision 50b2807a (git): Do not lengthen UNIX socket path
- * spec/ruby/library/socket/unixsocket/recvfrom_spec.rb: do not
lengthen UNIX socket path, which is very stricted. -
01:35 PM Revision bdcfba54 (git): vcs.rb: handle --dryrun option
- 01:28 PM Revision 096a45d3 (git): Update NEWS.
- - Add note regarding IA64 removal.
- Add note about Thread allocation performance improvements. -
04:47 AM Feature #15504: Freeze all Range objects
- I guess @eregon came from #15950. Will `ary[-3..]` be as efficient as `ary[-3, 3]` by freezing and deduping a literal `(-3..)`? Looks good if we can confirm it by an experiment.
Some thoughts:
* Even if a range is frozen, `("a"..... -
04:17 AM Revision 5a187e26 (git): array.c add back shared array optimization to ary_ensure_room_for_unshift
- Bug fix in commit ec8e5f5aa64e2a [Bug #15952] disabled an
optimization in this function.
Closes: https://github.com/ruby/ruby/pull/2252
06/22/2019
-
11:34 PM Bug #15952 (Closed): Issue with Array#unshift, sometimes doesn't respect frozenness of array
- Applied in changeset commit:git|ec8e5f5aa64e2a54cf1e303f2b012c98e8d521ba.
----------
array.c: always check frozenness in Array#unshift. Fixes [Bug #15952]
Closes: https://github.com/ruby/ruby/pull/2251 -
10:39 PM Bug #15952: Issue with Array#unshift, sometimes doesn't respect frozenness of array
- PR here: https://github.com/ruby/ruby/pull/2251
-
10:23 PM Bug #15952 (Closed): Issue with Array#unshift, sometimes doesn't respect frozenness of array
- This should raise a `FrozenError`, but doesn't:
```ruby
a = [1] * 100
b = a[4..-1]
a.replace([1])
b.freeze
b.unshift("a") # no error
```
There is a code path in `ary_ensure_room_for_unshift` where the frozen check is skipped.... -
11:05 PM Revision ec8e5f5a (git): array.c: always check frozenness in Array#unshift. Fixes [Bug #15952]
- Closes: https://github.com/ruby/ruby/pull/2251
-
10:56 PM Revision 3840791b (git): Get rid of error with frozen string literal
- [Bug #14194]
-
10:42 PM Revision bebe8d13 (git): Disable frozen-string-literal to disable deduplication
- [Bug #14194]
-
10:37 PM Bug #14194 (Closed): --enable-frozen-string-literal ruby runner.rb cgi
- Applied in changeset commit:git|2ad7a7f801c07f18150116b819530840eeefebf8.
----------
Get rid of error with frozen string literal
[Bug #14194] -
03:37 PM Bug #14194: --enable-frozen-string-literal ruby runner.rb cgi
- FYI,
Just ran ruby-loco with frozen string. Both test-all & spec are run parallel, and both crashed.
test-all failures/errors before crash:
```
ruby 2.7.0dev (2019-06-22T14:38:07Z master f738eeabc2) [x64-mingw32]
CRASHED?
... -
07:11 AM Bug #14194: --enable-frozen-string-literal ruby runner.rb cgi
- nobu (Nobuyoshi Nakada) wrote:
> It doesn’t seem harmful, and tests should be independent from the condition.
I'm unsure, it forces existing code to add `# frozen_string_literal: false`, which seems not valuable if anyway the default... -
05:49 AM Bug #14194: --enable-frozen-string-literal ruby runner.rb cgi
- sorry, **should** be independent
-
05:35 AM Bug #14194: --enable-frozen-string-literal ruby runner.rb cgi
- It doesn’t seem harmful, and that test should be independent from the condition.
-
03:32 AM Bug #14194: --enable-frozen-string-literal ruby runner.rb cgi
- @jeremyevans0
Sorry for the tardy response, I had hoped to run a CI build with the flag set, but busy with other things...
I was unaware that the decision had been made re Ruby 3. If you have any links to discussions, etc, I'd be ... -
10:36 PM Revision 2ad7a7f8 (git): Get rid of error with frozen string literal
- [Bug #14194]
-
05:49 PM Revision aa2f5058 (git): Make autoloading_const_entry static
-
04:47 PM Feature #10771 (Closed): An easy way to get the source location of a constant
- Applied in changeset commit:git|93843830198ba436e2ea21a60a11758d47cf521b.
----------
Module#constant_source_location [Feature #10771] - 04:47 PM Revision c5c34863 (git): * expand tabs.
-
04:46 PM Revision ef524c13 (git): NEWS: Module#constant_source_location
- [Feature #10771]
-
04:46 PM Revision 93843830 (git): Module#constant_source_location [Feature #10771]
-
04:26 PM Revision 5084233b (git): Split global search for module
-
04:26 PM Revision 151843b9 (git): Hoisted out autoloading_const_entry
-
03:50 PM Bug #15951 (Closed): Issue with Array#rindex when rb_equal call modifies receiver
- Applied in changeset commit:git|c033dc3073839e3578f1ba25d53b837974b56474.
----------
Fix issue with Array#rindex when rb_equal modifies receiver array
Fixes [Bug #15951]
Closes: https://github.com/ruby/ruby/pull/2250 -
03:30 PM Bug #15951: Issue with Array#rindex when rb_equal call modifies receiver
- PR here: https://github.com/ruby/ruby/pull/2250
-
03:20 PM Bug #15951 (Closed): Issue with Array#rindex when rb_equal call modifies receiver
- Hi, this causes out of bounds RARRAY_AREF call in `rb_ary_rindex` in trunk branch, and results in a segmentation fault on my system:
```ruby
o = Object.new
def o.==(other)
other.replace([]) if Array === other
false
end
a... -
03:49 PM Revision c033dc30 (git): Fix issue with Array#rindex when rb_equal modifies receiver array
- Fixes [Bug #15951]
Closes: https://github.com/ruby/ruby/pull/2250 -
03:37 PM Bug #13498 (Closed): Weakref, Weakmap and define_finalizer don't work on frozen objects
- Applied in changeset commit:git|f3c81b4e90ec492382e299573f2c3ac272adbb5f.
----------
Frozen objects in WeakMap
* gc.c (wmap_aset): bypass check for frozen and allow frozen
object in WeakMap. [Bug #13498] - 03:37 PM Revision fd9ac1e7 (git): * 2019-06-23
-
03:31 PM Revision f3c81b4e (git): Frozen objects in WeakMap
- * gc.c (wmap_aset): bypass check for frozen and allow frozen
object in WeakMap. [Bug #13498] -
02:48 PM Revision f5e29044 (git): Use EXEEXT
- * test/lib/minitest/unit.rb (MiniTest::Assertions.diff): use
`EXEEXT` configured value instead of switching by hard coded
`host_os`. -
02:38 PM Feature #15504: Freeze all Range objects
- I think it would make sense to freeze Range literals.
Adding methods to Range might be reasonable, but singleton methods, I would think much less so. -
02:38 PM Revision f738eeab (git): golf_prelude.rb: suppress the redefining warning
-
02:29 PM Feature #15950: Allow negative length in `Array#[]`, `Array#[]=`, `Array#slice`, `Array#slice!`, `String#[]`, `String#[]=`, `String#slice`, `String#slice!`
- sawa (Tsuyoshi Sawada) wrote:
> And needless to say, this proposal would be irrelevant to Ruby beginners who insist on needlessly creating a range object as in `"abcdefg"[0...3]` to take the first three characters of the string, when y... -
12:12 PM Feature #15950: Allow negative length in `Array#[]`, `Array#[]=`, `Array#slice`, `Array#slice!`, `String#[]`, `String#[]=`, `String#slice`, `String#slice!`
- shevegen (Robert A. Heiler) wrote:
> ```ruby
> ...
It is the same idea as negative index. If you did not have the concept of cycling, then you would be surprised with negative index too. You would need to say "0 lets me assume to start... -
07:04 AM Feature #15950 (Rejected): Allow negative length in `Array#[]`, `Array#[]=`, `Array#slice`, `Array#slice!`, `String#[]`, `String#[]=`, `String#slice`, `String#slice!`
- sawa (Tsuyoshi Sawada) wrote:
> But to take the last n characters, we need to use n in two arguments: in the index (in negative form) in addition to the length:
> ...
Why not:
```ruby
"abcdefgh"[-3..-1] # => "fgh"
```
I would t... -
06:58 AM Feature #15950: Allow negative length in `Array#[]`, `Array#[]=`, `Array#slice`, `Array#slice!`, `String#[]`, `String#[]=`, `String#slice`, `String#slice!`
- Hmm. I do not necessarily doubt that it may be useful (at the least for
some users), but that also actually surprised me. For example:
```ruby
"abcdefgh"[0, -3] # => "fgh"
```
I guess my brain got confused here, since the 0 wou... -
06:03 AM Feature #15950: Allow negative length in `Array#[]`, `Array#[]=`, `Array#slice`, `Array#slice!`, `String#[]`, `String#[]=`, `String#slice`, `String#slice!`
- Negative **offset** is allowed, but negative **length** has never been allowed, IIRC.
-
03:09 AM Feature #15950 (Rejected): Allow negative length in `Array#[]`, `Array#[]=`, `Array#slice`, `Array#slice!`, `String#[]`, `String#[]=`, `String#slice`, `String#slice!`
- To take the first n characters of a string, using `[]` is straightforward:
```ruby
"abcdefgh"[0, 3] # => "abc"
```
But to take the last n characters, we need to use n in two arguments: in the index (in negative form) in addition ... -
09:39 AM Revision bad66f3e (git): Show timed out threads
- * test/lib/test/unit/assertions.rb (assert_join_threads): kill and
show timed out threads. -
04:57 AM Feature #9948 (Closed): Safely insert an object into an array
-
02:41 AM Feature #9948: Safely insert an object into an array
- I withdraw this proposal. Please close it.
-
01:56 AM Bug #15820: Backport 5e23b1138f1 (Fix potential memory leak)
- ruby_2_6 r67712 merged revision(s) 5e23b1138f16af0defb184d7deeffadfd2ce3c04.
-
01:56 AM Revision f5022fcf (git): merge revision(s) 5e23b1138f16af0defb184d7deeffadfd2ce3c04: [Backport #15820]
- Fix potential memory leak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:29 AM Revision 4d650bc2 (git): Fix over-expansion
- * test/lib/minitest/unit.rb (MiniTest::Assertions#mu_pp_for_diff):
do not expand escaped backslash followed by 'n'.
06/21/2019
-
11:52 PM Feature #15947: ENV.merge!
- Thank you!
-
04:26 PM Feature #15947 (Closed): ENV.merge!
- Applied in changeset commit:git|d01fd821875b989affc36e54e98f5dd67f47062e.
----------
Alias ENV.merge! as ENV.update
[Feature #15947]
Closes: https://github.com/ruby/ruby/pull/2246 -
04:23 PM Feature #15947: ENV.merge!
- This looks good to me, I'll merge it.
Thank you for the PR. -
03:51 AM Feature #15947 (Closed): ENV.merge!
- ENV basically has hash like methods.
So I would like to apply an alias `ENV.merge!` that behavior is same as `ENV.update`.
github: https://github.com/ruby/ruby/pull/2246 -
05:48 PM Bug #14241 (Assigned): Time.strptime() doesn't support the directive "%W".
- I agree this is a bug that should be fixed. Attached is a patch that implements support for %U/%W/%u/%w in `Time#strptime`.
-
04:37 PM Bug #14252 (Closed): Refined Method Visibility Lost with Dynamic Dispatch and Reflection
- Ruby 2.6.0 started honoring refinements in `Kernel#public_send`.
-
04:25 PM Revision d01fd821 (git): Alias ENV.merge! as ENV.update
- [Feature #15947]
Closes: https://github.com/ruby/ruby/pull/2246 -
04:21 PM Revision 3b2d11ad (git): Use different names for autoload constants in specs for clarity
-
04:21 PM Revision e5e811e4 (git): Add extra spec from https://github.com/ruby/ruby/pull/2173
-
04:16 PM Revision 2f2fc939 (git): Always define RUBY_RELEASE_DATETIME
-
03:31 PM Revision c79131df (git): Treat closing token with starting token at head of 2nd line correctly
- v =
if true # starting token at head of 2nd line
3
end # closing token -
03:31 PM Revision 5e208866 (git): Do auto indent only when closing token at first of line
- if true
3; end # this isn't auto-indented - 03:03 PM Revision d1fa0f61 (git): * 2019-06-22
-
02:48 PM Revision 8a1dd9b8 (git): Revert RUBY_RELEASE_DATE to date only
-
02:04 PM Revision 1c7e303b (git): Constified unusable chars
-
01:48 PM Bug #15946 (Closed): Undefined behavior can occur with memcpy in String#sub!
- Applied in changeset commit:git|8f51da5d41f0642d5a971e4223d1ba14643c6398.
----------
Get rid of undefined behavior
* string.c (rb_str_sub_bang): str and repl can be same.
[Bug #15946] -
01:48 PM Bug #15946: Undefined behavior can occur with memcpy in String#sub!
- Thank you.
`s3` doesn't seem to need to share `s`. -
12:37 AM Bug #15946 (Closed): Undefined behavior can occur with memcpy in String#sub!
- Hi, I've found an overlapping memcpy in an odd situation:
```ruby
s = "hello there this is a long string and cant be embedded"
s2 = s.dup # create shared string pointing to s
s3 = s.slice(1, 100) # create shared string pointing to ... - 01:48 PM Revision 551ef274 (git): * expand tabs.
-
01:42 PM Revision 8f51da5d (git): Get rid of undefined behavior
- * string.c (rb_str_sub_bang): str and repl can be same.
[Bug #15946] -
12:35 PM Revision 50841eca (git): Support irregular auto indent
- v =
if true
3
end # this "end" is auto-indented correctly -
09:02 AM Revision 38ccb8f7 (git): Remove a duplicate test
-
08:53 AM Revision 16729f64 (git): Remove duplicate functions
-
08:43 AM Bug #15949 (Closed): Enumerator::Lazy should support filter_map
- Applied in changeset commit:git|702cf3ec9051914c8ef5a353580e0e74f7ec7005.
----------
Enumerator::Lazy should support filter_map
Fixes [Bug #15949] -
08:39 AM Bug #15949 (Closed): Enumerator::Lazy should support filter_map
- filter_map has been added to Enumerable, but it's not supported by Enumerator::Lazy.
```
p (1..).lazy.filter_map { |i| i.even? && i.to_s }.first # never return
```
- 08:43 AM Revision 432b28af (git): * expand tabs.
-
08:42 AM Revision 702cf3ec (git): Enumerator::Lazy should support filter_map
- Fixes [Bug #15949]
-
08:40 AM Revision 35392ff0 (git): Fix an example [ci skip]
-
08:29 AM Feature #15777 (Closed): autoload?(cname, inherit=true)
- Applied in changeset commit:git|fb85a428605265a8fd449b0702a4dd88cb6f3b20.
----------
Add an optional `inherit` argument to Module#autoload?
[Feature #15777]
Closes: https://github.com/ruby/ruby/pull/2173 -
08:13 AM Feature #15777: autoload?(cname, inherit=true)
- The new patch looks fine to me.
@nobu I'll let you merge it since you did most of the review. - 08:29 AM Revision c997f7da (git): * expand tabs.
-
08:28 AM Revision 5b7cc63d (git): Turned `recur` into `int` [Feature #15777]
-
08:28 AM Revision fb85a428 (git): Add an optional `inherit` argument to Module#autoload?
- [Feature #15777]
Closes: https://github.com/ruby/ruby/pull/2173 -
08:11 AM Revision 887163be (git): Fix call-seq of lazy.filter_map [ci skip]
-
07:35 AM Feature #15948 (Open): ENV.update takes multiple hashes as Hash#update
- Follow https://bugs.ruby-lang.org/issues/15111
For consistency, I'd like ENV.update takes multiple hashes.
github: https://github.com/ruby/ruby/pull/2248 - 07:31 AM Revision 0174285e (git): * expand tabs.
-
07:28 AM Revision 06a622b7 (git): Lazy filter_map
-
06:29 AM Revision 4149fd60 (git): Fix small typo on block_scanf example [ci-skip]
- Closes: https://github.com/ruby/ruby/pull/2247