Activity
From 06/23/2019 to 06/29/2019
06/29/2019
- 11:50 PM Revision 81e8830a (git): * 2019-06-30
-
11:45 PM Revision 45ba027d (git): Removed unused variables
-
01:11 PM Feature #14548 (Rejected): Allow some_array&.[1] to be a valid syntax
- And it's too confusing. `ary&.[]` and `ary&.[]()` for example.
-
12:45 PM Revision 9f648262 (git): Fix predicate to assert if object is same
-
11:11 AM Bug #13593: Addrinfo#== behaves oddly
- PR here https://github.com/ruby/ruby/pull/2259
-
10:17 AM Revision cbb7dc21 (git): Fix predicate to assert if object is same
-
10:07 AM Revision 792d1deb (git): Escape control codes in regexp warning message
-
09:45 AM Revision 27723b69 (git): Should not warn massign parameters as unused
-
08:55 AM Revision a17fba69 (git): Rmove old TestTimeTZ::TZ#abbr attribute
-
08:52 AM Revision 7ba14b02 (git): Add max option to TestProtocol#create_mockio
- * test/net/protocol/test_protocol.rb (TestProtocol#create_mockio):
max option to limit maximum writable size at once, and unify
mock method in test_write0_multibyte. -
01:17 AM Bug #15965 (Closed): String#grapheme_clusters does not work with wide encodings
- Applied in changeset commit:git|2f6cc15cdb3d64135b29cfd5ee376a5a03ebbee7.
----------
Fixed String#grapheme_clusters with wide encodings
* string.c (get_reg_grapheme_cluster): make regexp from properly
encoded sources fro wide-char en... -
12:52 AM Bug #15965 (Closed): String#grapheme_clusters does not work with wide encodings
- ```
$ ruby2.5 -v -e 'p "abc".encode("UTF-16BE").grapheme_clusters'
ruby 2.5.5p157 (2019-03-15 revision 67260) [x86_64-darwin18]
[]
$ ruby2.6 -v -e 'p "abc".encode("UTF-16BE").grapheme_clusters'
ruby 2.6.3p62 (2019-04-16 revision 6... - 01:17 AM Revision a88107c4 (git): * expand tabs.
-
01:10 AM Revision 2f6cc15c (git): Fixed String#grapheme_clusters with wide encodings
- * string.c (get_reg_grapheme_cluster): make regexp from properly
encoded sources fro wide-char encodings. [Bug #15965]
* regparse.c (node_extended_grapheme_cluster): suppress false
duplicated range warning for the time being. -
01:02 AM Revision 8aecc909 (git): Hoisted out WIDE_ENCODINGS
06/28/2019
- 11:12 PM Revision 14da3009 (git): * 2019-06-29
-
05:40 PM Misc #15930: DevelopersMeeting20190711Japan
- * [Feature #14385] Deprecate back-tick for Ruby 3.
* What does matz want to use backticks for?
* It seems too incompatible of a change, isn't it?
* [Bug #15708] Implicit numbered argument decomposes an array
* What's the reason... -
05:25 AM Misc #15930: DevelopersMeeting20190711Japan
- * [[Feature #14385]: Deprecate back-tick for Ruby 3.](https://bugs.ruby-lang.org/issues/14385)
* related [```enforce %x(style invocation) because backticks `` are deprecated```](https://github.com/testdouble/standard/pull/121) -
05:35 PM Feature #14385: Deprecate back-tick for Ruby 3.
- nrodriguez (Nicolas Rodriguez) wrote:
> You use the same symbol "`" for the begining and the end of the instruction which is not a good thing to do when you design a programming language as it creates ambiguities.
> ...
It's just this ... -
01:32 PM Feature #14385: Deprecate back-tick for Ruby 3.
- > In Bash $() is prefered over backticks for that reason.
Bash uses horrible things such as tapping into arguments
within a function without that function having a proper
method signature. I do not think it is useful to want to
com... -
05:26 PM Bug #15708: Implicit numbered argument decomposes an array
- I think we don't need a new ticket.
This ticket description explains the problem and I argue it is bug, even if the current behavior was intended by nobu.
Let's let matz judge.
Also, if the behavior is kept we should have a clear re... -
01:54 PM Bug #15708: Implicit numbered argument decomposes an array
- @eregon I think sawa says "This behavior was intentional so not a bug. Please file a new ticket if you request a feature change."
@sawa I know you can write English better than I. Please do not use Japanese in an English ticket. -
12:22 PM Bug #15708 (Rejected): Implicit numbered argument decomposes an array
-
11:32 AM Bug #15708: Implicit numbered argument decomposes an array
- これは意図されたものなので、バグではありません。勘違いによりアサインされてしまったようなので、閉じてください。
この挙動に対する不満を述べているコメントがあるようですが、それなら明らかにそれは仕様として別のイシューとして書かれるべきであり、バグに対してまつもとさんにアサインされて、判断を仰ごうとしているのがそもそも自己矛盾だと思います。 -
10:53 AM Bug #15708 (Assigned): Implicit numbered argument decomposes an array
- IMHO, this is very much a bug, and the single reason I heard for it seems largely outweigh by being non-intuitive and breaking code.
@nobu BTW, that reason has not been written here yet and should be, please write it down.
IMHO using @... -
04:33 PM Feature #15940: Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
- I generally like the idea, but really from a semantics perspective rather than a memory savings one. It's confusing to both implementers and end users alike that Symbols take on a different encoding from Strings if they happen to be ASCI...
-
09:31 AM Feature #15940: Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
- If we change this, the encoding of Symbol literals should be the same as String literals, i.e., use the file's magic encoding comment or UTF-8 if there isn't one.
-
09:29 AM Feature #15940: Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
- byroot (Jean Boussier) wrote:
> However, there are several ruby specs asserting this behavior, but I don't know if they can be changed or not.
Specs can always be changed, along with `ruby_version_is` guards to specify which behavior... -
09:26 AM Feature #15940: Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
- duerst (Martin Dürst) wrote:
> If I understand this correctly, the proposal is to change the encoding of Symbols from ASCII to UTF-8. So if such a symbol is converted to a String (which in itself may not be that frequent), and then an I... -
04:31 PM Revision ede05690 (git): Set file name and line number
-
04:30 PM Revision d12d53a6 (git): Adjust caller's line number, expect the next line as here-doc
-
02:21 PM Revision 2bb217bf (git): Removed unused variables
-
02:21 PM Revision d233f917 (git): [DOC] Re-apply r11000, 41256fd43275c8bf66460510da7ab958a802e2a2
- * eval.c (rb_thread_kill): fix Thread#kill docs, which returns
the thread object in all cases.
From: why the lucky stiff <why@ruby-lang.org> -
01:25 PM Revision c718f56e (git): Remove auto indent of continuation line
-
10:35 AM Feature #15964 (Closed): Support for RFC2389 in Net::FTP
- This patch implements [RFC 2389](https://tools.ietf.org/html/rfc2389) in the stdlib implementation of Net::FTP.
RFC 2389 is used to make FTP extensions discoverable and provides a way to interact with them through the FEAT and OPTS co... -
10:25 AM Feature #15955: UnboundMethod#apply
- Escape analysis might be able to remove the Method allocation of `unbound.bind(recv).call(*args)`.
In fact, TruffleRuby does it for such a pattern.
So the interesting question for me is whether this should be fixed by the JIT or by a... -
09:15 AM Feature #15950: Allow negative length in `Array#[]`, `Array#[]=`, `Array#slice`, `Array#slice!`, `String#[]`, `String#[]=`, `String#slice`, `String#slice!`
- > I'm negative on making indexing semantics a lot more complicated.
To clarify, I think adding more logic to indexing would slow down indexing in general, which is undesirable and goes against your goal.
Besides, this is really har... -
09:11 AM Bug #12131 (Closed): Should defining singleton_method_added call itself?
- Right, it makes sense with the current semantics.
I think this is surprising though, and possibly causing bugs for people expecting the method to be called only for methods defined after method_added/singleton_method_added.
However, si... -
08:10 AM Revision 8ec877d1 (git): Add parentheses to suppress a warning
-
08:08 AM Revision 3dba16a5 (git): Test string content
-
08:08 AM Revision 5331932c (git): Removed unused variables
-
08:07 AM Revision 8d04f90d (git): Fixed a variable name
-
07:36 AM Misc #15943: Add Bug Triaging Guide
- Many thanks for writing this guide (and then using in and triaging lots of bugs)! It's pretty much straightforward, and I don't have any issues with it.
The only addition I might suggest is to mention that bugs that may benefit from g... -
07:02 AM Revision e9bce55c (git): Removed excess spaces
-
07:02 AM Revision 566e6b05 (git): Fixed name conflict between helper classes
-
06:26 AM Revision 35b7e8ee (git): Skip instead of return
-
06:26 AM Revision f8b528ba (git): Suppress unused variable warnings
-
06:25 AM Revision 11571b0e (git): Use assert_separately instead of invoke_ruby
-
06:22 AM Revision e0c4cb2e (git): Define singleton method on each new objects
-
06:09 AM Revision a0c141b6 (git): Suppress redefinition and void context warnings
-
06:04 AM Revision f8b64e5f (git): Use assigned local variable
-
05:54 AM Revision c52dad0e (git): Wait for the helper thread to terminate
-
05:38 AM Revision 023360ee (git): [DOC] Singleton.instance [ci skip]
-
05:23 AM Revision 2d1728b9 (git): Moved Singleton.instance to get rid of redefinition
-
05:09 AM Revision 951f80f2 (git): Removed unused variable
-
05:09 AM Revision ef45fd53 (git): Fixed the test-case class name for zsh
-
03:41 AM Revision be14f62c (git): Default @debug to $DEBUG
-
03:39 AM Revision 4562dad9 (git): Removed unused variable
-
03:37 AM Revision 7eaedda5 (git): Use block instead of explicit close
-
03:37 AM Revision 5627f744 (git): Add `require 'test/unit'`
-
03:33 AM Revision 3120252f (git): Suppress void context warning in verbose mode
-
03:31 AM Revision dc7da30b (git): Close leaked file descriptor
-
03:27 AM Revision c9bbcacc (git): Suppress unused variable warning with RUBYOPT=-w
-
03:02 AM Revision ff7f71b2 (git): O_EXCL has no meaning for fdopen
- "exclusive access mode is not supported" exception has resulted in
empty "rubyheap-*.json" files after test/objspace/test_objspace.rb.
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