Activity
From 01/18/2017 to 01/24/2017
01/24/2017
-
11:23 PM Feature #13153: Inconsistent sprintf formatting for 0 value
- FWIW, this is the exact same behavior in C since we're just calling through to `snprintf` for these format specifiers...
-
11:33 AM Feature #13153 (Open): Inconsistent sprintf formatting for 0 value
- ```ruby
0.upto(5).map { |i| "%#0.2x" % i }
# expect: ["0x00", "0x01", "0x02", "0x03", "0x04", "0x05"]
# actual... -
09:08 PM Feature #13156: In-tree copy of ruby/spec
- Was this discussed in the last developer meeting?
Sorry for making this feature request a bit late.
-
09:05 PM Feature #13156 (Closed): In-tree copy of ruby/spec
- I would like to integrate an in-tree copy of ruby/spec under spec/rubyspec/
(at the same location ruby/spec is curre... -
08:55 PM Feature #13124: Should #puts convert to external encoding?
- Thank you for the reply and pointer.
What do you think of having STDOUT, STDERR and STDIN internal_encoding be set... -
08:43 PM Feature #12957: A more OO way to create lambda Procs
- Actually, it is possible to create a single block of code that can be proc or lambda with #send:
> Kernel.send... -
02:52 PM Revision 54fa9f9e (git): eval.c: copy special exception
- * eval.c (setup_exception): make unfrozen copy of special
exception before setting up a cause.
git-svn-id: svn+ssh... -
01:43 PM Bug #13152: Numeric parsing differences between ruby <-> crystal
- FORTRAN
```
PROGRAM POW
WRITE (*,*) -2**4
STOP
END
```
=> -16 -
01:32 PM Bug #13152: Numeric parsing differences between ruby <-> crystal
- Martin Dürst wrote:
> - What do other languages (in particular languages more well known that Cristal) do?
Lua ... -
01:15 PM Bug #13152: Numeric parsing differences between ruby <-> crystal
- https://www.google.co.jp/search?q=-2**4
> -(2 ** 4) =
> -16 -
10:05 AM Bug #13152: Numeric parsing differences between ruby <-> crystal
- Martin Dürst wrote:
> - What do other languages (in particular languages more well known that Cristal) do?
here i... -
09:23 AM Bug #13152: Numeric parsing differences between ruby <-> crystal
- Martin Dürst wrote:
> - What do other languages (in particular languages more well known that Cristal) do?
Here... -
09:17 AM Bug #13152: Numeric parsing differences between ruby <-> crystal
- Martin Dürst wrote:
> - What do other languages (in particular languages more well known that Cristal) do?
I tr... -
05:26 AM Bug #13152: Numeric parsing differences between ruby <-> crystal
- Martin Dürst wrote:
> - What do other languages (in particular languages more well known that Cristal) do?
Here w... -
05:17 AM Bug #13152 (Rejected): Numeric parsing differences between ruby <-> crystal
- It is intentional.
That unary minus is not considered a part of an integer literal. -
01:08 PM Bug #13155: Segfault testing Pry
- This appears to crash on Travis (Ubuntu) as well:
https://travis-ci.org/pry/pry/jobs/183781286 -
12:53 PM Bug #13155 (Closed): Segfault testing Pry
- Trying to fix Pry on Fedora Rawhide, I get random segfaults. Unfortunately, I can't see any pattern in them. The back...
-
12:11 PM Bug #13154: URI::Generic, == operator, normalize!
- Dmitry Sk wrote:
> But nil scheme actually equivalent to file
Are you sure? I thought a `URI::Generic` object wit... -
11:45 AM Bug #13154 (Rejected): URI::Generic, == operator, normalize!
- This two URI means the same:
```
uri1 = URI::parse '/1/2/3'
uri2 = URI::parse 'file:///1/2/3'
```
but `uri1 == u... -
07:52 AM Revision 7bf450d0 (git): parse.y (parser_yylex): remove wrong warning
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:38 AM Revision e22aa951 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:38 AM Revision 5d438215 (git): Update Rubygems 2.6.10
- * https://github.com/rubygems/rubygems/commit/2ee5bf9fd3bd7649d3e244bc40107ff32070ef47
* https://github.com/rubygems...
01/23/2017
-
11:49 PM Bug #13152 (Feedback): Numeric parsing differences between ruby <-> crystal
- A few questions:
- What is the result if this expression is written as a formula (i.e. with the exponent as a supe... -
07:29 PM Bug #13152: Numeric parsing differences between ruby <-> crystal
I noticed this difference between ruby and crystal when converting a gem.
puts `-2**4` -> -16 (ruby) || 16 (cr...-
07:26 PM Bug #13152 (Rejected): Numeric parsing differences between ruby <-> crystal
- I noticed this difference between ruby and crystal when converting a gem.
```ruby
puts -2**4 -> -16 (ruby) || 1... -
07:41 PM Bug #13150: TestMarshal failures on FreeBSD with gcc7 because of GC
- [email protected] wrote:
> Prevent GC by volatile [Bug #13150]
>
> test/ruby/test_marshal.rb test... -
04:58 PM Bug #13150 (Closed): TestMarshal failures on FreeBSD with gcc7 because of GC
- Applied in changeset r57410.
----------
Prevent GC by volatile [Bug #13150]
test/ruby/test_marshal.rb test_context_... -
04:58 PM Bug #13150 (Closed): TestMarshal failures on FreeBSD with gcc7 because of GC
- ```
1) Failure:
TestMarshal#test_context_switch [/home/naruse/ruby/test/ruby/test_marshal.rb:368]:
[StopIteratio... -
05:46 PM Bug #13151 (Open): File.writable? doesn't report correctly if a directory is writable on Windows.
- I've tried installing a gem per user using a 64 Bit version of Ruby for Windows and recognized that this failed becau...
-
05:02 PM Bug #13147 (Closed): Update documentation for URI#escape
- Applied in changeset r57411.
----------
Fix typo of URI#escape [Bug #13147]
patched by Steve Hill <sghill.dev@gmail... -
05:02 PM Revision 6219b68f (git): Fix typo of URI#escape [Bug #13147]
- patched by Steve Hill <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57411 b2dd03c8-39d4-4... -
04:58 PM Revision 7c1b30a6 (git): Prevent GC by volatile [Bug #13150]
- test/ruby/test_marshal.rb test_context_switch (load) and test_gc (dump)
are failed on FreeBSD 10.3 and gcc7 (FreeBSD ... - 03:47 PM Revision be220c4f (git): * 2017-01-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:47 PM Revision 0c9e2cf2 (git): test/test_tmpdir.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:16 AM Bug #13145 (Closed): Symbol#clone doesn't work correctly
- Applied in changeset r57407.
----------
object.c: no TypeError at Symbol
* object.c (special_object_p): uninterned ... -
06:16 AM Revision 11e6bd5a (git): object.c: no TypeError at Symbol
- * object.c (special_object_p): uninterned Symbol also should not
raise a TypeError but return itself instead, as we... -
05:59 AM Bug #13149 (Closed): Ruby 2.4.0 の CSV の field_size_limit オプションで先読み文字数を制限できない
- Applied in changeset r57406.
----------
csv.rb: fix field_size_limit check
* lib/csv.rb (CSV#shift): the last colum... -
04:27 AM Bug #13149 (Closed): Ruby 2.4.0 の CSV の field_size_limit オプションで先読み文字数を制限できない
- Ruby 2.4.0 から、指定文字数未満で例外が出る事も、指定文字数以上で例外が出ない事もあります。
以下、指定文字数未満で例外が出るケース。
~~~ruby
require 'csv'
CSV.new(DATA... -
05:59 AM Revision 5bb125c6 (git): csv.rb: fix field_size_limit check
- * lib/csv.rb (CSV#shift): the last column is an Array in extended
column since r55985. [ruby-dev:49964] [Bug #1314... -
04:49 AM Revision 9600fb38 (git): error.c: fixed doc [ci skip]
- * error.c (exc_message): fixed doc regarding the presence of
to_str. [Fix GH-1517]
Author: Marc Gauthier <marc... -
04:22 AM Revision 48d48903 (git): configure-ext.mk.tmpl: embed macros
- * template/configure-ext.mk.tmpl: embed MINIRUBY and SCRIPT_ARGS
to get rid of quoting problems of nmake.
git-svn-... -
03:51 AM Revision f41b7517 (git): Fix for nmake
- * common.mk (EXT_MK): use double-quotes and remove SCRIPT_ARGS
which contains both types of quotes.
* template/con... -
03:43 AM Revision abb8fc1b (git): configure-ext.mk.tmpl: FORCE
- * template/configure-ext.mk.tmpl (FORCE): add missing target for
BSD make.
git-svn-id: svn+ssh://ci.ruby-lang.org/... -
02:50 AM Revision 17b748df (git): Parallel ext configuration
- * ext/configure-ext.mk: configure each directories underneath ext
in parallel.
* template/exts.mk.tmpl: then colle... - 02:47 AM Revision ee9f6fdf (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:47 AM Revision 80040c16 (git): improve C0 coverage of insns.def from 65.9% to 96.1%
- While I was developing my private topic branch I found that the VM
itself is not tested very much in `make test` test... -
02:19 AM Revision ea87854c (git): extinit.c.tmpl: drop after dot
- * template/extinit.c.tmpl: drop rest from the first dot in the
base name of a feature is ignored since r30464.
git... - 02:18 AM Revision 7c30524b (git): * 2017-01-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:18 AM Revision eb411fad (git): extmk.rb: EXTINITS to sub make
- * ext/extmk.rb: pass EXTINITS to sub make. if the template for
extinit.c is modified after extinit.c got compiled,...
01/22/2017
-
09:31 PM Bug #13146: Float::NANs in Hashes are confusing (more than usual).
- Robert A. Heiler wrote:
> To me I guess the surprise is that NAN in itself should be unique?
NaN is defined by ... -
08:56 PM Bug #13146: Float::NANs in Hashes are confusing (more than usual).
- This is actually interesting altogether.
First that Float::NAN becomes NaN in the display; this is the first surpr... -
03:46 PM Bug #13146 (Rejected): Float::NANs in Hashes are confusing (more than usual).
- ```ruby
test = {Float::NAN => 1, -Float::NAN => 2}
=> {NaN=>1, NaN=>2}
test.values_at(Float::NAN, -Float::NAN)
... -
09:23 PM Bug #13148 (Closed): [DOC] Small doc fix for Hash#dig and Struct#dig
- Use the correct parameter name in the method description.
-
06:50 PM Feature #6284: Add composition for procs
- fyi: Composing procs is way faster now. It beats all other algorithms in Paul's benchmark on ruby 2.3.3:
~~~
Wa... -
05:44 PM Bug #13147 (Closed): Update documentation for URI#escape
- URI#escape documentation references URI.www_form_encode and URI.www_form_encode_component, but neither method exists....
-
12:50 PM Revision 78b95b49 (git): template/extinit.c.tmpl
- * template/extinit.c.tmpl: separate from ext/extmk.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57395 b2dd0... -
08:04 AM Revision 709a60f9 (git): Makefile.sub: refine distclean-ext
- * win32/Makefile.sub (distclean-ext, realclean-ext): remove
extinit.c and suppress error message when failed to rem... -
07:08 AM Bug #13145 (Closed): Symbol#clone doesn't work correctly
- Ruby 2.4.0 has a bug that `Symbol` converted from `String` at first cannot be cloned:
~~~ ruby
user@mypc ~$ irb
... -
04:14 AM Revision 75dbfa13 (git): NEWS for SecureRandom's random source [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:02 AM Revision e80ae20c (git): NEWS for SipHash13 [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:20 AM Feature #12508 (Assigned): Integer#mod_pow
-
03:19 AM Bug #13127 (Closed): DRb `load': connection closed (DRb::DRbConnError) when client exit's from within a loop iterating over remote objects
- what's happen?
~~~
# S: drb_server_test.rb
# C: drb_client_test.rb
# (1) C send :each_with_index, &block t... - 03:06 AM Revision 8115e24a (git): * 2017-01-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:06 AM Revision 9985b759 (git): Hash#fetch: fix grammar in documentation.
- [Fix GH-1515][ci skip]
Author: Alyssa Ross <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/... -
03:02 AM Bug #13141 (Assigned): Spurious Net::FTPReplyError
- Could you send us the debug output setting Net::FTP#debug_mode to true?
```
Net::FTP.open(SITE) do |ftp|
ftp.d... -
02:57 AM Feature #13129: Refinements cannot refine method_missing and respond_to_missing?
- Akira Matsuda wrote:
> Refinements with method_missing and respond_to_missing? behaves very strangely.
>
> ```rub... -
01:57 AM Bug #13144: prettyprint doesn't detect cycles when wrapped inside Delegators
- Pull request with my fix and new test case: https://github.com/ruby/ruby/pull/1518
-
01:49 AM Bug #13144 (Closed): prettyprint doesn't detect cycles when wrapped inside Delegators
- The line count of the pretty print output for the following class grows factorially with the number of self-referenci...
01/21/2017
-
09:33 PM Bug #13142 (Closed): Forwardable regression: cannot delegate to a constant since 2.4.0
- Before this commit
https://github.com/ch1c0t/tra/commit/96b15f042183f488413db99d6ede304d20503cbd
it works just ... -
06:36 PM Feature #13137: Hash Shorthand
- My apologies – I searched extensively and did not find the previous feature request. Thank you for the consideration.
-
12:21 PM Revision 562bbdf9 (git): lib/tempfile.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:24 AM Feature #13125: MRI has too much Qtrue : Qfalse;
- Someone suggested `RB_BOOL` at the meeting.
-
05:54 AM Feature #13125: MRI has too much Qtrue : Qfalse;
- Seem to me like `VALUE2BOOL`, except perhaps for the way it casts Qnil to Qtrue
- 06:17 AM Revision e81ed936 (git): * 2017-01-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:17 AM Revision ca3fe508 (git): Makefile.in: clean ruby-runner [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/20/2017
-
05:11 PM Bug #13141 (Third Party's Issue): Spurious Net::FTPReplyError
- I have a script that downloads many files via FTP. `ftp.getbinaryfile` occasionally fails (about 7 times while downlo...
-
05:11 PM Feature #12180: switch id_table.c variant
- Oh, to reduce hash size either max serial_id should be 0x7fffffff instead of 0xffffffff
(cause 1 bit is stolen for c... -
03:46 PM Feature #12180: switch id_table.c variant
- Excuse me for not reacting on discussion.
I forgot to turn on mail notifications for this issue.
> can you make a... -
03:17 AM Feature #12180: switch id_table.c variant
- We looked at this issue in yesterday's developer meeting.
(As ko1 measured before,) we confirmed that ffalcon's im... -
04:15 PM Bug #9285 (Rejected): Exception message of Errno::ENOENT contains strings @ rb_sysopen and @ dir_initialize in Ruby 2.1
- Through the experience in this three years, this error message sometimes help us to debug.
It is useful and kept as is. -
03:23 PM Bug #9285: Exception message of Errno::ENOENT contains strings @ rb_sysopen and @ dir_initialize in Ruby 2.1
- Is this worth of keeping open? It does not look it will be reverted. And seeing "temporary" workarounds such as [1] d...
-
03:04 PM Feature #13125: MRI has too much Qtrue : Qfalse;
- How about `BOOL2RBOOL`?
-
02:11 PM Feature #13125: MRI has too much Qtrue : Qfalse;
- > "reverse" of RTEST()
How about ...
- CTEST()
- TEST2BOOL()
- C2BOOL()
Hope those help brainstorm a bi... -
04:37 AM Feature #13125: MRI has too much Qtrue : Qfalse;
- We looked at this issue at yesterday's developer meeting. Nobody was against introducing a macro. No consensus over...
-
01:33 PM Revision 121984da (git): Remove deprecated rbconfig/datadir
- This is deleted at
https://github.com/rubygems/rubygems/commit/0e3c2c1f04182990c4c7a0aa53435ad8427342fd
in upstream.
... -
12:26 PM Feature #13110: Byte-based operations for String
- > The "buffer gap" technique is very well known, I'm familiar with it since the early 90ies. I was thinking about it,...
-
10:21 AM Feature #13110: Byte-based operations for String
- Benoit Daloze wrote:
> Shugo Maeda wrote:
> > UTF-32 is not useful because it's a dummy encoding.
>
> What ab... -
11:16 AM Misc #13072: Current state of date standard library
- > Time is kept in core
> date library will be separeted from Ruby repository (stdlib) to date.gem.
What problems ... -
10:36 AM Misc #13072: Current state of date standard library
- Victor Shepelev wrote:
> The facts that I've been able to gather (not supported by links, so please forgive me if I ... -
10:59 AM Revision ef31fedd (git): extmk.rb: ignore generated sources
- * ext/extmk.rb (extract_makefile): ignore generated source files
not to reconfigure when in-place build.
git-svn-i... -
10:10 AM Feature #12962: Feature Proposal: Extend 'protected' to support module friendship
- The use of `:nodoc:` for these situations it is not a valid option in my opinion.
The reason being because `Object#p... -
09:54 AM Feature #12962: Feature Proposal: Extend 'protected' to support module friendship
- My proposal of [Internal intefaces](https://bugs.ruby-lang.org/issues/9992) comes in line with this proposal.
I woul... -
03:29 AM Feature #12962: Feature Proposal: Extend 'protected' to support module friendship
- We looked at this issue yesterday at developers meeting.
While I understand the needs to distinguish official API ... -
09:47 AM Feature #9992: Access Modifiers (Internal Interfaces)
- Matthew Draper presented a feature request to [extended 'protected' access modifier](https://bugs.ruby-lang.org/issue...
-
08:19 AM Feature #12969: Allow optional parameter in String#strip and related
- Yukihiro Matsumoto wrote:
> Removing pattern may not be set of single character, or may be complex.
> Considering t... -
08:00 AM Bug #9569 (Closed): SecureRandom should try /dev/urandom first
- Applied in changeset r57384.
----------
SecureRandom should try /dev/urandom first [Bug #9569]
* random.c (InitVM_... -
08:00 AM Revision abae70d6 (git): SecureRandom should try /dev/urandom first [Bug #9569]
- * random.c (InitVM_Random): rename Random.raw_seed to
Random.urandom. A quick search seems there are no pr... -
07:50 AM Feature #12745: String#(g)sub(!) should pass a MatchData to the block, not a String
- Herwin W wrote:
> Regarding `String#gsb` and `String#sb`: It is far from clear what the difference between `#sub` an... -
07:45 AM Revision e95eb958 (git): Keep -jN option
- * {cygwin,template}/GNUmakefile.in (MFLAGS, MAKEFLAGS): keep -jN
option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
06:01 AM Feature #13017 (Closed): Switch SipHash from SipHash24 to SipHash13
- Applied in changeset r57382.
----------
switch SipHash from SipHash24 to SipHash13 variant
SipHash13 is secure enou... -
06:01 AM Revision 04c94f95 (git): switch SipHash from SipHash24 to SipHash13 variant
- SipHash13 is secure enough to be used in hash-tables,
and SipHash's author confirms that.
Rust already considered swi... -
05:34 AM Bug #13140 (Rejected): unmatched parenthesis error on regexp with "x" option when all parens are matched
- http://ruby-doc.org/core-2.4.0/doc/regexp_rdoc.html#label-Free-Spacing+Mode+and+Comments
-
05:08 AM Bug #13140: unmatched parenthesis error on regexp with "x" option when all parens are matched
- Realized the problem.
The error is caused because the x option also ignores text after # and two # appear in the reg... -
04:42 AM Bug #13140 (Rejected): unmatched parenthesis error on regexp with "x" option when all parens are matched
- See the attached source file.
When the attached file is executed as is, the following error is emitted:
test.r... -
05:24 AM Bug #13104: mathn.rb affects Rational literals
- Just "don't use math"?
-
04:26 AM Bug #13104: mathn.rb affects Rational literals
- We looked at this issue at yesterday's developer meeting.
The intension was not made clear, but we confirmed that ... -
05:14 AM Bug #13079 (Feedback): linked list corruption (probable race condition)
- I'm not sure correctly, but you may violate something MRI requires.
Currently, I can't understand anything.
If you ... -
04:41 AM Feature #11925: Struct construction with kwargs
- Another idea is introducing another method to define own struct, such as `T = Struct.define(:a, :b); T.new(a: 1, b: 2...
-
04:28 AM Bug #13139 (Closed): bug in the Ruby interpreter or extension for new AIX VM chef-client run.
- Good to hear the problem disappeared.
-
03:10 AM Bug #13139: bug in the Ruby interpreter or extension for new AIX VM chef-client run.
- This problem goes away either after waiting for a while and retrying... or by forcing the upload of the missing cookb...
-
04:27 AM Revision f81c1c24 (git): compile.c: optimization of defined? in condition
- * compile.c (compile_branch_condition): trivial optimization of
defined? expression in a branch condition, where a ... -
04:22 AM Bug #13064: Inconsistent behavior with `next` inside `begin`/`end` across different implementations.
- We looked at this issue at yesterday's developer meeting.
While Ko1 and Matz already replied that the current MRI ... -
04:01 AM Feature #13048: Better way to do Regexp.new(Regexp.escape("some string"))
- We looked at this issue at yesterday's developer meeting.
While looking at "Regexp.new Regexp.escape" search resul... -
03:41 AM Feature #13016 (Rejected): String#gsub(hash)
- We looked at this issue in yesterday's developer meeting.
While I claimed the use of regular expression is an impl... -
03:33 AM Feature #12967: Add a default for RUBY_GC_HEAP_GROWTH_MAX_SLOTS out-of-the-box
- We looked at this issue at yesterday's developer meeting.
Ko1 said he was not sure if the proposed default value i... -
03:23 AM Misc #12935: Webrick: Update HTTP Status codes, share them
- We looked at this issue at yesterday's developer meeting and decided to let naruse (who was there) handle this issue.
-
02:39 AM Bug #13136 (Closed): large_array.sample(11)が遅い
- Applied in changeset r57380.
----------
array.c: improve Array#sample
* array.c (rb_ary_sample): improve performanc... -
12:59 AM Bug #13136: large_array.sample(11)が遅い
- 別案としてhashの代わりに配列で覚えておくという方法もありますが、元の配列に比例した作業領域を使うのでそのコストが高いかもしれません。
```diff
diff --git a/array.c b/array.c
inde... -
02:39 AM Revision 2de1dbdf (git): array.c: improve Array#sample
- * array.c (rb_ary_sample): improve performance when many samples
from a large array. based on the patch by tomoya ... -
02:27 AM Revision 8f76ad37 (git): benchmarks for Bug#13136
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:27 AM Feature #13137: Hash Shorthand
- While I understand the primary reasoning behind it - less to type - I do not like the syntax proposal.
To me it lo... - 01:02 AM Revision dfac1f5a (git): * 2017-01-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:02 AM Revision 1d4976c0 (git): error.c: print default RS
- * error.c (rb_warn_m): print the default RS instead of an empty
string with a newline. [Feature #12944]
git-svn-i...
01/19/2017
-
08:50 PM Bug #13139: bug in the Ruby interpreter or extension for new AIX VM chef-client run.
- Sorry, same error is obtained even if I put the correct recipe specification...
-
08:17 PM Bug #13139 (Closed): bug in the Ruby interpreter or extension for new AIX VM chef-client run.
- installed the Chef-client on a new AIX VM.
Ran a bootstrap from windows SDK
PS C:\Users\Administrator\chef-repo>... -
07:43 PM Feature #12745: String#(g)sub(!) should pass a MatchData to the block, not a String
- Regarding `String#gsb` and `String#sb`: It is far from clear what the difference between `#sub` and `#sb` is just by ...
-
09:22 AM Feature #12745: String#(g)sub(!) should pass a MatchData to the block, not a String
- How about String#gsb and String#sb ?
- gsb and sb are shorter and gsub and sub.
- gsb and sb is readable as g-sub... -
03:27 PM Bug #13136: large_array.sample(11)が遅い
- ありがとうございます
patch修正しました。
RAND_UPTOで例外が起きる対策でst_free_tableをrb_ensureに
RAND_UPTO中に配列のサイズが変わる対策としてRAND_UPTOをあらかじめ呼んだ... -
01:42 AM Bug #13136: large_array.sample(11)が遅い
- 方針はいいと思います。
`RAND_UPTO()`は`rand`オブジェクトのメソッドを呼ぶ場合例外が起きる可能性があるので、`st_free_table(table)`を`rb_ensure`にするとか、`RARRAY_PTR_U... -
02:40 PM Bug #13111 (Closed): Degraded performance for delegated methods through Forwardable module
- Let me close (closed issues are inspected by branch mentors to backport-ability). I guess this is a subject to backp...
-
11:11 AM Feature #8158: lightweight structure for loaded features index
- Matz,
I don't know English enough to clearly understand your suggestion.
Is it suggestion of commit rights?
If... -
05:48 AM Feature #8158: lightweight structure for loaded features index
- The patch seems OK now. @funny_falcon do you want to check in by yourself?
Matz. -
10:02 AM Bug #9569: SecureRandom should try /dev/urandom first
- Bart de Water wrote:
> Akira Tanaka wrote:
> > Please update the man page first, if it is really out-dated.
>
> ... -
09:55 AM Feature #12906 (Closed): do/end blocks work with ensure/rescue/else
- Applied in changeset r57376.
----------
parse.y: rescue/else/ensure in do-end
* parse.y (do_body): allow rescue/els... -
08:27 AM Feature #12906: do/end blocks work with ensure/rescue/else
- Although I am not a big fan of this syntax, mostly because I don't like fine grain exception handling.
But I found o... -
09:54 AM Revision 0ec889d7 (git): parse.y: rescue/else/ensure in do-end
- * parse.y (do_body): allow rescue/else/ensure inside do/end
blocks. [Feature #12906]
git-svn-id: svn+ssh://ci.rub... -
09:35 AM Bug #13127 (Assigned): DRb `load': connection closed (DRb::DRbConnError) when client exit's from within a loop iterating over remote objects
-
09:35 AM Feature #13016 (Feedback): String#gsub(hash)
-
09:34 AM Feature #13016: String#gsub(hash)
- Ruby has enough feature to implement String#hsub as Martin-sensei said.
However the performance of String#hsub is ... -
09:34 AM Revision f34d0ba3 (git): More description about the protected attribute of a method
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:27 AM Feature #12969: Allow optional parameter in String#strip and related
- In the Unicode age the list of character is more and more complex.
Using a string as a list of characters is not a g... -
08:51 AM Feature #12969: Allow optional parameter in String#strip and related
- Removing pattern may not be set of single character, or may be complex.
Considering that, using regular expression i... -
09:22 AM Feature #13067 (Closed): TrueClass,FalseClass to provide `===` to match truthy/falsy values.
- Compatibility issue was bigger than I expected. I withdraw this proposal.
Matz.
-
09:09 AM Bug #8241 (Closed): If uri host-part has underscore ( '_' ), 'URI#parse' raise 'URI::InvalidURIError'
- URI is upgraded into RFC 3986 at Ruby 2.2.
-
09:00 AM Feature #12957: A more OO way to create lambda Procs
- The code above does not return a MyLamnda instance.
Matz. -
08:40 AM Feature #12957 (Feedback): A more OO way to create lambda Procs
- It is not impossible to generate MyLambda.new {} as lambda.
```
% ruby -e '
class MyLambda
end
class << MyLamb... -
08:20 AM Misc #12935 (Assigned): Webrick: Update HTTP Status codes, share them
-
08:17 AM Feature #12929: ternary should look ahead w/in a block (and not care about newlines)
- I don't think it's worth modifying the syntax. If you want to write complex conditional code, use if-statement.
Matz. -
08:14 AM Feature #12929: ternary should look ahead w/in a block (and not care about newlines)
- https://github.com/ruby/ruby/compare/trunk...nobu:feature/12929-ternary
-
08:13 AM Bug #13135 (Closed): Regexp.last_match returns nil with s.rindex(//)
- Applied in changeset r57374.
----------
string.c: rindex(//) should set $~.
This seems a bug introduced by r520 (1.... -
08:13 AM Revision d33726b8 (git): string.c: rindex(//) should set $~.
- This seems a bug introduced by r520 (1.4.0). [ruby-core:79110] [Bug #13135]
git-svn-id: svn+ssh://ci.ruby-lang.org/... -
07:57 AM Bug #12998 (Closed): paragraph mode inconsistency between `IO#each_line` and `String#each_line`
-
07:56 AM Bug #13064: Inconsistent behavior with `next` inside `begin`/`end` across different implementations.
- mruby will be compatible with YARV soon.
Matz. -
07:44 AM Bug #13064: Inconsistent behavior with `next` inside `begin`/`end` across different implementations.
- 1!
-
07:48 AM Bug #13138 (Closed): Rounding bug
-
07:46 AM Bug #13138: Rounding bug
- Fixed by r55604 in the trunk.
```diff
diff --git i/numeric.c w/numeric.c
index 46f112349f..9ff68f25c9 100644
--... -
06:38 AM Bug #13138 (Closed): Rounding bug
- 31.175.round(2) = 31.18
32.175.round(2) = 32.17 (I expect 32.18)
-
07:22 AM Feature #12931 (Rejected): Add support for Binding#instance_eval
-
07:21 AM Feature #12931: Add support for Binding#instance_eval
- Correct, there is no way to reuse the compiled proc.
-
07:18 AM Feature #12912 (Feedback): An endless range `(1..)`
- I think Integer#step and Array#drop is enough for many situations.
I agree these methods are not so intuitive.
Bu... -
07:18 AM Feature #12933 (Closed): Add Some and Optional
- I think it should be implemented in gem (at least for the beginning).
After the gen got popular, we can consider mak... -
07:18 AM Feature #12926 (Closed): -l flag for line end processing should use chomp! instead of chop!
- Applied in changeset r57373.
----------
parse.y: chomp by -l
* parse.y (rb_parser_while_loop): should chomp but not... -
06:57 AM Feature #12926: -l flag for line end processing should use chomp! instead of chop!
- OK, accepted
This is because `-l` is older than `chomp`.
Matz. -
07:18 AM Revision af9a151f (git): parse.y: chomp by -l
- * parse.y (rb_parser_while_loop): should chomp but not chop by -l
option. [ruby-core:78099] [Bug #12926]
git-svn-... -
07:07 AM Revision 18a315df (git): Fix documentation of options for all of methods in FileUtils.
- Patch by galia traub( @galiat ). [Fix GH-1510][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57372 b2dd... -
07:03 AM Feature #12901: Anonymous functions without scope lookup overhead
- The original idea changes the semantics of the language by keyword argument. I don't think that's a good idea.
Some ... -
06:56 AM Feature #13124: Should #puts convert to external encoding?
- On current Ruby, IO converts given string only if the IO object is set internal_encoding.
Therefore the behavior is ... -
06:39 AM Revision c59e739b (git): ENV#fetch: fix documentation of raised exception
- [Fix GH-1514]
Author: Misty De Meo <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5737... -
06:25 AM Feature #12944 (Closed): Change Kernel#warn to call Warning.warn
- Applied in changeset r57370.
----------
Change Kernel#warn to call Warning.warn
This allows Warning.warn to filter/... -
05:31 AM Feature #12944: Change Kernel#warn to call Warning.warn
- Go ahead. I want to check compatibility issues early.
Matz. -
06:25 AM Revision 50db992a (git): Change Kernel#warn to call Warning.warn
- This allows Warning.warn to filter/process warning messages
generated by Kernel#warn. Currently, Warning.warn can on... -
06:12 AM Feature #5481: Gemifying Ruby standard library
- Go ahead and keep gemifying libraries discussing with their maintainer.
Matz. -
05:54 AM Feature #12854: Proc#curry should return an instance of the class, not Proc
- Chad, is this issue what you really want? Or you want new methods like #trans and #lens?
If you still want to make #... -
05:41 AM Feature #13017 (Open): Switch SipHash from SipHash24 to SipHash13
- We are sure now by information provided by @funny_falcon. Thank you.
Go ahead and merge the patch.
Matz. -
05:40 AM Feature #13017 (Assigned): Switch SipHash from SipHash24 to SipHash13
-
05:27 AM Feature #12180 (Assigned): switch id_table.c variant
-
05:24 AM Revision 00ed779c (git): id_table.c: fix typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:45 AM Bug #12613: iseq_set_sequence: adjust bug -1 < 0 (retry inside begin/rescue)
- r57368 would be better, to backport at least.
-
03:42 AM Revision d6fc7d43 (git): compile.c: check err_info
- * compile.c (iseq_setup): bail out if any errors found.
[ruby-core:76531] [Bug #12613]
git-svn-id: svn+ssh://ci.ru... -
02:27 AM Feature #12733 (Assigned): Bundle bundler to ruby core
-
02:08 AM Bug #13113: Performance issue, const_set Module.new is too slow in Ruby 2.4
- On 2017/01/19 10:47, Nobuyoshi Nakada wrote:
>> (1) ann_ って何?
>
> ANoNymous
わかんねーです。
せめてコメントとか。
>> (2) Mo... -
01:51 AM Bug #13113: Performance issue, const_set Module.new is too slow in Ruby 2.4
- On 2017/01/19 10:40, SASADA Koichi wrote:
> 中田さん:
>
> (1) ann_ って何?
ANoNymous
> (2) Module.new.const_set(:... -
01:42 AM Bug #13113: Performance issue, const_set Module.new is too slow in Ruby 2.4
- 中田さん:
(1) ann_ って何?
(2) Module.new.const_set(:X, Module.new) だと、
Module.new が支配的だと思うんだけど、何が計りたいの?
On 2017/... -
01:38 AM Revision 6dccc533 (git): parse.y: warn space
- * parse.y (parser_yylex): warn parentheses after space.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57367 b2dd...
01/18/2017
-
09:11 PM Feature #13137 (Rejected): Hash Shorthand
- The ES6 update to Javascript added object shorthand. I propose that a similar hash shorthand be added to Ruby.
###... - 06:23 PM Revision f850b295 (git): * 2017-01-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:23 PM Revision bb8f5b23 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:23 PM Revision e7bd5b88 (git): another benchmark for IO.copy_stream socket writing
- For testing Linux socket-only workaround for
https://bugs.ruby-lang.org/issues/13085
git-svn-id: svn+ssh://ci.ruby-l... -
01:25 PM Bug #13136 (Closed): large_array.sample(11)が遅い
- Array#sampleのパフォーマンスを改善したい
```ruby
require 'benchmark'
arr = 100000.times.to_a;
Benchmark.measure{100000.times{... -
12:35 PM Revision e527695d (git): lib/profiler.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:30 PM Bug #13115 (Assigned): `YAML.dump` outputs deperecated message even with delegated object
- Psych warns if `to_yaml` method is defined by other than psych itself, and delegated methods are defined in `delegate...
-
10:58 AM Feature #13129 (Assigned): Refinements cannot refine method_missing and respond_to_missing?
-
10:42 AM Bug #13134: Rational() inconsistency
- Floating-point numbers in String are exact, Float literal are inexact by nature.
So I would not expect any relation ... -
05:24 AM Bug #13134: Rational() inconsistency
- > The imprecision that can come with float denominators is why this behavior should not be allowed.
Note there alr... -
12:48 AM Bug #13134: Rational() inconsistency
- I don't think `Rational("3.1/2.0")` should introduce imprecision because the argument string has nothing to do with i...
-
09:15 AM Bug #13107: def_delegators causes random errors in MRI 2.4.0
- And I can confirm that also rack-test test suite is passing with this patch [1].
[1] https://apps.fedoraproject.... -
09:13 AM Bug #13107: def_delegators causes random errors in MRI 2.4.0
- Just FTR, this is causing failures in Mongo gem test suite [1]. Applying this patch fixed the issues.
[1] https:... -
06:51 AM Bug #10687 (Closed): ArgumentError in certain cases of instance_exec (new bug in 2.2)
-
06:30 AM Bug #12177 (Closed): Using `if:` as symbol in hash with new hash syntax in irb console is not working
-
06:18 AM Bug #12276 (Closed): Quoting error involving '$' characters in DT_RPATH pathnames
- Quote by single quotes.
```
$ LDFLAGS=" -Wl,-rpath='\$\$ORIGIN/../lib' " ./configure
$ make
$ readelf -d ruby... -
05:57 AM Bug #13135: Regexp.last_match returns nil with s.rindex(//)
- Shugo Maeda wrote:
> Regexp.last_match returns nil, if // is given to String#rindex:
The following patch seems to... -
02:53 AM Bug #13135 (Closed): Regexp.last_match returns nil with s.rindex(//)
- Regexp.last_match returns nil, if // is given to String#rindex:
```
lexington:ruby$ ruby -ve 'p "foo".rindex(//);... -
05:49 AM Bug #11964 (Closed): __callee__ in aliased methods defined in a module returns an incorrect value
- Seems fixed by r56592.
-
05:49 AM Bug #12058 (Closed): Unexpected value of __callee__ when including a module
- Seems fixed by r56592.
-
05:23 AM Bug #13096 (Closed): error using undef_method + refinements
- Applied in changeset r57362.
----------
vm_method.c: resolve refined method to undef
* vm_method.c (rb_undef): reso... -
05:23 AM Revision b38823ce (git): vm_method.c: resolve refined method to undef
- * vm_method.c (rb_undef): resolve the method entry which refines a
prepended method entry. [ruby-core:78944] [Bug ... -
03:47 AM Feature #12387 (Assigned): ripper: new parser event for kwrest parameter
- Seems OK.
-
03:38 AM Bug #12884 (Closed): Using a HashWithIndifferentAccess with a default value in a function with a keyword parameter converts it to a Hash.
- Applied in changeset r57360.
----------
class.c: non-keyword hash class
* class.c (rb_extract_keywords): keep the c... - 03:38 AM Revision 54a77d20 (git): * 2017-01-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:38 AM Revision 13dffd8a (git): class.c: non-keyword hash class
- * class.c (rb_extract_keywords): keep the class of non-keyword
elements hash as the original. [ruby-core:77813] [B...
Also available in: Atom