Project

General

Profile

Activity

From 07/04/2019 to 07/10/2019

07/10/2019

07:41 PM Bug #15993 (Open): 'require' doesn't work if there are Cyrillic chars in the path to Ruby dir
I’m trying to build a cross-platform portable application with Ruby onboard and there is a problem on Windows.
A us...
inversion (Yura Babak)
06:37 PM Revision d57ce99b (git): * 2019-07-11
git[bot]
05:03 PM Bug #15986: `TestJIT#test_block_handler_with_possible_frame_omitted_inlining` fails on s390x and armv7hl
So this is my hacked up test case:
~~~
$ git diff
diff --git a/test/ruby/test_jit.rb b/test/ruby/test_jit.rb
in...
vo.x (Vit Ondruch)
04:12 PM Revision 12762b76 (git): Don't manipulate GC flags directly
We need to disable the GC around compaction (for now) because object id
book keeping can cause malloc to happen and t...
tenderlovemaking (Aaron Patterson)
09:27 AM Feature #10463: :~@ and :!@ are not parsed correctly
Interesting - I did not know this. sawa finds stuff. :)
Personally I would be in favour of changing the behaviour ...
shevegen (Robert A. Heiler)
09:15 AM Bug #15992 (Closed): An exception breaks monitor state and cause deadlock
Applied in changeset commit:git|f91879a7b548284c93743168acfd11e3d2aeefac.
----------
handle_interrupt to defend moni...
naruse (Yui NARUSE)
06:55 AM Bug #15992 (Closed): An exception breaks monitor state and cause deadlock
lib/monitor.rb provides Monitor.
But its state handling is weak for interrupts caused by Thread.kill for example tim...
naruse (Yui NARUSE)
09:13 AM Revision f91879a7 (git): handle_interrupt to defend monitor state [Bug #15992]
If an exception is raised from another thread for example Timeout
and this thread is just after `mon_exit`'s `@mon_ow...
naruse (Yui NARUSE)
04:48 AM Misc #15930: DevelopersMeeting20190711Japan
* [Bug #10463] :~@ and :!@ are not parsed correctly (jeremyevans0)
* Can we deprecate the automatic conversion of ...
jeremyevans0 (Jeremy Evans)
04:33 AM Misc #15930: DevelopersMeeting20190711Japan
* [Feature #15865] `<expr> in <pattern>` expression (mame)
* We have some opinions: scoping, matching strictness, ...
mame (Yusuke Endoh)
04:42 AM Bug #10003 (Closed): Hash#fetch performance issue
jeremyevans0 (Jeremy Evans)
04:40 AM Bug #10025 (Feedback): Incorrect wrapping of base64 output of Array.pack()
I agree this is a bug. I am not sure if it is a documentation bug or code bug. The existing documentation for `Arra... jeremyevans0 (Jeremy Evans)
03:51 AM Bug #10104: Fileutils cp_r fails on sockets or fifes even if File.mknod and File.mkfifo are defined
I agree this is a bug. This has been broken since the code was originally added in commit:18c0a86cc680929bbd8c48f4f4... jeremyevans0 (Jeremy Evans)
03:33 AM Revision 1d2ec4b2 (git): Added Etc::VERSION
nobu (Nobuyoshi Nakada)
03:32 AM Revision 612b7b62 (git): Removed unused files
nobu (Nobuyoshi Nakada)

07/09/2019

11:18 PM Feature #15991: Allow questionmarks in variable names
shevegen (Robert A. Heiler) wrote:
> I do not see why this would make the design more "coherent", per se.
I guess...
aquaj (Jérémie Bonal)
06:53 AM Feature #15991: Allow questionmarks in variable names
I personally often write code like this:
```ruby
class Foobar
attr_reader :completed
def completed?
...
noniq (Stefan Daschek)
12:44 AM Feature #15991: Allow questionmarks in variable names
I couldn't find an existing proposal for a local variable that ends with `?`. There are many proposals for "attr_rea... mame (Yusuke Endoh)
07:57 PM Feature #15897: `it` as a default block parameter
As a user of both Kotlin and RSpec, here's my 0.01 cents: I've been using Kotlin for almost 1.5 years, and the implic... ivoanjo (Ivo Anjo)
02:53 PM Feature #15897: `it` as a default block parameter
I think we should listen to RSpec users here like @joallard and would welcome more users to reply on this thread.
Pe...
Eregon (Benoit Daloze)
02:50 PM Feature #15897: `it` as a default block parameter
JonRowe (Jon Rowe) wrote:
> its a "this shadows the most commonly used method in the most downloaded rubygem"[1], it...
Eregon (Benoit Daloze)
11:06 AM Feature #15897: `it` as a default block parameter
@mame I did, I apologise for not making it clear, I'm reiterating it to add weight to the con, its not just a simple ... JonRowe (Jon Rowe)
06:34 PM Feature #15899: String#before and String#after
I'd like to add my +1 to this idea. Splitting a string by a substring (and only caring about the first result) is a u... edd314159 (Edd Morgan)
06:02 PM Revision cc936402 (git): C90 for old versions
nobu (Nobuyoshi Nakada)
05:07 PM Revision de4889ce (git): Use the found version number
nobu (Nobuyoshi Nakada)
04:57 PM Revision 9c48472b (git): Removed useless `freeze`s
nobu (Nobuyoshi Nakada)
04:53 PM Feature #10463: :~@ and :!@ are not parsed correctly
nobu (Nobuyoshi Nakada) wrote:
> jeremyevans0 (Jeremy Evans) wrote:
> > nobu (Nobuyoshi Nakada) wrote:
> > > If `:...
jeremyevans0 (Jeremy Evans)
04:40 PM Feature #10463: :~@ and :!@ are not parsed correctly
jeremyevans0 (Jeremy Evans) wrote:
> nobu (Nobuyoshi Nakada) wrote:
> > If `:!@` and `:!` are different things, al...
nobu (Nobuyoshi Nakada)
03:56 PM Feature #10463: :~@ and :!@ are not parsed correctly
nobu (Nobuyoshi Nakada) wrote:
> If `:!@` and `:!` are different things, also `!foo` and `foo.!` are different thin...
jeremyevans0 (Jeremy Evans)
03:30 PM Feature #10463: :~@ and :!@ are not parsed correctly
If `:!@` and `:!` are different things, also `!foo` and `foo.!` are different things.
This means a backward incompa...
nobu (Nobuyoshi Nakada)
03:58 AM Feature #10463: :~@ and :!@ are not parsed correctly
I did some research, and this is related to the fact that Ruby allows `!@` and `~@` as method names (back to the init... jeremyevans0 (Jeremy Evans)
04:21 PM Revision db844749 (git): Added StringIO::VERSION
nobu (Nobuyoshi Nakada)
03:54 PM Bug #15986: `TestJIT#test_block_handler_with_possible_frame_omitted_inlining` fails on s390x and armv7hl
FYI: RubyCI platforms include [RHEL 7.1 s390x][1] and [Ubuntu armv8 (aarch64)][2], and their results are both green a... mame (Yusuke Endoh)
02:40 PM Bug #15986 (Feedback): `TestJIT#test_block_handler_with_possible_frame_omitted_inlining` fails on s390x and armv7hl
I see. Thanks for the information. At this moment I cannot do anything either, so I'll wait for you to collect the in... k0kubun (Takashi Kokubun)
12:48 PM Bug #15986: `TestJIT#test_block_handler_with_possible_frame_omitted_inlining` fails on s390x and armv7hl
I wish this was easier to debug. The problem is that this is test failure and it happens on build system, where I don... vo.x (Vit Ondruch)
03:20 PM Revision 49cad676 (git): Removed duplicate assignment
This `last_state` is set to `lex.state` just before the `switch`
statement, and `token_flush` nor `nextc` never chang...
nobu (Nobuyoshi Nakada)
03:09 PM Revision 57b8ca21 (git): * 2019-07-10
git[bot]
02:38 PM Feature #15973: Let Kernel#lambda always return a lambda
alanwu (Alan Wu) wrote:
> `Kernel#lambda` is in a weird spot. Even though it's a method, making it behave like one h...
Eregon (Benoit Daloze)
02:32 PM Feature #15973: Let Kernel#lambda always return a lambda
> Can I ask you why you need this feature?
I want to be able to forward a block to `Kernel#lambda`.
`Kernel#la...
alanwu (Alan Wu)
02:22 PM Feature #15923: New independent string without memcpy
It should be OK when passing the buffer from callers, but doesn't work with a library which returns a buffer allocate... nobu (Nobuyoshi Nakada)
02:14 PM Feature #15923: New independent string without memcpy
Instead of working on a separate buffer then asking Ruby to take ownership, you could make changes to the buffer of a... alanwu (Alan Wu)
02:13 PM Revision d0ef5c21 (git): Check dependencies on Travis-CI
nobu (Nobuyoshi Nakada)
12:22 PM Revision b1be349b (git): Make symlink to "ruby" only from the install-name
nobu (Nobuyoshi Nakada)
12:16 PM Revision 9f275f79 (git): Restore support library for only test files that are digest and csv.
hsbt (Hiroshi SHIBATA)
12:04 PM Revision f9a24408 (git): Restore support library for only test files.
hsbt (Hiroshi SHIBATA)
06:55 AM Bug #15832 (Closed): IPAddr.new accepts invalid mask IP address
I merged it. ioquatix (Samuel Williams)
05:25 AM Feature #15982 (Assigned): Remove y2racc and racc2y
hsbt (Hiroshi SHIBATA)
05:16 AM Bug #10147 (Closed): URI parsing with ruby 2.2.0dev
jeremyevans0 (Jeremy Evans)
05:01 AM Bug #10184 (Closed): irb terminates with no method error
This was fixed between Ruby 2.2 and 2.3:
```
$ irb22
irb(main):001:0> def !; end
=> :!
irb(main):002:0> !
/u...
jeremyevans0 (Jeremy Evans)
04:47 AM Revision d905ff61 (git): Update dependencies
nobu (Nobuyoshi Nakada)
04:37 AM Bug #10362 (Closed): spawn doesn't raise exception on redirection error
`system` was made more strict for redirection errors between Ruby 2.2 and 2.3:
```
speedstar$ ruby22 -e "p system...
jeremyevans0 (Jeremy Evans)
04:33 AM Bug #10374 (Closed): FileUtils.mv can't move broken symlinks
jeremyevans0 (Jeremy Evans)
04:15 AM Revision 8a831e5c (git): Do not make Unicode tables timestamp phony
nobu (Nobuyoshi Nakada)
04:08 AM Bug #10429 (Closed): Ruby 2.x exponents produce wildly varying precision for integers vs decimals
jeremyevans0 (Jeremy Evans)
04:01 AM Revision 515e106f (git): [DOC] Add link to Enumerable#grep from Enumerable#select
znz (Kazuhiro NISHIYAMA)
04:00 AM Bug #10427 (Third Party's Issue): The WebKit of QtRuby crashed
jeremyevans0 (Jeremy Evans)
02:08 AM Bug #10507 (Closed): URI Error: bad URI(is not URI?) in Ruby 2.0.0, 2.1.5, 2.2.0preview1
This was fixed between 2.1 and 2.2:
```
$ ruby21 -ruri -e "p URI 'http://localhost:3000/?url=google.com&clipRect=...
jeremyevans0 (Jeremy Evans)
02:02 AM Bug #10535 (Closed): Potential uninitialized reference pipe_open() in io.c
I believe this issue was fixed by commit:aa107497cd379b713eba8cecdb9a882bb1e0dd89, which removed the `argc` and `argv... jeremyevans0 (Jeremy Evans)
01:58 AM Revision 4cda2e50 (git): Moved error messages
nobu (Nobuyoshi Nakada)
01:32 AM Bug #10567 (Closed): A fiber issue with `autoload`: `fiber called across stack rewinding barrier (FiberError)`
This issue was fixed between Ruby 2.2 and 2.3:
```
$ ruby23 test.rb
User
$ ruby22 test.rb
.../user.rb:4:in...
jeremyevans0 (Jeremy Evans)
01:20 AM Bug #10605 (Third Party's Issue): doc (Kernel rubydoc %x syntax examples mix %x and `)
ruby-doc.org is a third party site, so this would be an issue to report to them. However, `%xdate` no longer appears... jeremyevans0 (Jeremy Evans)
01:05 AM Bug #10614 (Closed): strpdate and Leap Days
I don't think this is a bug, the current behavior is consistent and what I would expect. It would be inconsistent to... jeremyevans0 (Jeremy Evans)

07/08/2019

11:39 PM Revision 9b18cb34 (git): * 2019-07-09
git[bot]
11:37 PM Feature #15897: `it` as a default block parameter
@JonRowe Thank you for your opinion, but I'd be happy if you could read my original proposal carefully. I've already... mame (Yusuke Endoh)
04:36 PM Feature #15897: `it` as a default block parameter
Its worth pointing out that this would always have to be lower priority than methods and other such locals defined in... JonRowe (Jon Rowe)
11:31 PM Revision 2a8be8ec (git): Suppress uninitialized instance variable warnings
nobu (Nobuyoshi Nakada)
05:08 PM Feature #15991: Allow questionmarks in variable names
> I thought such an issue would've already been discussed but no number of searches
> allowed me to find a similar r...
shevegen (Robert A. Heiler)
10:13 AM Feature #15991: Allow questionmarks in variable names
If this proposal will not cause some serious conflicts, it seems to be also useful for those cases:
```ruby
class...
zverok (Victor Shepelev)
09:18 AM Feature #15991 (Assigned): Allow questionmarks in variable names
Hi,
I thought such an issue would've already been discussed but no number of searches allowed me to find a similar...
aquaj (Jérémie Bonal)
01:49 PM Feature #15973: Let Kernel#lambda always return a lambda
"It's already broken, why not break it more" is not what I can follow.
Can I ask you why you need this feature? I...
shyouhei (Shyouhei Urabe)
12:35 AM Feature #15973: Let Kernel#lambda always return a lambda
I would also like to note that if we revert back to the behavior in 2.4, code that relied on `lambda` without block w... alanwu (Alan Wu)
12:20 AM Feature #15973: Let Kernel#lambda always return a lambda
The 2.4 spec is a bit problematic since it makes it impossible to forward a
block to `Kernel#lambda` with a block pa...
alanwu (Alan Wu)
11:31 AM Revision ad38f026 (git): Adopt the directory structure of ruby repository for racc extension.
hsbt (Hiroshi SHIBATA)
10:02 AM Feature #5735 (Closed): Extending the use of splat operator to when it is inside a hash
matz (Yukihiro Matsumoto)
09:53 AM Feature #5735: Extending the use of splat operator to when it is inside a hash
A similar feature has already been realized as the double splat operator. Please close this issue. sawa (Tsuyoshi Sawada)
09:16 AM Bug #15989: irb-1.1.0.pre.1 crashes on using arrow up, home and delete
I can reproduce (by hitting del at the end of the line). The cause is in the snippet below.
``` ruby
Reline::Unic...
tanguyandreani (Tanguy Andreani)
08:09 AM Revision 995ae6d5 (git): Check indent of `end` against `else` if present
nobu (Nobuyoshi Nakada)
07:05 AM Revision e0a3c547 (git): Get rid of toplevel methods
nobu (Nobuyoshi Nakada)
07:00 AM Revision 93c9405e (git): * expand tabs.
git[bot]
06:13 AM Revision 663d58ff (git): Fix indent
nobu (Nobuyoshi Nakada)
06:07 AM Revision a8c54932 (git): Renamed fib to fiber
nobu (Nobuyoshi Nakada)
04:30 AM Revision 612cad5d (git): Let struct dump_config in objspace fit in a single cache line
Let dump_config boolean members roots and full_heap be bit flags
instead
Closes: https://github.com/ruby/ruby/pull/2274
methodmissing (Lourens Naudé)
04:05 AM Bug #10626 (Feedback): BUS error from nesting lambda's and calls to methods defined with define_method
I tried the last two gists with many Ruby versions (1.9-2.7) and could not produce a crash. These were compiled with... jeremyevans0 (Jeremy Evans)
04:03 AM Revision e9907122 (git): Suppress a warning when `write_headers: true`
nobu (Nobuyoshi Nakada)
03:54 AM Bug #10635 (Closed): cmp_failed warnings in 2.2 are very hard to track down
`cmp_failed` was removed in Ruby 2.3. jeremyevans0 (Jeremy Evans)
03:49 AM Bug #10654 (Closed): Nil -> Rational Inconsistency
jeremyevans0 (Jeremy Evans)
03:19 AM Bug #10651: pkg_config does not report required include headers
anatolik (Anatol Pomozov) wrote:
> Could anyone explain what this change tries to do?
It tries to separate the `-...
jeremyevans0 (Jeremy Evans)
02:35 AM Feature #14183: "Real" keyword argument
sawa (Tsuyoshi Sawada) wrote:
> Can someone answer my question in https://bugs.ruby-lang.org/issues/14183#note-68? P...
jeremyevans0 (Jeremy Evans)
01:58 AM Feature #14183: "Real" keyword argument
Can someone answer my question in https://bugs.ruby-lang.org/issues/14183#note-68? Perhaps @mame knows? If it is not ... sawa (Tsuyoshi Sawada)
02:20 AM Bug #10715: WEBrick::HTTPResponse#to_s calls send_response(), and make debugging quite difficult.
It looks like `WEBrick::HTTPResponse#to_s` is currently broken anyway (https://github.com/ruby/webrick/pull/20). I a... jeremyevans0 (Jeremy Evans)
01:59 AM Bug #10928 (Closed): optparse Switch#summarize code doesn't reflect its documentation
Applied in changeset commit:git|3fcffceafd2bce7186851bf4899484c545a9ace8.
----------
Fix default argument values for...
jeremyevans (Jeremy Evans)
01:46 AM Bug #10928: optparse Switch#summarize code doesn't reflect its documentation
Thank you, I've missed it.
Commit it please.
nobu (Nobuyoshi Nakada)
01:59 AM Revision a2e0aaea (git): * 2019-07-08
git[bot]
01:55 AM Bug #10747 (Assigned): DNS resolution should fall back to TCP on Errno::EACCES
I'm not sure I would consider this a bug, but it seems like a reasonable change. Attached is an updated patch that a... jeremyevans0 (Jeremy Evans)
01:34 AM Bug #10789 (Feedback): X-forwarded-Proto required when using Reverse Proxy
I don't think this is a bug. If Apache doesn't pass the `X-Forwarded-Proto` header, and the `X-Forwarded-Host` heade... jeremyevans0 (Jeremy Evans)
01:21 AM Bug #10741 (Closed): const_defined? triggers autoload where it did not before
This was fixed between 2.6 and 2.7.0-preview1:
```
$ ruby26 a.rb
in b
true
$ ruby27 a.rb
true
```
jeremyevans0 (Jeremy Evans)
01:17 AM Bug #10764 (Closed): TracePoint API reports events for the last last line of multiline ||=
From testing, this issue was resolved between Ruby 2.4 and 2.5.
2.4 output:
```
c_return -e:3 enable
...
jeremyevans0 (Jeremy Evans)
01:09 AM Bug #10878 (Closed): require: cannot load such file
jeremyevans0 (Jeremy Evans)
01:07 AM Bug #10891 (Closed): /[[:punct:]]/ POSIX group broken (with string literals?)
This was apparently fixed between Ruby 2.3 and 2.4:
```
$ ruby23 -e 'p("<".force_encoding("UTF-8") =~ /[[:punct:]...
jeremyevans0 (Jeremy Evans)
01:03 AM Bug #10892 (Closed): Deadlock in autoload
jeremyevans0 (Jeremy Evans)
01:01 AM Bug #10901: Object#singleton_methods behaves differently depending on whether the singleton_class exists
I think this is a bug and it should be fixed. Attached is a patch that fixes the issue by checking if the receiver i... jeremyevans0 (Jeremy Evans)

07/07/2019

09:19 PM Bug #10916 (Third Party's Issue): What the Ruby? SegFault?
This appears to be a bug in the ffi gem, see https://github.com/ffi/ffi/issues/337. jeremyevans0 (Jeremy Evans)
09:07 PM Bug #10924 (Closed): String#b
Considering `String#b` has now been present since Ruby 2.0, and renaming it would break tons of code, I think there i... jeremyevans0 (Jeremy Evans)
09:04 PM Feature #15897: `it` as a default block parameter
Eregon (Benoit Daloze) wrote:
> I think this ambiguity is fairly intuitive and easy to resolve:
>
> [...] if ther...
joallard (Jonathan Allard)
08:57 PM Bug #10928 (Assigned): optparse Switch#summarize code doesn't reflect its documentation
I agree that this is a bug and it should be fixed. You can trigger it by calling `OptionParser::Switch#summarize` wi... jeremyevans0 (Jeremy Evans)
08:49 PM Revision 3fcffcea (git): Fix default argument values for OptParse::Switch#summarize
The documentation describes these arguments being hashes, and the method
is called with hashes, so a hash default mak...
jeremyevans (Jeremy Evans)
05:43 PM Bug #10955 (Closed): invoke_block_from_c segfault
jeremyevans0 (Jeremy Evans)
04:31 PM Bug #10961 (Closed): Zlib corrupts data when receive signal
It appears this was fixed between ruby 2.3 and 2.4:
```
$ ruby24 /home/jeremy/Downloads/zlib.rb
62780
generat...
jeremyevans0 (Jeremy Evans)
04:20 PM Bug #11016 (Closed): method calls without parenthesis makes SyntaxError when DVAR exists
The `ng_assoc19.rb` and `ng_assoc19_strvalue.rb` examples are no longer syntax errors, so I think this can be closed. jeremyevans0 (Jeremy Evans)
11:16 AM Revision c1ebb384 (git): Fix a typo
znz (Kazuhiro NISHIYAMA)
10:05 AM Revision fc4dd7d3 (git): Git branch name can contain `#{}` too
nobu (Nobuyoshi Nakada)
10:02 AM Bug #11022: opening an eigenclass does not change the class variable definition context
Class variable lookup just ignores singleton classes currently.
I assume this is intentional behavior so one can use...
Eregon (Benoit Daloze)
05:56 AM Bug #11022: opening an eigenclass does not change the class variable definition context
This issue is not specific to opening a singleton class (`class <<`), but applies to any case where the class being o... jeremyevans0 (Jeremy Evans)
10:01 AM Revision 19a4c42d (git): Unescape #{} in the last commit title
Get rid of unknown escape sequence warning, as `#` is not a
special character in C.
```
version.c:126:26: warning: u...
nobu (Nobuyoshi Nakada)
09:33 AM Revision 68e58040 (git): Add coroutine context switch for i386-mingw32
It's essentially a translation of Context.asm from Intel
to AT&T syntax.
larskanis (Lars Kanis)
09:18 AM Revision a13636e7 (git): Message to pipe should end with a newline
nobu (Nobuyoshi Nakada)
06:51 AM Feature #15990 (Closed): "else if" causes confusing syntax error
Applied in changeset commit:git|d548073f68ae719933c328686df224f74a60d366.
----------
Enable indentation warning agai...
nobu (Nobuyoshi Nakada)
04:27 AM Feature #15990: "else if" causes confusing syntax error
Warning only after a syntax error?
```
$ ./ruby -w
if false
else if true
end
-:3: syntax error, unexpected e...
nobu (Nobuyoshi Nakada)
12:18 AM Feature #15990: "else if" causes confusing syntax error

The problem is that this is valid Ruby:
``` ruby
if false
puts 'false'
else if true
puts 'true'
end
end
...
nicholaslyang (Nicholas Yang)
06:50 AM Revision a33948f4 (git): * 2019-07-07
git[bot]
06:47 AM Revision d548073f (git): Enable indentation warning against `if` just after `else`
```ruby
if false
puts 'false'
else if true
puts 'true'
end # -:5: warning: mismatched indentations at 'end' with ...
nobu (Nobuyoshi Nakada)
05:43 AM Revision 789e49dc (git): Renamed column in token_info to indent
nobu (Nobuyoshi Nakada)
05:34 AM Bug #11059 (Closed): When saving a hash to YAML or JSON the default value isn't stored
jeremyevans0 (Jeremy Evans)
05:16 AM Bug #11040 (Closed): Mutex can be locked by multiple threads, causing Monitor to sometimes hang
Fixed by commit:7be5169804ee0cfe1991903fa10c31f8bd6525bd. jeremyevans0 (Jeremy Evans)
05:11 AM Bug #11120 (Closed): Unexpected behavior when mixing Module#prepend with method aliasing
jeremyevans0 (Jeremy Evans)
05:09 AM Bug #11178 (Closed): possible bug: a thread killed when waiting on ConditionVariable locks the mutex again before real exit
I don't think this is a bug. Killing a thread requires running ensure blocks until the thread exits, the ensure bloc... jeremyevans0 (Jeremy Evans)
04:53 AM Bug #11119 (Closed): Anonymous classes and modules have terrible #name and #inspect performance
jeremyevans0 (Jeremy Evans)
04:46 AM Bug #11209 (Closed): [PATCH] Fix for String#+ when subclassed
jeremyevans0 (Jeremy Evans)
04:44 AM Bug #11250 (Closed): open-uri broken when fetching from ftp over proxy
Looking at the mentioned commit, I'm not sure how it is possible that the commit broke it. The only code change is:
...
jeremyevans0 (Jeremy Evans)

07/06/2019

04:45 PM Bug #15987: Let `exception` option in `Kernel#Complex`, `Kernel#Float`, `Kernel#Integer`, `Kernel#Rational` be falsy vs. truthy
@sawa Could you write a code example in the description? It would be very helpful to make the developer meeting effi... mame (Yusuke Endoh)
02:00 PM Bug #15987: Let `exception` option in `Kernel#Complex`, `Kernel#Float`, `Kernel#Integer`, `Kernel#Rational` be falsy vs. truthy
I agree for methods taking an :exception keyword argument.
I would consider this a bug to treat `nil` as "want excep...
Eregon (Benoit Daloze)
03:36 PM Misc #15930: DevelopersMeeting20190711Japan
* [Feature #15987] Let boolean option (such as `exception` in `Kernel#Complex`, `Kernel#Float`, `Kernel#Integer`, `Ke... Eregon (Benoit Daloze)
03:24 PM Feature #15966: Introducing experimental features behind a flag, disabled by default
josh.cheek (Josh Cheek) wrote:
> Why not a comment pragma for this, too? A flag seems out of place.
Thanks for yo...
Eregon (Benoit Daloze)
03:11 PM Feature #15966: Introducing experimental features behind a flag, disabled by default
palkan (Vladimir Dementyev) wrote:
> I think, most gems won't use these features anyway: we, gem authors, need to su...
Eregon (Benoit Daloze)
01:55 PM Feature #15897: `it` as a default block parameter
JonRowe (Jon Rowe) wrote:
> > FWIW, MSpec's it requires the description argument, so it cannot ever be ambiguous for...
Eregon (Benoit Daloze)
01:44 PM Bug #11304: [PATCH] Kernel.global_variables should observe $~.
`$1` - `$N` (there can be more than 9 of them) are treated specially by the parser.
In fact, the only way they can w...
Eregon (Benoit Daloze)
09:46 AM Revision 9d8855b6 (git): Added assertions for Unicode escaped CHAR scanner events
nobu (Nobuyoshi Nakada)
07:34 AM Feature #15990: "else if" causes confusing syntax error
I guess it should be possible to distinguish between "else if" and "elsif"
by the ruby parser already, since it does...
shevegen (Robert A. Heiler)
01:53 AM Feature #15990 (Closed): "else if" causes confusing syntax error
```ruby
if false
puts 'false'
else if true
puts 'true'
end
```
This fails with "syntax error: unexpected...
viko (Viko Viko)
03:56 AM Bug #15988: Time#dst? vs "real" timezones
I've noticed it and have a patch, but haven't committed it yet as not written the test using dummy timezone objects. nobu (Nobuyoshi Nakada)
03:45 AM Bug #15985 (Closed): Segmentation Fault exception when using dot-colon method reference on literals
Applied in changeset commit:git|f296c260ef3b2d1a9299dbb4a84df567972453f2.
----------
Fix segfault when using method ...
jeremyevans (Jeremy Evans)
03:36 AM Bug #15985: Segmentation Fault exception when using dot-colon method reference on literals
Seems fine. nobu (Nobuyoshi Nakada)
03:43 AM Revision f296c260 (git): Fix segfault when using method reference operator without using result
Fixes [Bug #15985] jeremyevans (Jeremy Evans)
03:31 AM Revision 688cef21 (git): Refactored width calculations
nobu (Nobuyoshi Nakada)
03:11 AM Revision 44aae5fe (git): Simplified
nobu (Nobuyoshi Nakada)

07/05/2019

11:54 PM Bug #11143 (Closed): it should always be possible to return from an if
Fixed by commit:01b3a3804334be19d013526d3edde2b84399ae43. jeremyevans0 (Jeremy Evans)
11:50 PM Bug #11153 (Closed): Defining singleton methods using `class << self` sometimes fails when using threads
jeremyevans0 (Jeremy Evans)
11:26 PM Bug #11175 (Feedback): possible fibers memory leak or risky GC behavior
I think this may be operating system/platform specific and could be fixed in a previous version. I could replicate t... jeremyevans0 (Jeremy Evans)
11:05 PM Bug #11184 (Closed): Tests fail when configured with different program prefix and suffix
Rubygems upstream merged the pull request, so this can be closed. jeremyevans0 (Jeremy Evans)
11:03 PM Bug #11214: Cannot Get Correct Binding from inside of C Method
> I'm fairly sure having binding capture arguments passed to C methods is not possible.
TruffleRuby could do that!...
chrisseaton (Chris Seaton)
10:59 PM Bug #11214 (Feedback): Cannot Get Correct Binding from inside of C Method
I'm fairly sure having `binding` capture arguments passed to C methods is not possible. Ruby doesn't know the C func... jeremyevans0 (Jeremy Evans)
11:02 PM Bug #11197 (Rejected): POSIX matchers broken in Regexp
jeremyevans0 (Jeremy Evans)
10:31 PM Bug #11234 (Closed): RubyVM::InstructionSequence.load で case が落ちる
I think this can be closed. It doesn't look like 2.3 actually shipped with `RubyVM::InstructionSequence.load` (disab... jeremyevans0 (Jeremy Evans)
10:22 PM Bug #11233 (Closed): Module#include, Module#prepend can accept no arguments
jeremyevans0 (Jeremy Evans)
10:20 PM Revision 833cfeb2 (git): * 2019-07-06
git[bot]
10:19 PM Revision 89e178c7 (git): Fix showing document of ClassName.method_name in IRB
In IRB, Time.new is split as "Time", ".", and "new". The receiver "Time"
is processed by #class method but it means t...
aycabta (aycabta .)
10:14 PM Bug #11275 (Assigned): RFC3986_Parser accepts invalid URIs containing %
I agree that this is a bug that should be fixed. The implementation automatically percent escapes invalid characters... jeremyevans0 (Jeremy Evans)
09:09 PM Bug #11282 (Closed): ruby.exe never run. ebtry point not found
jeremyevans0 (Jeremy Evans)
09:08 PM Bug #11290 (Closed): Abort: 6 error running sample app
jeremyevans0 (Jeremy Evans)
09:07 PM Bug #11301 (Closed): Module#prepend should have always added the module before the current
This was fixed between Ruby 2.2 and Ruby 2.3:
```
$ ruby23 -e "module M; end; class A; prepend M; end; class B<A;...
jeremyevans0 (Jeremy Evans)
08:59 PM Bug #15988 (Assigned): Time#dst? vs "real" timezones
The behavior seems even worse in the master branch and 2.7.0-preview1, with a RuntimeError without a calculation, and... jeremyevans0 (Jeremy Evans)
12:09 PM Bug #15988: Time#dst? vs "real" timezones
Even funnier:
```ruby
winter = Time.new(2019, 12, 1, 14, 30, 12, z) # => 2019-12-01 14:30:12 +0200 -- offset is cor...
zverok (Victor Shepelev)
09:00 AM Bug #15988 (Closed): Time#dst? vs "real" timezones
My current timezone is Europe/Kiev.
With default zone (how it was previously):
```ruby
summer = Time.new(2019, 6...
zverok (Victor Shepelev)
06:05 PM Bug #11304: [PATCH] Kernel.global_variables should observe $~.
All of the other similar regexp variables (`$& $' $+ $~ $(backquote)`) are listed by `global_variables`, so it would ... jeremyevans0 (Jeremy Evans)
05:10 PM Bug #11326: Defining a writer as a Struct member allowed?
This issue still exists in the master branch. Eric's patch no longer applies, but attached is a similar approach tha... jeremyevans0 (Jeremy Evans)
04:40 PM Bug #15989: irb-1.1.0.pre.1 crashes on using arrow up, home and delete
Adding a demo gif code maciej.mensfeld (Maciej Mensfeld)
04:29 PM Bug #15989 (Rejected): irb-1.1.0.pre.1 crashes on using arrow up, home and delete
When I do this:
1. Start irb
2. Define empty string `''`
3. Press arrow up
4. Press Home
5. Press Delete to re...
maciej.mensfeld (Maciej Mensfeld)
02:11 PM Bug #15841 (Closed): SegFault in OpenSSL::PKey::RSA#private_encrypt
jeremyevans0 (Jeremy Evans)
12:38 PM Bug #15841: SegFault in OpenSSL::PKey::RSA#private_encrypt
Both of PR is merged and this issue is resolved, so this can be closed.
- https://github.com/ruby/openssl/pull/255...
thekuwayama (tomoya kuwayama)
01:39 PM Revision d746a41e (git): Multiple codepoints are not allowed at single character literal
It has unintentionally passed since 2.5. nobu (Nobuyoshi Nakada)
01:24 PM Misc #15930: DevelopersMeeting20190711Japan
* [Feature #15631] Let round_capa for ID table not allocate excess capacity for power of 2 ints >= 4
* PR and furt...
methodmissing (Lourens Naudé)
10:01 AM Revision 0a2f598d (git): * 2019-07-05
git[bot]
10:00 AM Revision fae4489a (git): Fix a typo
znz (Kazuhiro NISHIYAMA)
07:44 AM Feature #15897: `it` as a default block parameter
> Is that used in practice though? I know pending examples, but I would expect they at least have a description.
N...
JonRowe (Jon Rowe)
06:23 AM Feature #15966: Introducing experimental features behind a flag, disabled by default
> This is how frozen string literal support was introduced to Ruby (in addition to the per-file magic comment).
Wh...
josh.cheek (Josh Cheek)
06:02 AM Bug #15987: Let `exception` option in `Kernel#Complex`, `Kernel#Float`, `Kernel#Integer`, `Kernel#Rational` be falsy vs. truthy
I don't have a huge preference either way, but this may be a design decision, so perhaps we
can ask matz either way;...
shevegen (Robert A. Heiler)
03:12 AM Bug #15987 (Closed): Let `exception` option in `Kernel#Complex`, `Kernel#Float`, `Kernel#Integer`, `Kernel#Rational` be falsy vs. truthy
The `exception` option in `Kernel#Complex`, `Kernel#Float`, `Kernel#Integer`, and `Kernel#Rational` distinguishes `fa... sawa (Tsuyoshi Sawada)
04:39 AM Bug #11374 (Closed): crash when using Thread.new{Tk.mainloop}
tk was removed in Ruby 2.4. jeremyevans0 (Jeremy Evans)
04:37 AM Bug #11311 (Closed): STRING::Scan method badly interpret i option - Ruby 2.1.*
jeremyevans0 (Jeremy Evans)
03:23 AM Bug #11381 (Feedback): String のサブクラスをハッシュのキーに指定した時に hash メソッドが呼ばれない
This behavior hasn't changed since the initial report. However, it seems odd to just treat string subclasses (or str... jeremyevans0 (Jeremy Evans)
01:25 AM Bug #11417 (Closed): Wrong description for `limit` parameter for IO#gets
This was fixed in commit:965e9df38045594d126991e6a109c5746242d2ba. jeremyevans0 (Jeremy Evans)
01:09 AM Bug #11436 (Closed): Date parsing probably doesn't match for the longest regular expression
jeremyevans0 (Jeremy Evans)
12:41 AM Bug #11448 (Closed): Requiring a given library may take 23x longer depending on `require` context
I don't think this is a significant issue with current Ruby, though it was certainly a bigger issue in previous versi... jeremyevans0 (Jeremy Evans)
12:25 AM Bug #11425 (Closed): super_method fails to find the super method when combined with Module#prepend
This was fixed between Ruby 2.3 and 2.4:
```
$ ruby23 -e '
> class C; def a() end end
> module M def a() end en...
jeremyevans0 (Jeremy Evans)

07/04/2019

10:32 PM Bug #15985: Segmentation Fault exception when using dot-colon method reference on literals
I think the attached patch should fix it. Passes `make check`. This is my first time working on the compiler though... jeremyevans0 (Jeremy Evans)
08:35 PM Bug #15985: Segmentation Fault exception when using dot-colon method reference on literals
I can reproduce this. Here's a backtrace:
```
Thread 1 received signal SIGSEGV, Segmentation fault.
0x00000644...
jeremyevans0 (Jeremy Evans)
11:01 AM Bug #15985 (Closed): Segmentation Fault exception when using dot-colon method reference on literals
I have a simple script that actually does nothing:
``` ruby
nil.:|;1
```
or
```ruby
:|.:!;:|
```
When...
maciej.mensfeld (Maciej Mensfeld)
10:14 PM Feature #15966: Introducing experimental features behind a flag, disabled by default
Eregon (Benoit Daloze) wrote:
> I expect gems wouldn't use it anyway because of the extra needed flag.
I think, m...
palkan (Vladimir Dementyev)
07:44 PM Bug #15984 (Feedback): deleting from a collection while iterating on it
jeremyevans0 (Jeremy Evans)
10:06 AM Bug #15984: deleting from a collection while iterating on it
> This generates a wrong output collection after doing this action.
Could you provide some examples and explain e...
alanwu (Alan Wu)
09:53 AM Bug #15984: deleting from a collection while iterating on it
I don't think ruby should disallow this via an exception. The use case
seems fairly odd, too - it is often more idio...
shevegen (Robert A. Heiler)
09:38 AM Bug #15984: deleting from a collection while iterating on it
that totally depends on how you interate over the collection.
if you do it right, ruby has no problem with that
Hanmac (Hans Mackowiak)
07:58 AM Bug #15984 (Closed): deleting from a collection while iterating on it
If you tried to delete from a collection while iterating on it Ruby will allow you to do this flawlessly. This genera... aothelal (Abdelrahman Othman Helal)
04:24 PM Feature #15897: `it` as a default block parameter
JonRowe (Jon Rowe) wrote:
> it # creates a pending example with no implementation
Is that used in practice though...
Eregon (Benoit Daloze)
10:17 AM Feature #15897: `it` as a default block parameter
Eregon (Benoit Daloze) wrote:
> What do you think about `_`?
>
> I'm unsure if it's confusing in practice, they a...
Benoit_Tigeot (Benoit Tigeot)
01:06 PM Feature #11460: Unhelpful error message when naming a module with the same name as an existing class
> I would appreciate feedback on whether this more detailed error message is an improvement.
I think this depends ...
shevegen (Robert A. Heiler)
07:35 AM Feature #11460: Unhelpful error message when naming a module with the same name as an existing class
nobu (Nobuyoshi Nakada) wrote:
> Is “a Integer” OK? :)
"a(n) Integer"
sawa (Tsuyoshi Sawada)
07:16 AM Feature #11460: Unhelpful error message when naming a module with the same name as an existing class
Is “a Integer” OK? :) nobu (Nobuyoshi Nakada)
01:15 AM Feature #11460: Unhelpful error message when naming a module with the same name as an existing class
jeremyevans0 (Jeremy Evans) wrote:
> So I don't think there is a bug here. It is possible to change the format the ...
duerst (Martin Dürst)
12:54 PM Bug #15986 (Assigned): `TestJIT#test_block_handler_with_possible_frame_omitted_inlining` fails on s390x and armv7hl
Thanks to report. I'd like to know more about the context to fix the issue.
* Does the error happen at the same pl...
k0kubun (Takashi Kokubun)
12:24 PM Bug #15986 (Closed): `TestJIT#test_block_handler_with_possible_frame_omitted_inlining` fails on s390x and armv7hl
I am trying to build the Ruby 2.7 snapshot for Fedora Rawhide [1], but I observe the following test failure on s390x ... vo.x (Vit Ondruch)
11:58 AM Revision 6c2b59f9 (git): Support Control- and Meta-
aycabta (aycabta .)
11:05 AM Feature #14183: "Real" keyword argument
I would like to ask for clarification.
I understand that this feature removes the rule that complements argument-f...
sawa (Tsuyoshi Sawada)
10:34 AM Revision d9f8b88b (git): Move a comment to proper place
aycabta (aycabta .)
10:29 AM Revision 6fa7ed45 (git): Check commented out line in inputrc correctly
aycabta (aycabta .)
09:54 AM Revision 265b9a0e (git): Parse key sequence more strictly
nobu (Nobuyoshi Nakada)
09:49 AM Revision 12e06d32 (git): Use lstrip instead of gsub which can match only once
nobu (Nobuyoshi Nakada)
09:48 AM Bug #15981 (Closed): irb immediately crashes when typing any character
Applied in changeset commit:git|ee861e43f70d827abd1f8d26b2e97920237348b4.
----------
Skip indented comment lines [Bu...
nobu (Nobuyoshi Nakada)
04:07 AM Bug #15981: irb immediately crashes when typing any character
I was asked (apparently in private mail) about `^D` and `^C`. `^D` produces the same Traceback. `^C` produces another... duerst (Martin Dürst)
12:58 AM Bug #15981: irb immediately crashes when typing any character
I attached my .inputrc, and my .irbrc also just in case you might need that. I can't remember ever modifying these fi... duerst (Martin Dürst)
09:47 AM Revision ee861e43 (git): Skip indented comment lines [Bug #15981]
nobu (Nobuyoshi Nakada)
09:12 AM Revision 0c3e6e86 (git): Suppress uninitialized instance variable warnings
nobu (Nobuyoshi Nakada)
09:01 AM Misc #15930: DevelopersMeeting20190711Japan
* [Feature #11460] Unhelpful error message when naming a module with the same name as an existing class nobu (Nobuyoshi Nakada)
07:45 AM Feature #15983: Can we have a similar syntax (string interpolation) the way V language has?
Let's look at this purely from a syntax point of view first, so that we can avoid
other issues such as backwards inc...
shevegen (Robert A. Heiler)
06:23 AM Feature #15983: Can we have a similar syntax (string interpolation) the way V language has?
There are other languages that use $ in string interpolation. One of them is Perl. Perl is much more famous and widel... duerst (Martin Dürst)
05:43 AM Feature #15983 (Rejected): Can we have a similar syntax (string interpolation) the way V language has?
Sorry, guys, This is the first feature that I am writing in this Ruby issue tracking system, and If I make any mistak... mechanicles (Santosh Wadghule)
07:14 AM Bug #11485 (Closed): Ripper parser generates nil tokens for ignored_nl event during parse errors
Applied in changeset commit:git|f19e048d244c709e2990ddbb0f986e8b51357bd2.
----------
Do not dispatch a nil token in ...
nobu (Nobuyoshi Nakada)
07:09 AM Bug #11485: Ripper parser generates nil tokens for ignored_nl event during parse errors
> `[ruby-core:<unknown>]`
This seems not having sent to the ML, and it happens sometimes, but I'm not sure why.
nobu (Nobuyoshi Nakada)
07:06 AM Bug #11485: Ripper parser generates nil tokens for ignored_nl event during parse errors
Thank you for the patch, somehow I've missed this issue at all.
`dispatch_delayed_token` is an empty expression un...
nobu (Nobuyoshi Nakada)
06:58 AM Revision f19e048d (git): Do not dispatch a nil token in ripper
As a comment token includes the newline, so delayed newline token
just follows it should not be dispatched. [Bug #11...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom