Activity
From 01/11/2019 to 01/17/2019
01/17/2019
-
11:52 PM Revision 6b5695fe (git): make-snapshot: make permissions uniform
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:23 PM Revision dabbdcfd (git): * 2019-01-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:23 PM Revision 92c6072e (git): rbinstall.rb: add --exclude option for install-nodoc
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:09 PM Revision b9289589 (git): bump up teeny version to 2.6.1
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:08 PM Bug #15491: r62701 introduced the incompatibility of Complex#+, #-, and #* removing #ifndef PRESERVE_SIGNEDZERO
- ruby_2_6 r66854 merged revision(s) 66681,66682,66684,66688,66697,66751,66693,66694.
-
11:08 PM Revision 94db3129 (git): merge revision(s) 66681,66682,66684,66688,66697,66751,66693,66694: [Backport #15491]
- complex.c: Optimize Complex#+ for some conditions
Optimize f_add defined in complex.c for some specific conditions.
It makes Complex#+ about 1.4x faster than r66678.
Compared to r66678:
```
mrkn... -
10:44 PM Bug #15544 (Rejected): sprintf returns an unexpected string
- Please visit https://bugs.ruby-lang.org/ and read the FAQ part.
Next time consider doing so before posting an issue. -
10:28 PM Bug #15544: sprintf returns an unexpected string
- You should use the bugtracker primarily for ruby-related problems, issues and so forth. For questions
about C not directly related to the ruby implementation, stackoverflow may be a better site. -
07:52 PM Bug #15544 (Rejected): sprintf returns an unexpected string
- Hello,
I've a little problem with the sprintf function. It returns unexpected results ( in my opinion )
``` ruby
sprintf("%.16g", 8.78)
# returns "8.779999999999999"
# my expected result is "8.78"
```
Can somebody explain th... -
10:09 PM Bug #15536: Crash on merging specific hashes using keyword splat
- ruby_2_6 r66853 merged revision(s) 66832.
-
10:08 PM Revision a5dae936 (git): merge revision(s) 66832: [Backport #15536]
- st.c (rb_hash_bulk_insert_into_st_table): avoid out-of-bounds write
"hash_bulk_insert" first expands the table, but the target size was
wrong: it was calculated by "num_entries + (size to buld insert)", but
it wa... -
10:07 PM Bug #15520: [patch] configure should refuse to build with jemalloc when headers are missing
- ruby_2_6 r66852 merged revision(s) 66779.
-
10:07 PM Revision d79405ff (git): merge revision(s) 66779: [Backport #15520]
- configure: refuse to build with jemalloc when header is missing
[ruby-core:90964] [Bug #15520]
Freom: Misty De Meo <mistydemeo@github.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66852 b2dd03c8-39... -
10:03 PM Bug #15532: Backport r66819 (ast.c: fix missing head part in dynamic literal)
- ruby_2_6 r66851 merged revision(s) 66819.
-
10:03 PM Revision fb70fc4a (git): merge revision(s) 66819: [Backport #15532]
- ast.c: fix missing head part in dynamic literal
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:55 PM Bug #15513: MJIT compilation terminated due to -Wfatal-errors on GCC 7.3.0
- ruby_2_6 r66850 merged revision(s) 66817.
-
09:55 PM Revision fea28863 (git): merge revision(s) 66817: [Backport #15513]
- mjit_worker.c: pass -nostdlib when making pch as well
[Bug #15513]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:54 PM Bug #15522: TestJIT#test_compile_insn_local fails on aarch64 RHEL7
- ruby_2_6 r66849 merged revision(s) 66811,66812,66816.
-
09:54 PM Revision b2f102d1 (git): merge revision(s) 66811,66812,66816: [Backport #15522]
- mjit_worker.c: untangle CC_LIBS nesting
This should have no impact.
The CC_LIBS was too hard to read for human.
I don't remember whether the order of -lmsvcrt and -lgcc matters or not,
but I kept that fo... -
09:47 PM Bug #15540: 2.6.0 Dir#glob regression
- ruby_2_6 r66848 merged revision(s) 66838.
-
09:46 PM Revision 0fe64561 (git): merge revision(s) 66838: [Backport #15540]
- dir.c: fix Dir.glob with braces and matching dir
* dir.c (join_path_from_pattern): add the last slash for directory
matching.
* test/ruby/test_dir.rb (test_glob_recursive_directory): add a test
for a... -
09:39 PM Bug #15479: Array#reject! modifies literal Array
- ruby_2_6 r66847 merged revision(s) 66756.
-
09:39 PM Revision ddffaf52 (git): merge revision(s) 66756: [Backport #15479]
- Mark array as "going to be modified" in `Array#reject!`
Before this patch, if `reject!` is called on a shared array it can
mutate the shared array rather than a copy. This patch marks the array
as "going to be m... -
09:36 PM Bug #15460: Behaviour of String#setbyte changed
- ruby_2_6 r66845 merged revision(s) 66760,66761,66824.
- 09:36 PM Revision 01b6b589 (git): * 2019-01-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:36 PM Revision 4cb618e7 (git): merge revision(s) 66760,66761,66824: [Backport #15460]
- Follow behaviour of IO#ungetbyte
see r65802 and [Bug #14359]
* expand tabs.
setbyte / ungetbyte allow out-of-range integers
* string.c: String#setbyte to accept arbitrary integers [Bug #15460]
... -
01:45 PM Bug #12764 (Closed): rubygems with multi default gem problem
- Applied in changeset trunk|r66844.
----------
Removed old gemspecs of default gems for the Ruby committers.
[Bug #12764][ruby-core:77284] -
01:45 PM Revision f550da51 (git): Removed old gemspecs of default gems for the Ruby committers.
- [Bug #12764][ruby-core:77284]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:52 PM Bug #15500: Behavior of require method in 2.5 is different from 2.4 and 2.6
- I could reproduce them. But I also reproduce it with Ruby 2.5.3 with RubyGems 2.6.14.3 bundled with Ruby 2.4.
```
~ > ruby -v
ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-darwin18]
~ > gem -v
2.6.14.3
~ > gem list bigdecima... -
11:15 AM Bug #15368 (Feedback): Crash Report log information
- Can you try it with Ruby 2.6.0?
-
10:10 AM Misc #15534 (Closed): Is there reliable way to check for new Ruby releases?
- I updated the URL to the index.txt and the release-monitoring.org picked up the Ruby 2.6.0 just using the default RegExp. So it seems to work right now. I'll keep monitoring the situation with future releases. Until then, this is resolve...
-
04:01 AM Misc #15534 (Assigned): Is there reliable way to check for new Ruby releases?
- >What is the most reliable version information
Use https://cache.ruby-lang.org/pub/ruby/index.txt. It's generated the latest package information every day by our system.
> ...
I removed "stable" directory and preview versions of Ru... -
09:07 AM Misc #15530: [ANN] Upgrading bugs.ruby-lang.org to Redmine 4.0
- @hsbt Does the new version have a markup settings? Previously, the markup was Markdown-compatible, so `_underscores_` were rendered as italic. Now, it rendered as _underscored_, and while it can be said "logical", but a lot of old texts ...
-
03:24 AM Misc #15530: [ANN] Upgrading bugs.ruby-lang.org to Redmine 4.0
- After Redmine 4.0, We found the breaking change for api endpoint.
Example:
Redmine 3.x: https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions.atom
Redmine 4.x: https://bugs.ruby-lang.org/projects/ruby-trunk/reposito... -
07:52 AM Revision 367fdd1a (git): reset bound if the size is 0.
- * hash.c (RHASH_AR_TABLE_SIZE_DEC): generally, we need to check all
entries to calculate exact "bound" in ar_table, but if size == 0,
we can clear bound because there are no active entries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
01:36 AM Revision 07298ea2 (git): support btest on older ruby.
- * bootstraptest/runner.rb (assert_normal_exit): check MJIT first
to support btest with ruby ~2.5. btest (bootstraptest) should be
enable to run with stable ruby interpreter because modified ruby
may not able to run runner.rb and we... - 12:36 AM Revision 0280bef3 (git): * 2019-01-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:36 AM Revision d25a27ab (git): call rb_str_modify to make a copy unshared
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:18 AM Feature #15438: Threads can't switch faster than TIME_QUANTUM_(NSEC|USEC|MSEC)
- sylvain.joyeux (Sylvain Joyeux) wrote:
> Here's the patch for 2.6. I would be glad if you could consider also applying the other patch to 2.5.
Thank you so much.
In thread_win32.c:
```diff
-#define TIME_QUANTUM_USEC (10 * 1000... -
12:03 AM Bug #15543: rb_str_set_len should clear code range
- I think few people know about this, and `rb_str_modify` isn't documented in doc/extension.rdoc.
I guess some C extensions ignore this requirement and could have bugs because of it.
Isn't it simpler and safer to clear the coderange, a...
01/16/2019
-
11:27 PM Bug #15543 (Rejected): rb_str_set_len should clear code range
- It isn't an issue of `rb_str_set_len`.
The string isn't valid encoding by `@s.RSTRING_PTR_set(@str, 2, 0x80)`.
You should call `rb_str_modify` before modifying a string object.
-
04:35 PM Bug #15543 (Rejected): rb_str_set_len should clear code range
- Calling `rb_str_set_len` on a `String` could alter the code range. I think this hasn't been much of an issue because of pure luck rather than anything that was deliberately designed. If called on a string that already has a `CR_UNKNOWN` ...
-
08:49 PM Feature #6801 (Rejected): String#~ for a here document
- Indeed.
-
05:14 PM Feature #6801: String#~ for a here document
- Since this exact behavior was added as "indented here document" with `<<~` in Ruby 2.3.0 (discussed in #9098), I believe this issue can be closed out.
-
07:36 PM Feature #15438: Threads can't switch faster than TIME_QUANTUM_(NSEC|USEC|MSEC)
- Quick question ... what is the preferred method to provide patches now ? I'm seeing that there are PR on GitHub ... Should I propose the patch here instead ?
-
04:32 PM Feature #15353: Support client certificates with TLS 1.3 and OpenSSL 1.1.1
- > Hello, openssl library now has its own tracker. Is it possible to report this issue at ruby/openssl? https://github.com/ruby/openssl/issues
Thank you for explaining that ruby/openssl has its own bug tracker!
I have created an is... -
04:00 PM Bug #15542 (Third Party's Issue): Segmentation fault when Interrupted on rabbit.gem for ruby 2.7.0dev
- I previewed my slide using rabbit.gem and stopped by crtl+c...then core dumped.
reproduction scenario
* gem install rabbit
* rabbit REAME.md (and open slide window)
* crtl+c #=> segmantaition fault
I attached output lo... -
03:32 PM Bug #15340: Time.local behaving inconsistently for excess days after 2038
- ruby_2_5 r66839 merged revision(s) 65974.
-
03:32 PM Revision 11a64cea (git): merge revision(s) 65974: [Backport #15340]
- Normalize month-mday before finding epoch
Especially over the year 2038, 30 Feb and so on may cause odd behavior
on validating found epoch with given year-month-day [Bug #15340]
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
02:06 PM Bug #15540 (Closed): 2.6.0 Dir#glob regression - Applied in changeset trunk|r66838.
----------
dir.c: fix Dir.glob with braces and matching dir
* dir.c (join_path_from_pattern): add the last slash for directory
matching.
* test/ruby/test_dir.rb (test_glob_recursive_directory): add... -
05:56 AM Bug #15540: 2.6.0 Dir#glob regression
- Thanks for report. I attached a patch for the issue.
-
02:06 PM Revision d1417ff8 (git): dir.c: fix Dir.glob with braces and matching dir
- * dir.c (join_path_from_pattern): add the last slash for directory
matching.
* test/ruby/test_dir.rb (test_glob_recursive_directory): add a test
for above.
[ruby-core:91110] [Bug #15540]
git-svn-id: svn+ssh://ci.ruby-lang.org/rub... -
12:55 PM Feature #15538: Erb indenting / unindenting
- Thanks for the update. You didn't answer 2 but I guess you're using `trim_mode: '-'` or something including "-". Note that your "extra indentation" result is still not valid one since it should have 4 spaces in the real world. Do not tre...
-
12:27 PM Feature #15538: Erb indenting / unindenting
- How about following style?
```
1
<%- [2, 3, 4].each do |num| -%>
<%- unless num == 3 -%>
<%= num %>
<%- end -%>
<%- end -%>
5
``` -
09:58 AM Feature #15538: Erb indenting / unindenting
- (missing closing parenthesis)
-
09:55 AM Feature #15538: Erb indenting / unindenting
- Clarified and added some examples
-
12:05 PM Bug #15084: Backport r64476
- ruby_2_5 r66837 merged revision(s) 64476.
-
12:04 PM Revision 9ab19d79 (git): merge revision(s) 64476: [Backport #15084]
- thread_sync.c (rb_mutex_sleep): disable interrupt checking in ensure
This is needed to reliably fix ConditionVariable#wait on Thread#kill
[Bug #14999] because there is still a chance an interrupt could fire
and p... -
10:20 AM Bug #15539: Proc.new with no block shouldn't always warn
- I always thought Proc.new working without an explicit block was an unintended feature in MRI, and indeed fairly magical, so I support taking a more explicit way in 2.7.
-
10:12 AM Bug #15539 (Rejected): Proc.new with no block shouldn't always warn
- > makes it no longer possible to have a default value for a positional argument that uses the block
Surprisingly, we can:
```
def foo o = binding.local_variable_get(:b), &b
p o.class
end
foo{} #=> Proc
```
(of course it... -
01:33 AM Bug #15539: Proc.new with no block shouldn't always warn
- ko1 (Koichi Sasada) wrote:
> I'll file the reason soon.
> ...
I also ran into this issue as `Proc.new` was used in a few places in Sequel. Removing implicit block support for `Proc.new` makes it no longer possible to have a default val... -
01:03 AM Bug #15539: Proc.new with no block shouldn't always warn
- ko1 (Koichi Sasada) wrote:
> I'll file the reason soon.
> ...
Ok, no problem! I'll update Rails and reference the feature when posted. 😊 -
12:25 AM Bug #15539: Proc.new with no block shouldn't always warn
- I'll file the reason soon.
Anyway, I recommend you to rewrite it with a block parameter:
```
def foo bar = nil, &b
(b || bar).call
end
# or
def foo bar = nil, &b
bar ||= b
bar.call
end
```
-
02:09 AM Revision 74477ec2 (git): Strip warnflags
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:04 AM Feature #15541: Add alias symbolize_keys for symbolize_names kwarg for JSON.parse
- Personally I think that alias name would make sense. With a new alias the backwards
behaviour would also be retained. -
01:44 AM Feature #15541 (Third Party's Issue): Add alias symbolize_keys for symbolize_names kwarg for JSON.parse
- https://github.com/ruby/psych/issues/341
When trying to symbolize keys on JSON parsing, it's really hard to remember the name `symbolize_names`:
```
JSON.parse(data, symbolize_names: true)
```
I would like to propose that we c... -
01:35 AM Revision d0318b8c (git): Revert r65800
- "Makefile.in: reconfig with the original warnflags"
It would be unnecessary since r65803 and r65805.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:48 AM Revision 98e218b6 (git): * 2019-01-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:48 AM Revision 923d03e1 (git): Fixed a typo, missing `$`
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:19 AM Bug #15503: Error in Ruby 2.6 when trying to shell out to invoke `irb` while in a `bundle exec` session
- schneems (Richard Schneeman) wrote:
> Hello. This script fails on Ruby 2.6 but works successfully with Ruby 2.5:
I believe that's because irb was not a gem in Ruby 2.5 and was part of the stdlib, but in 2.6 it's a gem.
01/15/2019
-
11:15 PM Bug #15540 (Closed): 2.6.0 Dir#glob regression
- in an empty base folder create the following structure
```
.
└── c
├── d
│ └── a
│ ├── a.file
│ └── b
│ ├── b.file
│ └── c
│ └── c.file
└── e
... -
11:04 PM Bug #15539 (Rejected): Proc.new with no block shouldn't always warn
- Hi,
r66772 introduced a warning for the following code:
``` ruby
def foo bar = Proc.new
bar.call
end
foo { p "block" } # warn
foo ->() { p "block" } # no warn
```
I don't think this case of `Proc.new` should warn.... -
05:52 PM Feature #14915: Deprecate String#crypt
- If we want to remove a feature, we deprecate and warn first, that has always been the case in MRI.
@shyouhei Please add the warning. Otherwise, no users will consider it deprecated.
@normalperson If you disagree, please start a gen... -
03:34 PM Bug #15536: Crash on merging specific hashes using keyword splat
- That was fast, thank you.
-
02:19 PM Bug #15536 (Closed): Crash on merging specific hashes using keyword splat
- Applied in changeset trunk|r66832.
----------
st.c (rb_hash_bulk_insert_into_st_table): avoid out-of-bounds write
"hash_bulk_insert" first expands the table, but the target size was
wrong: it was calculated by "num_entries + (size to b... -
01:47 PM Bug #15536: Crash on merging specific hashes using keyword splat
- Good catch. The following code still crashes on trunk.
```
{
**{
a0: nil,
a1: nil,
a2: nil,
a3: nil,
a4: nil,
a5: nil,
a6: nil,
a7: nil,
a8: nil,
},
a0: nil,
a1: nil,
a2: n... -
08:42 AM Bug #15536 (Closed): Crash on merging specific hashes using keyword splat
- Here's a snippet that leads to a crash on ruby 2.5.3. I tried to make it as small as possible.
```ruby
1000.times do
{
**{
a1: nil,
a2: nil,
a3: nil,
a4: nil,
a5: nil,
a6: nil,
a... -
03:21 PM Feature #15538: Erb indenting / unindenting
- kke (Kimmo Lehto) wrote:
> In `Erb`, would it be possible to add a new trim mode that would indent the following content to match the depth of the tag? The tag could for example be `<%|` and it would be enabled using `Erb.new(template, ... -
02:10 PM Feature #15538 (Feedback): Erb indenting / unindenting
- It's hard to understand your proposal for me. Could you fix the following two parts first?
1. Do not use "...." in the template. We are talking about a feature to change indentation and the indentation you imagine in "...." is not cle... -
01:35 PM Feature #15538 (Third Party's Issue): Erb indenting / unindenting
- In `Erb`, would it be possible to add a new tag that would indent the following content to match the depth of the tag? The tag could be `<%~` (to resemble the `<<~EOS` squiggy heredoc).
## Reason
Something like this would be easy t... -
02:19 PM Revision ab2547d7 (git): st.c (rb_hash_bulk_insert_into_st_table): avoid out-of-bounds write
- "hash_bulk_insert" first expands the table, but the target size was
wrong: it was calculated by "num_entries + (size to buld insert)", but
it was wrong when "num_entries < entries_bound", i.e., it has a deleted
entry. "hash_bulk_insert"... -
01:52 PM Revision 10d85b19 (git): Clarify Array#- and Array#difference documentation
- Currently we are not explicit enough regarding the potentially confusing
behavior of `Array#-` and `Array#difference` when it comes to duplicate items
within receiver arrays.
Although the original documentation for these methods does us... -
12:08 PM Feature #15438: Threads can't switch faster than TIME_QUANTUM_(NSEC|USEC|MSEC)
- Hi nobu. Thanks for looking into this !
Here's the patch for 2.6. I would be glad if you could consider also applying the other patch to 2.5. -
12:05 PM Revision d7976d14 (git): Use `&` instead of `modulo`
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:17 AM Bug #15537 (Closed): Numeric#step doesn't iterate under some conditions
- Numeric#step doesn't iterate under the following conditions:
- receiver and/or `by` are `Float`
- `by` is negative
- `to` is default
- without block
### Example:
Good:
~~~ruby
p 1.step(by: 3).take(2) ... -
09:08 AM Bug #15399: [PATCH] insns.def (duparray, duphash): add dtrace hooks
- ruby_2_6 r66829 merged revision(s) 66767.
-
09:06 AM Revision b3b786c5 (git): merge revision(s) 66767: [Backport #15399]
- insns.def (duparray, duphash): add dtrace hooks
They are considered Array and Hash creation events, so
allow dtrace (and systemtap) to track those creations.
Co-Authored-By: Eric Wong <e@80x24.org>
git-svn-id: ... -
09:00 AM Bug #15498: Update Refinements documentation
- ruby_2_6 r66828 merged revision(s) 66788.
-
09:00 AM Revision 3dd20673 (git): merge revision(s) 66788: [Backport #15498]
- Update refinements docs
Co-Authored-By: Vladimir Dementyev <dementiev.vm@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:56 AM Bug #15511: RubyVM::AbstractSyntaxTree.parse segfault
- ruby_2_6 r66827 merged revision(s) 66736.
-
08:55 AM Revision 402906e2 (git): merge revision(s) 66736: [Backport #15511]
- ast.c: argument must be a string
[ruby-core:90904] [Bug #15511]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:55 AM Bug #15512: Backport r66745
- ruby_2_6 r66826 merged revision(s) 66745.
-
08:55 AM Revision da7dedec (git): merge revision(s) 66745: [Backport #15512]
- Bump version to date-2.0.0.
I forgot to change it when Ruby 2.6.0 was released.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:54 AM Bug #15506: ArgumentError on some ordinal dates
- ruby_2_6 r66825 merged revision(s) 66735.
-
08:53 AM Revision a88f8e34 (git): merge revision(s) 66735: [Backport #15506]
- Fix mday overflow
[ruby-core:90897] [Bug #15506]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:38 AM Feature #11741: Migrate Ruby to Git from Subversion
- Thumbs up for this incredible discussion of yours. I've truly appreciated perusing this discussion today and I figure this may be extraordinary compared to other discussions that I've perused yet. If it's not too much trouble prop this w...
-
06:42 AM Bug #15460 (Closed): Behaviour of String#setbyte changed
- Applied in changeset trunk|r66824.
----------
setbyte / ungetbyte allow out-of-range integers
* string.c: String#setbyte to accept arbitrary integers [Bug #15460]
* io.c: ditto for IO#ungetbyte
* ext/strringio/stringio.c: ditto for S... -
06:41 AM Revision d154bec0 (git): setbyte / ungetbyte allow out-of-range integers
- * string.c: String#setbyte to accept arbitrary integers [Bug #15460]
* io.c: ditto for IO#ungetbyte
* ext/strringio/stringio.c: ditto for StringIO#ungetbyte
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66824 b2dd03c8-39d4-4d8f-... -
06:01 AM Bug #15513: MJIT compilation terminated due to -Wfatal-errors on GCC 7.3.0
- バージョンがかわってしまったので元にもどしました。
-
06:00 AM Bug #15513: MJIT compilation terminated due to -Wfatal-errors on GCC 7.3.0
- 下記のとおりコンパイルされることが確認できました!ありがとうございます。
~~~
$ time ruby -v --jit-verbose=2 --jit-save-temps --disable-gems /tmp/t.rb
ruby 2.7.0dev (2019-01-15 trunk 66823) +JIT [x86_64-linux]
MJIT: CC defaults to /usr/bin/gcc
MJIT: tmp_dir is /tmp
... -
04:02 AM Revision 5e84537d (git): Revert "mjit_worker.c: try passing -nostdlib to AIX"
- This reverts commit b32fb23083912c37a2601c66531ed786a7c9f3e5.
This didn't work on AIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:53 AM Feature #15523: Let `Range#begin` and `Range#end` be aliases of Range#first and Range#last
- mame (Yusuke Endoh) wrote:
> I understand that "your problem" is confusion between a keyword "begin" and "Range#begin". First, I have never been confused by the fact. Then,
Actually, that was a minor point (I, myself, have not be... - 03:43 AM Revision a01f2f0a (git): * 2019-01-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:43 AM Revision 01d63239 (git): Suppress warning: ambiguous first argument; put parentheses or a space even after `/' operator
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:22 AM Feature #15301 (Closed): Symbol#call, returning method bound with arguments
-
12:15 AM Feature #15393: Add compilation flags to freeze Array and Hash literals
- Eregon (Benoit Daloze) wrote:
> tenderlovemaking (Aaron Patterson) wrote:
> ...
Yes, I totally agree. I think `deep_freeze` is going to be necessary for adoption of Guilds, and the code I'm proposing in this patch would be an optimiza...
01/14/2019
-
11:34 PM Bug #15535 (Rejected): Optional arguments for definition - Syntax Error is not the correct Error type
- Required arguments cannot be placed between optional arguments **syntactically**, so it must be a `SyntaxError`.
`ArgumentError` is a runtime error.
-
07:52 PM Bug #15535 (Rejected): Optional arguments for definition - Syntax Error is not the correct Error type
- The below definition throws a Syntax Error, while there is no syntax error and I'm not sure what is the intention behind the Syntax Error
``` ruby
def hello(foo="bar", bar, yanko="me")
p "Hello"
end
```
The same definition be... -
11:30 PM Feature #15438: Threads can't switch faster than TIME_QUANTUM_(NSEC|USEC|MSEC)
- Your patch can't apply to the latest code.
Could you rebase it? -
06:49 PM Feature #15438: Threads can't switch faster than TIME_QUANTUM_(NSEC|USEC|MSEC)
- Anyone interested on the subject ?
-
11:15 PM Bug #8059 (Closed): Unrelated block value returned by String#match(regex) when regex is returned by a method that uses define_method and super
- Thank you for the confirmation.
-
05:26 PM Bug #8059: Unrelated block value returned by String#match(regex) when regex is returned by a method that uses define_method and super
- The example appears to have been a little mangled on Redmine.
This code reproduces the issue on 1.9.3-p327 and 1.9.3-p551:
~~~
class Superclass
define_method :regex do
/^(\d)$/
end
end
class Subclass < Superclass
... -
06:40 PM Feature #15527: Redesign of timezone object requirements
- > Note that a timezone system requires two API.
Sorry for my arrogance, but can you please explain this a bit?..
From what I can understand from code, `local_to_utc` is used only from `Time.new`, but I am not quite sure why exactly.
... -
05:37 PM Bug #8297: extend & inherited class variable issue
- This appears to still be an issue with Ruby 2.6.0 (ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-linux]):
Example:
~~~
module M
@@xyz = 123
end
puts "M.class_variables: #{M.class_variables.inspect}"
puts "M.class_variable... -
03:45 PM Feature #15526: New way to destruct an object hash
- Related/duplicate https://bugs.ruby-lang.org/issues/11758
-
02:34 PM Misc #15534 (Closed): Is there reliable way to check for new Ruby releases?
- In Fedora, we are using https://release-monitoring.org/ to check for packages updates. Unfortunately, the content of https://cache.ruby-lang.org/pub/ruby/ is a bit inconsistent which makes this service unuseful.
If I open the page, th... -
02:15 PM Feature #15523: Let `Range#begin` and `Range#end` be aliases of Range#first and Range#last
- @sawa Sorry, please don't mind my previous comment. I confused the behavior of Range and one of ArithmeticSequence.
-
12:52 PM Feature #15523: Let `Range#begin` and `Range#end` be aliases of Range#first and Range#last
- @sawa Please tell us how can we get both the end-value of the exclude-end range and the last element of the sequence generated by the range if your proposal were accepted?
-
11:58 AM Bug #15522: TestJIT#test_compile_insn_local fails on aarch64 RHEL7
- k0kubun (Takashi Kokubun) wrote:
> @vo.x Could you check if r66812 works?
Actually it is r66811 + r66812. Applying these two patches, the test suite passes on RHEL7 on all supported architectures and it keeps passing on Fedora Rawhid... -
06:32 AM Bug #15522: TestJIT#test_compile_insn_local fails on aarch64 RHEL7
- @vo.x Could you check if r66812 works?
-
06:18 AM Bug #15522 (Closed): TestJIT#test_compile_insn_local fails on aarch64 RHEL7
- Applied in changeset trunk|r66812.
----------
mjit_worker.c: pass -lgcc to GCC platforms
using `-nodefaultlibs -nostdlib`.
I assume libgcc is needed when we use -nostdlib, and it's linked on some
platforms but not linked on some platf... -
11:40 AM Bug #15385: Ruby process hang in ensure
- Memo: r61591, r61592, r66324 are related.
-
11:27 AM Bug #15219: Backport: Ruby 2.5.X to support OpenSSL 1.1.1 and TLS 1.3
- > Maybe this patch too.
> ...
Hmm, these two pull requests are not merged yet in ruby/openssl and neither committed into ruby trunk.
We can backport them only after they are committed into trunk according to our stable branch managemen... -
11:17 AM Bug #15533 (Third Party's Issue): Segmentation fault: mysql2 client
- Started GET "/" for 127.0.0.1 at 2019-01-14 10:55:17 +0000
/../../.rvm/gems/ruby-2.6.0/gems/mysql2-0.5.2/lib/mysql2/client.rb:90: [BUG] Segmentation fault at 0x0000000000000000
ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-darwin17] -
11:09 AM Bug #15532 (Closed): Backport r66819 (ast.c: fix missing head part in dynamic literal)
- This is a ticket for backport management.
r66819 contains bug fix for RubyVM::AbstractSyntax.parse/.parse_tree.
-
11:04 AM Revision ad10418e (git): update redmine-backporter to catch up Redmine 4.0. [ci skip]
- tool/redmine-backporter.rb: change revision resource URL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:16 AM Revision 4d727639 (git): ast.c: fix missing head part in dynamic literal
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:48 AM Bug #15498 (Closed): Update Refinements documentation
- Fixed at r66788
-
09:23 AM Bug #15041: [PATCH] cont.c: set th->root_fiber to current fiber at fork
- ruby_2_5 r66818 merged revision(s) 64589,64593.
-
09:23 AM Revision b9f11b12 (git): merge revision(s) 64589,64593: [Backport #15041]
- cont.c: set th->root_fiber to current fiber at fork
Otherwise, th->root_fiber can point to an invalid Fiber,
because Fibers do not live across fork. So consider
whatever Fiber is running the root fiber.
... -
07:35 AM Feature #15408: Deprecate ObjectSpace._id2ref
- Target version is used by release engineering; don't use this as just a goal.
In this case set target version after drb removes `ObjectSpace._id2ref`. -
07:32 AM Bug #595: Fiber ignores ensure clause
- Target version is used by release engineering; don't use this as just a goal.
-
07:30 AM Bug #15513: MJIT compilation terminated due to -Wfatal-errors on GCC 7.3.0
- @kajisha 多分 r66817 で直ると思うのですが、最新のtrunkでMJITが動くかご確認いただけないでしょうか。
-
07:28 AM Bug #15513 (Closed): MJIT compilation terminated due to -Wfatal-errors on GCC 7.3.0
- Applied in changeset trunk|r66817.
----------
mjit_worker.c: pass -nostdlib when making pch as well
[Bug #15513] -
07:28 AM Revision ec3cdb34 (git): mjit_worker.c: pass -nostdlib when making pch as well
- [Bug #15513]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:45 AM Revision b32fb230 (git): mjit_worker.c: try passing -nostdlib to AIX
- r66812 might have allowed this. Testing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:38 AM Bug #15471: -e and specified file does not kick script_compiled TracePoint event
- ruby_2_6 r66815 merged revision(s) 66595.
-
06:38 AM Revision 6e7f3982 (git): merge revision(s) 66595: [Backport #15471]
- fix missed script_compiled events. [Bug #15471]
* ruby.c (process_options): script_compiled events are missed on
command line -e or specified file. this commit fix it.
[Bug #15471]
This patch shoul... -
06:34 AM Bug #15476: Branch coverage: Failing to load trivial sample when branch coverage is on
- ruby_2_6 r66813 merged revision(s) 66670,66676.
- 06:34 AM Revision 8e2c6c16 (git): * 2019-01-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:34 AM Revision aed655c0 (git): merge revision(s) 66670,66676: [Backport #15476]
- compile.c: support branch coverage for `a&.foo = 1`
[Bug #15476]
compile.c (iseq_set_sequence): fix branch coverage table
Not only TRACE_ELEMENT but also INSN_ELEMENT may have events.
The old pc2branchi... -
06:18 AM Revision d14089fb (git): mjit_worker.c: pass -lgcc to GCC platforms
- using `-nodefaultlibs -nostdlib`.
I assume libgcc is needed when we use -nostdlib, and it's linked on some
platforms but not linked on some platforms (like aarch64, and possibly
AIX as well) as said in https://wiki.osdev.org/Libgcc :
>... -
05:50 AM Revision d89d1d46 (git): mjit_worker.c: untangle CC_LIBS nesting
- This should have no impact.
The CC_LIBS was too hard to read for human.
I don't remember whether the order of -lmsvcrt and -lgcc matters or not,
but I kept that for the best safety.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@668... - 04:49 AM Revision b4bc6ccb (git): * 2019-01-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:49 AM Revision 4840771a (git): vm_insnhelper.c: make VM helpers inline
- In r66597, both VM and JIT seem to be made slower:
```
$ benchmark-driver benchmark.yml --rbenv 'r66596::before --disable-gems;r66597::after --disable-gems;r66596+JIT::before --disable-gems --jit;r66597+JIT::after --disable-gems --jit' ...
01/13/2019
-
01:49 PM Bug #15531 (Closed): Ignore gemspec files for rdoc.
- Applied in changeset trunk|r66808.
----------
rdoc: ignore gemspec files
[ruby-core:91067] [Bug #15531] -
12:07 PM Bug #15531 (Closed): Ignore gemspec files for rdoc.
- Followed up https://bugs.ruby-lang.org/issues/14163#note-5.
The current documentation generated by rdoc shows gemspec files like:
https://docs.ruby-lang.org/en/2.6.0/lib/csv/csv_gemspec.html
It should be ignored. -
01:49 PM Revision edb65a62 (git): rdoc: ignore gemspec files
- [ruby-core:91067] [Bug #15531]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:41 PM Revision 71d2695d (git): rdoc: fixup the test for r66806
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:17 PM Feature #15523: Let `Range#begin` and `Range#end` be aliases of Range#first and Range#last
- Objection.
I understand that "your problem" is confusion between a keyword "begin" and "Range#begin". First, I have never been confused by the fact. Then,
> * Let Range#begin and Range#end be aliases of Range#first and Range#last... -
01:16 PM Revision 0fb782ea (git): rdoc: ignore garbage files
- * lib/rdoc/options.rb (RDoc::Options#init_ivars): exclude backup
files by default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:16 PM Revision 6feee125 (git): common.mk: common rdoc variables
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:56 AM Bug #14163 (Closed): Pages of rdoc include files which are not documents
- Do not reuse the existence issue and modify status by yourself without maintainers. Because We use status is backport workflow for stable versions.
Please open another issue. -
11:42 AM Bug #14163 (Open): Pages of rdoc include files which are not documents
- And here they are again: https://docs.ruby-lang.org/en/2.6.0/ (seems the problem is related to new default gems?)
-
09:53 AM Feature #15527: Redesign of timezone object requirements
- Sounds interesting, but `zone.utc_offset(time)` can only be a partial alternative of `utc_to_local` with using `gmtime(3).
Note that a timezone system requires two API.
One is an API which converts from [year, month, day, hour, minut... -
08:37 AM Feature #12208 (Assigned): Improve ri command
-
08:09 AM Bug #10422 (Assigned): RDoc for BasicObject has methods that do not exist
-
08:06 AM Bug #11746 (Assigned): RDoc incorrect example call method on heredoc
-
08:05 AM Bug #12888 (Rejected): Require 'thread' crash on recent 2.2.x
- Ruby 2.2.x is EOL status.
-
08:03 AM Feature #15415 (Assigned): [PATCH] fileutils (mv): fall back to copy + unlink on EPERM
-
07:50 AM Bug #15390: Error installing nokogiri on ruby-2.6.0-rc1
- Possibly related: https://github.com/Homebrew/brew/issues/5068
Also this section from Nokogiri documentation: https://nokogiri.org/tutorials/installing_nokogiri.html#unable-to-find-libraries-on-macos-mojave -
05:56 AM Bug #15428: Refactor Proc#>> and #<<
- zverok (Victor Shepelev) wrote:
> Now, from what I can understand, you followed this rule of thumb:
> ...
Right.
> So, in fact, it is my "option 2": "codify that `#call` from now on has a special meaning in Ruby", and considering your a... -
04:36 AM Revision 665d9a43 (git): time.c: separate sign argument
- * time.c (vtm_add_offset): separate sign argument to get rid of
repeated negations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:37 AM Misc #15530: [ANN] Upgrading bugs.ruby-lang.org to Redmine 4.0
- I fixed the mail-bomb issue [ruby-core:91051](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/91051) - [ruby-core:91056](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/91056).
-
03:17 AM Misc #15530 (Assigned): [ANN] Upgrading bugs.ruby-lang.org to Redmine 4.0
-
01:36 AM Misc #15530 (Closed): [ANN] Upgrading bugs.ruby-lang.org to Redmine 4.0
- Now, I did upgrade bugs.ruby-lang.org to Redmine 4.0 from 3.2.
See, notable changes via official announcement.
https://www.redmine.org/news/119
I migrated our custom plugins for Redmine 4.0 and Rails 5.2. When you encountered th... -
03:31 AM Revision 019c8915 (git): time.c: do not set utc_offset in vtm_add_offset
- * time.c (vtm_add_offset): just add offset to other components
only. removed subtraction of utc_offset as it is overwritten
always immediately in callers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66803 b2dd03c8-39d4-4d8f-9... - 03:27 AM Revision 128b6577 (git): * 2019-01-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:27 AM Revision 6d181873 (git): Fix remaining syntax errors in Binding#irb docs
- Apologies for catching those so late.
[Fix GH-2067] [ci skip]
From: Olivier Lacan <hi@olivierlacan.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/12/2019
-
09:04 PM Bug #15519: addr2line compile error on RHEL7
- ruby_2_6 r66800 merged revision(s) 66768.
-
09:04 PM Revision d3aa6514 (git): merge revision(s) 66768: [Backport #15519]
- Get rid of C99 feature for now [ruby-core:90949] [Bug #15519]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:03 PM Bug #15468: Net::Protocol::BufferedIO#write raises NoMethodError when sending large multi-byte string
- ruby_2_6 r66799 merged revision(s) 66582.
-
09:03 PM Bug #15472: Invalid JSON data being sent from Net::HTTP in some cases with Ruby 2.6.0
- ruby_2_6 r66799 merged revision(s) 66582.
-
09:02 PM Revision 9548df04 (git): merge revision(s) 66582: [Backport #15468][Backport #15472]
- Fix Net::Protocol::BufferedIO#write when sending large multi-byte string
This commit should fix Net::Protocol::BufferedIO#write when sending
large multi-byte string like following example.
```
$ ruby -rn... -
03:04 PM Feature #15526: New way to destruct an object hash
- zverok (Victor Shepelev) wrote:
> 1) Ruby has very consistent "argument **deconstruction**" rules. Basically, "it is deconstructed the same way it is constructed", e.g., if you can _call_ (construct) with arguments like `meth(a, *b, c: ... -
02:21 PM Misc #15529 (Closed): Document Enumerator::Lazy
- In this patch:
* explanation of the class concept, with examples;
* docs for all class methods (most of them just say "Like `Enumerable#<methodname>`, but chains operation to be lazy-evaluated.", but I believe they are useful this way ... -
01:59 PM Feature #15301: Symbol#call, returning method bound with arguments
- In the light of discussions here: https://bugs.ruby-lang.org/issues/15428#change-76265 (TL;DR: `#call` is "implicit Proc conversion") I retract this proposal.
Please close. -
01:24 PM Bug #15428: Refactor Proc#>> and #<<
- > `#call` method is called by `Enumerable`, `Enumerator`, finalizer and `Signal`.
That's interesting. I just looked through the docs and understood I was not very aware of this fact:
* `Enumerable#find` (is the only method using `#ca... -
12:35 PM Bug #15428: Refactor Proc#>> and #<<
- nobu (Nobuyoshi Nakada) wrote:
> `#call` method is called by `Enumerable`, `Enumerator`, finalizer and `eval`.
Sorry, the last is `Signal`, not `eval`. -
12:31 PM Bug #15428: Refactor Proc#>> and #<<
- > > `#to_proc` is not an implicit conversion method, as it needs the specific syntax, `&`.
> ...
The point is that is done **explicitly**.
> > It is a usual case that a method may expect its argument to have particular method(s),
> ... -
12:08 PM Bug #15428: Refactor Proc#>> and #<<
- > `#to_proc` is not an implicit conversion method, as it needs the specific syntax, `&`.
But ideologically, it is the way to designate "this object quacks as a `Proc`", e.g. could be used instead of a `Proc` object.
> ...
Well, I b... -
11:35 AM Bug #15428: Refactor Proc#>> and #<<
- Sorry, I was going to reopen this after r66769, but have forgotten.
> Currently, it is the **only** place in Ruby where coercing argument to `Proc` is done with `#call` method.
These methods do not coerce argument, but just expect... -
09:36 AM Bug #15428 (Open): Refactor Proc#>> and #<<
- Sorry for my arrogance, but I am kinda surprised (to say the least) with how this ticket is treated.
* Ticket is closed silently (are you aware that it is an event when Redmine doesn't send the notification, so unless I'll check manua... -
12:39 PM Revision ad0ba0dc (git): trivial fix r66778 [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:56 AM Bug #15528: Bundler stdlib is not documented
- @hsbt Thanks, I'll provide the patch.
Can we leave this ticket open? I believe it is an existing problem of the trunk, that should be tracked here, too. -
11:20 AM Bug #15528 (Closed): Bundler stdlib is not documented
- I welcome the patch for documentation of bundler on the upstream that is https://github.com/bundler/bundler or ruby repo both.
I can handle it because I'm a member of Bundler team. -
11:08 AM Bug #15528 (Closed): Bundler stdlib is not documented
- Since 2.6, Bundler is a part of the standard library. But the logic of standard library docs for "default gems" (only gem's `lib` is copied to Ruby source tree, and libraries main class/module is rendered as a docs entry point) lead to u...
-
09:36 AM Revision 4e28fdf4 (git): No FloatDomainError at non-finitive number if exception: false
- [ruby-core:91021] [Bug #15525]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:02 AM Feature #15527 (Closed): Redesign of timezone object requirements
- In #14850, there was timezone support introduced, there were pretty specific requirements for the Timezone object:
> A timezone argument must have `local_to_utc` and `utc_to_local` methods... The `local_to_utc` method should convert a... -
05:03 AM Bug #15525 (Closed): Complex(nil, exception: false) and Rational(nil, exception: false) raises an error
- Applied in changeset trunk|r66796.
----------
No TypeError at nil if exception: false
[ruby-core:91021] [Bug #15525] -
05:02 AM Revision 62c17a2f (git): No TypeError at nil if exception: false
- [ruby-core:91021] [Bug #15525]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:53 AM Revision 52a97e36 (git): * 2019-01-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:53 AM Revision 056c24d3 (git): RbConfig::CONFIG never had "exeext"
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/11/2019
-
08:35 PM Feature #15526: New way to destruct an object hash
- > Admit it, you only wanted to use `.then`
That's absolutely not the point. The real point here is:
1) Ruby has very consistent "argument **deconstruction**" rules. Basically, "it is deconstructed the same way it is constructed", ... -
08:15 PM Feature #15526: New way to destruct an object hash
- > What do you guys think?
Ultimately you only have to convince matz, so the rest is just people giving opinions. :)
Victor wrote:
> ...
config.then { |host:, port:|
Admit it, you only wanted to use **.then**. ;)
To the o... -
07:57 PM Feature #15526: New way to destruct an object hash
- Not exactly what you are describing, but, funny enough, there is a way!
```ruby
config = { host: 'localhost', port: 3000 }
config.then { |host:, port:|
p "host=#{host}, port=#{port}"
}
``` -
07:45 PM Feature #15526 (Open): New way to destruct an object hash
- JavaScript has a nice a neat way to destruct objects.
~~~ javascript
const person = { name: "John Doe", age: 33 };
const { name, age } = person;
~~~
Erlang has a similar way to destruct a tuple:
~~~ erlang
Person = {"John Doe... -
07:52 PM Misc #15462: DevelopersMeeting20190110Japan
- On 2019/01/11 06:53, dementiev.vm@gmail.com wrote:
> Issue #15462 has been updated by palkan (Vladimir Dementyev).
>
>
> * [Feature #14344] refine at class level
> * there are some proposals for shorter refinements syntax; wan... -
04:11 PM Bug #15522: TestJIT#test_compile_insn_local fails on aarch64 RHEL7
- sharkcz (Dan Horák) wrote:
> I guess -nodefaultlibs should be omitted and/or -static-libgcc added. Skipping libgcc seems dangerous in general on any arch.
I removed `-nodefaultlibs` and it changed nothing. But reading GCC options [1]... -
11:10 AM Bug #15522 (Assigned): TestJIT#test_compile_insn_local fails on aarch64 RHEL7
- > Header and the content of /tmp directory (except the .gch, which was huge :/) are attached.
Thanks! Much appreciated.
> ...
Possibly. It's causing issues on #15513 as well... I'll try to fix it. -
10:42 AM Bug #15522: TestJIT#test_compile_insn_local fails on aarch64 RHEL7
- I suppose "-nostartfiles -nodefaultlibs -nostdlib" are the reason that libgcc isn't linked into the _ruby_mjit_p111u0.so
__multi3 is provided in /lib64/libgcc_s-4.8.5-20150702.so.1
I guess -nodefaultlibs should be omitted and/or -s... -
10:02 AM Bug #15522 (Open): TestJIT#test_compile_insn_local fails on aarch64 RHEL7
- So here is the output:
~~~
$ ruby --disable-gems --jit-verbose=2 --jit-min-calls=1 --jit-debug --jit-wait --jit-save-temps -e "
begin
def foo
a = 0
[1, 2].each do |i|
a += i
[3, 4].... -
04:04 PM Feature #14344: refine at class level
- shevegen (Robert A. Heiler) wrote:
> I think that:
> ...
On the other hand, it's closer to what we have to write now (`using(Module.new do`) and it doesn't have any additional constraints like being at the top level of class/module con... -
11:05 AM Feature #14344: refine at class level
- I think that:
using do
refine Array do
Is not good. It looks very strange to me.
The other variants, such as the original one:
class Test
refine String do
or just toplevel:
refine String do
... -
02:33 PM Bug #15460 (Assigned): Behaviour of String#setbyte changed
- I had a chance this week to ask matz if he wants to allow bigger inputs or not for those methods. He answered yes. He prefers mod 256 behaviour for larger numbers. I will fix them again.
-
02:32 PM Bug #15525: Complex(nil, exception: false) and Rational(nil, exception: false) raises an error
- Found by specs added in https://github.com/ruby/spec/pull/648
-
02:16 PM Bug #15525 (Closed): Complex(nil, exception: false) and Rational(nil, exception: false) raises an error
- Each line below raises an error
~~~
Complex(:sym, 0, exception: false) # TypeError (not a real)
Complex(nil, exception: false) # TypeError (can't convert nil into Complex)
Complex(0, nil, exception: false) # TypeError (can't convert ... -
11:13 AM Feature #15523: Let `Range#begin` and `Range#end` be aliases of Range#first and Range#last
- I have no particular pro or con opinion towards this proposal per se; however within
the two suggestions made, I think having these as aliases would be better than
obsolete them. People could then decide to use either variant if they w... -
04:51 AM Feature #15523: Let `Range#begin` and `Range#end` be aliases of Range#first and Range#last
- Done.
-
04:45 AM Feature #15523: Let `Range#begin` and `Range#end` be aliases of Range#first and Range#last
- Sorry, please change this to a feature request instead of a bug report.
-
04:44 AM Feature #15523 (Open): Let `Range#begin` and `Range#end` be aliases of Range#first and Range#last
- My understanding is that `Range#begin` and `Range#end`'s features are just subsets of `Range#first` and `Range#last`, respectively. And since they are slightly confusing with the keywords `begin` and `end`, I propose to either:
* Let ... -
09:36 AM Revision 0a5655a5 (git): Drop whole examples
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:53 AM Bug #15524 (Rejected): Unicode not Supported in Class Names
- It is supported since 2.6, [Feature #13770].
-
08:31 AM Bug #15524 (Rejected): Unicode not Supported in Class Names
- The details are at the attached file.
-
08:46 AM Bug #15493 (Feedback): Seg Fault on 'vagrant up' Fedora29 intel
- You have not provided enough information about your environment. Could you please provide output of the following commands?
~~~
$ rpm -q ruby
$ rpm -q rubygem-nokogiri
~~~
Also, your backtrace has no debug information. You shoul... -
08:44 AM Revision 8197abf9 (git): Fix r66791
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:50 AM Revision d03771d8 (git): Fix r66772
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:58 AM Revision e4f46eab (git): Fix make-snapshot for trunk
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:32 AM Bug #15468 (Closed): Net::Protocol::BufferedIO#write raises NoMethodError when sending large multi-byte string
-
01:49 AM Feature #14145: Proposal: Better Method#inspect
- Eregon (Benoit Daloze) wrote:
> ko1 (Koichi Sasada) wrote:
> ...
+1. I'm using `#source_location` like `p method(:foo).source_location` sometimes to know the definition. If "Method#inspect" shows this information, it will help *me*.
... -
01:18 AM Revision bdc36b36 (git): Ensure to terminate the child
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e