Activity
From 03/29/2017 to 04/04/2017
04/04/2017
-
11:49 PM Bug #13401 (Third Party's Issue): OpenSSL::SSL::SSLSocket :hostname= accessor removed
- Hello. I've found a small issue, but it is important for security.
Some websites will force you to use SNI. For example "httpbin.org".
~~~ text
openssl s_client -connect httpbin.org:443
~~~
> tlsv1 alert internal error
~~~ te... - 11:42 PM Revision e550fa94 (git): * 2017-04-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:42 PM Revision 6b43aa5f (git): parse.y: use idGE for tGEQ
- * parse.y (arg): use ID directly for '>=' operator, without
TOKEN2ID macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:41 PM Feature #13395: Add a method to check for not nil
- > ```ruby
> ...
```ruby
unless object.nil?
# Do something
end
``` -
05:57 PM Feature #13395: Add a method to check for not nil
- What about as a condition for if statements? For example:
Case 1
~~~ ruby
if !object.nil?
# Do something
end
~~~
Case 2
~~~ ruby
if object
# Do something
end
~~~
Case 3
~~~ ruby
if object.not_nil?
# Do s... -
10:55 PM Feature #13263: Add companion integer nth-root method to recent Integer#isqrt
- FYI
Looking at the GNU Multiple Precision Arithmetic Library I see it has functions for
arbitrary size integer squareroot and nth-roots.
Doesn't Ruby already use this library?
Have they been considered/tested in Ruby? Are they be... -
06:08 PM Feature #13396: Net::HTTP has no write timeout
- [email protected] wrote:
> Issue #13396 has been updated by byroot (Jean Boussier).
>
>
> I submitted a pull request to solve this issue: https://github.com/ruby/ruby/pull/1575
Thanks, I think having a write timeout for N... -
09:44 AM Feature #13396: Net::HTTP has no write timeout
- I submitted a pull request to solve this issue: https://github.com/ruby/ruby/pull/1575
-
03:04 PM Bug #13400 (Rejected): mcontext struct has differently-named members in OS X 10.4
- Ruby supports macOS which are still maintained by Apple.
-
01:39 PM Bug #13400: mcontext struct has differently-named members in OS X 10.4
- OS X 10.4 has been outdated long ago.
I'm not positive to keep supporting such old OSs. -
11:52 AM Bug #13400 (Rejected): mcontext struct has differently-named members in OS X 10.4
- The `mcontext` struct, used by Ruby in `signal.c` and `vm_dump.c`, has a different structure in OS X 10.4 than it does in later versions.
In OS X 10.5 and later, its members' names all start with a double underscore (`__`); in 10.4, t... -
02:19 PM Revision e3178136 (git): parse.y: share with ripper
- * parse.y (rb_parser_trace_lex_state, rb_parser_show_bitstack):
share with ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:13 PM Revision 3672fc84 (git): parse.y: flush debug buffer
- * parse.y (rb_parser_trace_lex_state, rb_parser_show_bitstack):
flush debug buffer before traces of lex_state and bitstack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:32 PM Bug #13399 (Assigned): IPAddr accepts invalid address mask
- After fixing it, I found that `drb/acl` depends on this behavior.
```diff
diff --git a/lib/ipaddr.rb b/lib/ipaddr.rb
index 6f70ebf773..4f87738be1 100644
--- a/lib/ipaddr.rb
+++ b/lib/ipaddr.rb
@@ -422,6 +422,10 @@
rai... -
09:31 AM Bug #13399 (Closed): IPAddr accepts invalid address mask
- API Class `IPAddr` can be initialised with e.g. '1.2.3.4/255.255.255.1', which is an invalid mask for an IPv4 address, however, `IPAddr.new` won't throw `ArgumentError`, nor `ip.ipv4?` will return `false`.
```ruby
$ cat iptest.rb
re... -
12:54 PM Revision 70ae0d2a (git): Refactored using Method#owner.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:37 AM Feature #12695: File.expand_path should resolve ~/ using /etc/passwd when HOME is not set
- This is a new feature of 2.4.
-
10:56 AM Bug #11430 (Feedback): Redefining a lazy-loaded variable in child context within RSpec spec causes crash
-
09:22 AM Bug #13375 (Feedback): msfconsole up to date not work with ruby installer rvm version 2.3.3 2.4.0 2.4.1 correctly ruby kali rolling
- Thank you for a detailed report. From your report it seems to me that the problematic part starts from machine address [0x7f1b837bd71c], which is inside of pg_ext.so.
```
7f1b837b5000-7f1b837de000 r-xp 00000000 08:01 21496842 /home/... -
01:43 AM Misc #13329 (Closed): Creating a German ruby mailinglist on ruby-lang.org?
- I created German mailing list and added initial moderators to it list provided by Quintus.
04/03/2017
-
10:58 PM Bug #13398 (Closed): segfault: Thread.new(foo, &:bar)
- Already fixed bug, try 2.4.1.
-
08:54 PM Bug #13398 (Rejected): segfault: Thread.new(foo, &:bar)
- This works:
~~~
⤑ ruby -ve "p Thread.new('abc'){|s| s.reverse}.value" ~/C/opal
ruby 2.4.0p0 (2016-12-24 r... -
08:10 PM Bug #13397: #object_id should not be signed
- Ok, you want to prevent Bignums, but what is the suggested solution here? Do some pack("l").unpack("L") to get the expected value? Or you can provide object_hexid [ [1] ]. Or provide some %p equivalent formatter?
Because I am afraid t... -
02:24 PM Bug #13397: #object_id should not be signed
- It's not to make `object_id`s Bignum as possible.
-
01:00 PM Bug #13397 (Closed): #object_id should not be signed
- It is surprising that #object_id returns signed value. Let me explain show two examples. Working with 32b Ruby (ruby 2.4.0p0 (2016-12-24 revision 57164) [i386-linux]) to make this issue more apparent.
~~~
$ ruby << \EOR
GC.disable
... -
07:23 PM Revision 5f22cfcc (git): improve docs for #truncate, #floor, and #ceil methods
- * numeric.c: [DOC] improve and harmonize documentation
for {Float,Integer,Numeric}#{truncate,floor,ceil}.
* rational.c: [DOC] ditto for Rational#{truncate,floor,ceil}.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58244 b2dd03c8-3... - 07:19 PM Revision d9e1cfe2 (git): * 2017-04-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:19 PM Revision c76aac30 (git): improve docs for #round methods
- * numeric.c: [DOC] improve and harmonize documentation
for {Float,Integer,Numeric}#round.
* rational.c: [DOC] ditto for Rational#round.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:52 PM Feature #9999: Type Annotations (Static Type Checking)
- RDL is interesting, I wonder what the runtime overhead is like?
Another source of inspiration could be Facebook's Flow (https://flow.org/en/docs/getting-started/) for JS. In that case it's build-time type checking, mostly inferred, wi... -
02:28 PM Feature #13395: Add a method to check for not nil
- Thank you for the correction.
-
02:19 PM Feature #13395: Add a method to check for not nil
- nobu (Nobuyoshi Nakada) wrote:
> Hanmac (Hans Mackowiak) wrote:
> ...
are you sure? i am currently on ruby 2.3.3 Windows
~~~ ruby
[1, "bc", nil].count #=> 3
[1, "bc", nil].count(&:itself) #=> 2
~~~
-
12:45 PM Feature #13395: Add a method to check for not nil
- Hanmac (Hans Mackowiak) wrote:
> ~~~ ruby
> ...
IIRC, it equals to simple `array.count`. -
07:52 AM Feature #13395: Add a method to check for not nil
- ~~~ ruby
array.count(&:itself)
~~~
does work for something **similar** like that.
its not 100% what you might want, because it does ignore `false` too -
01:54 AM Feature #13395: Add a method to check for not nil
- Any ideas about the name?
-
01:25 AM Feature #13395: Add a method to check for not nil
- Many methods that take a block come in positive-negative pairs, unlike `count`. I am not sure how frequent the use case is, but if it is, I rather claim that there should be a negative version of `count`.
-
12:44 PM Bug #13277: Ruby 2.4.0 gem server 2.6.8
- Verified as fixed in [oneclick / rubyinstaller #21](https://github.com/oneclick/rubyinstaller2/issues/21#issuecomment-291074326). Please close.
-
12:30 PM Revision b16f9112 (git): Fix arguments order of IO#pwrite
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:32 AM Feature #13396 (Closed): Net::HTTP has no write timeout
- When sending a large request to an unresponsive server, `Net::HTTP` can hang pretty much forever.
```ruby
# server.rb
require 'socket'
server = TCPServer.new('localhost', 2345)
loop do
socket = server.accept
end
```
``... -
02:31 AM Feature #12695: File.expand_path should resolve ~/ using /etc/passwd when HOME is not set
- Does anyone know if this also fixes the Dir.home value? Currently (in 2.3) that doesn't work when HOME is unset either.
pabs@chianamo ~ $ unset HOME
pabs@chianamo /home/pabs $ ruby -e 'print Dir.home'
-e:1:in `home': cou... -
12:10 AM Feature #4532 (Closed): [PATCH] add IO#pread and IO#pwrite methods
- Applied in changeset trunk|r58240.
----------
Add IO#pread and IO#pwrite methods
These methods are useful for safe/concurrent file I/O in
multi-thread/process environments and also fairly standard
nowadays especially in systems support... -
12:10 AM Revision 8109114b (git): Add IO#pread and IO#pwrite methods
- These methods are useful for safe/concurrent file I/O in
multi-thread/process environments and also fairly standard
nowadays especially in systems supporting pthreads.
Based on patches by Avseyev <[email protected]> at
[ruby-core...
04/02/2017
-
08:22 PM Feature #13355: [PATCH] compile.c: optimize literal String range in case/when dispatch
- Eric Wong <[email protected]> wrote:
> * s/iseq_add_mark_object_compile_time/iseq_add_mark_object/
> since the range lifetime is tied to the overall iseq lifetime.
Brrr.. I was wrong the second time :x
iseq_add_mark_object... - 08:16 PM Revision 78ad438f (git): * 2017-04-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:16 PM Revision 6f73c387 (git): compile.c: avoid duplicate mark entry for string literal Range
- iseq_add_mark_object is called in iseq_set_sequence later on,
so we only need to call iseq_add_mark_object_compile_time
in iseq_peephole_optimize. Without this change, there would've
been a duplicate entry in the long-lived iseq mark_ar... -
10:00 AM Feature #12063: KeyError#receiver and KeyError#name
- I think "name" is more consistent with other exceptions, such as NameError#name and NoMethodError#name (by inheritance).
-
06:23 AM Feature #12063: KeyError#receiver and KeyError#name
- Which method name is best?
"**name**" referenced from "**Name**Error".
But I think, "**key**" is also good. Because this is "**Key**Error" method.
The patch on github is using "**key**".
Thanks. -
04:53 AM Misc #13329: Creating a German ruby mailinglist on ruby-lang.org?
- I had no time to create this list last week. Please wait a few days.
(NOTE; I'm NOT a full time open source developer. )
-
03:05 AM Revision ec8e4c6a (git): update configure by prereq [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:14 AM Revision cf6ec79b (git): thread.c: comments on M:N threading [ci skip]
- I may experiment with M:N threading in coming months. Often I
find myself yearning for the old 1.8 days when spawning threads
was really cheap for network operations. But I also like to use
native blocking recv_io and accept calls for ...
04/01/2017
-
10:48 PM Revision 80e19902 (git): rational.c: improves Rational#round rdoc [ci skip]
- * rational.c (nurat_round_n): [DOC] improves Integer#round
documentation as well as Float#round.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 10:18 PM Revision 42166c62 (git): test/ruby/test_optimization.rb: quiet warnings
- This quiets an old "assigned but unused variable" warning left
over after r56653 as well as two new "ambiguous first argment"
warnings introduced in r58233.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58234 b2dd03c8-39d4-4d8f-98ff... -
09:59 PM Bug #13394 (Rejected): MinGW x86_64-w64-mingw32-gcc.exe command line options -
-
02:47 PM Bug #13394: MinGW x86_64-w64-mingw32-gcc.exe command line options -
- Never mind. Setup testing
```
configure.in:533
for option in --version -v -V -qversion; do
``` -
01:50 PM Bug #13394 (Rejected): MinGW x86_64-w64-mingw32-gcc.exe command line options -
- In my config.log file, I'm finding a few errors like:
```
x86_64-w64-mingw32-gcc.exe: error: unrecognized command line option '-V'
x86_64-w64-mingw32-gcc.exe: error: unrecognized command line option '-qversion'; did you mean '--vers... -
09:58 PM Feature #13393 (Rejected): New comment syntax
-
01:04 PM Feature #13393: New comment syntax
- ko1 (Koichi Sasada) wrote:
> We should use such syntax for literal syntax such as frozen one (with blue color).
OK, updated. -
10:54 AM Feature #13393: New comment syntax
- I'd like to see colors allowed in method names. In the long run, all "bang methods" could be replaced by "red methods", to even better visually signal their dangerousness.
But I guess this would probably go beyond the scope of this fe... -
09:00 AM Feature #13393: New comment syntax
- I like colours. Even on first april so I have to take it almost literally as a real proposal.
(Actually after waking up, I forgot which day it was; the Assignee set here helped me
understand the proposal. :D )
It's one of the few t... -
07:47 AM Feature #13393: New comment syntax
- We should use such syntax for literal syntax such as frozen one (with blue color).
-
07:32 AM Feature #13393: New comment syntax
- [email protected] wrote:
> Turning on highlight mode (i.e., `\e[1m`) starts a comment and turning off (i.e., `\e[m`) ends it.
> This visualizes comments very much.
+1 Please commit ASAP. This speeds up the parser 300% and load
t... -
07:10 AM Feature #13393 (Rejected): New comment syntax
- Now ruby has 2 comment syntax, `#...` and `=begin`..`=end`, but they are line-oriented both.
This is a proposal of a new, very visible, inline comment syntax.
Turning on highlight mode (i.e., `\e[1m`) starts a comment and turning off... -
09:41 PM Feature #13355: [PATCH] compile.c: optimize literal String range in case/when dispatch
- Eric Wong <[email protected]> wrote:
> [email protected] wrote:
> > https://bugs.ruby-lang.org/issues/13355
>
> I will commit this in a few days if no response.
Caught during self review:
* Use more descriptive variab... -
09:38 PM
Feature #13355 (Closed): [PATCH] compile.c: optimize literal String range in case/when dispatch
- Applied in changeset trunk|r58233.
----------
compile.c: optimize literal String range in case/when dispatch
This is similar in spirit to opt_case_dispatch as the literal
Range here is guaranteed to be immutable when used for
checkmatc... - 09:38 PM Revision 120976b9 (git): compile.c: optimize literal String range in case/when dispatch
- This is similar in spirit to opt_case_dispatch as the literal
Range here is guaranteed to be immutable when used for
checkmatch.
Normal range literals with non-frozen strings are actually
mutable, as Range#begin and Range#end exposes th... -
08:43 PM Revision 48bc5004 (git): doc/contributors.rdoc: [DOC] update
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:24 PM Feature #13395 (Open): Add a method to check for not nil
- There does not seem to be a method in Ruby to check if an object is *not* nil.
Such a method could help with readability.
Example:
> ~~~ ruby
> ...
- 08:20 PM Revision 4675ea91 (git): * 2017-04-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:19 PM Revision 23522335 (git): rational.c: improve docs
- * rational.c: [DOC] improve docs for Rational and related methods
* improve class documentation for Rational
* fix call-seq's
* simplify examples for Rational#{floor,ceil,truncate,round}
* fix wrong examples for #floor, subtracti... -
05:22 PM Misc #13329: Creating a German ruby mailinglist on ruby-lang.org?
- What's the current status? Can you give an ETA as to when you are able to create the list?
Marvin -
10:45 AM Bug #13358: OpenStruct overriding allocate
- I believe this should be backported to 2.4, this is notably the version the OP used.
-
10:40 AM Bug #13358: OpenStruct overriding allocate
- nobu (Nobuyoshi Nakada) wrote:
> OK, although I still think it is too artificial example, nobody would mind a little change of the `OpenStruct` performance.
Thank you for your consideration, I committed as r58229.
I will let usa-s... -
10:30 AM Bug #13358 (Closed): OpenStruct overriding allocate
- Applied in changeset trunk|r58229.
----------
ostruct.rb: improve fix for OpenStruct.allocate + #respond_to?
* lib/ostruct.rb (OpenStruct#respond_to_missing?): this makes
OpenStruct#respond_to? works on any OpenStruct instance,
jus... -
10:30 AM Revision a6456054 (git): ostruct.rb: improve fix for OpenStruct.allocate + #respond_to?
- * lib/ostruct.rb (OpenStruct#respond_to_missing?): this makes
OpenStruct#respond_to? works on any OpenStruct instance,
just like Kernel#respond_to? does, without workarounds.
[ruby-core:80292] [Bug #13358]
git-svn-id: svn+ssh://ci... -
07:38 AM Feature #12746 (Closed): class Array: alias .prepend to .unshift ?
- Applied in changeset trunk|r58227.
----------
array.c: Array#append and Array#prepend
* array.c (Init_Array): Add alias "append" to Array#push, and
"prepend" to Array#unshift. [Feature #12746] [Fix GH-1574]
Author: pascbjumper2 ... - 07:38 AM Revision 8dfd1e71 (git): * 2017-04-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:38 AM Revision f57d515d (git): array.c: Array#append and Array#prepend
- * array.c (Init_Array): Add alias "append" to Array#push, and
"prepend" to Array#unshift. [Feature #12746] [Fix GH-1574]
Author: pascbjumper2 <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58227 b2dd0... -
04:09 AM Bug #13391: wrong number of arguments error for Hash#map when lambda given
- 進捗です。
https://github.com/nobu/ruby/tree/bug/13391-map-arity
03/31/2017
-
08:39 PM Bug #13231: DateTime.strftime("%Z") does not return time zone abbreviation, returns hour and minute offset from UTC with colon
- MSP-Greg (Greg L) wrote:
> Re docs, [Time#zone](https://msp-greg.github.io/ruby_trunk/Core/Time.html#zone-instance_method) seems to indicate that a time zone abbreviation is the return.
> ...
Probably: for me it's an abbreviation (on L... -
01:40 PM Bug #13231: DateTime.strftime("%Z") does not return time zone abbreviation, returns hour and minute offset from UTC with colon
- Re docs, [Time#zone](https://msp-greg.github.io/ruby_trunk/Core/Time.html#zone-instance_method) seems to indicate that a time zone abbreviation is the return.
On my system (`ruby 2.5.0dev (2017-03-19 trunk 58021) [x64-mingw32]`), "Cen... -
12:43 PM Bug #13231: DateTime.strftime("%Z") does not return time zone abbreviation, returns hour and minute offset from UTC with colon
- I'd suggest
```
%Z - Equivalent to %:z (e.g. +09:00)
``` -
08:39 PM Bug #13392 (Closed): TracePoint return event location is incorrect for methods defined with define_method
**Command**
~~~ ruby
ruby tracepoint_bug.rb
~~~
**Output**
~~~
ruby-2.4.1-p111 (x86_64-linux)
tracepoint_bug_ext.rb:4 call to_s
tracepoint_bug_ext.rb:5 c_call to_s
tracepoint_bug_ext.rb:5 c_return to_s
racepoint_bug.r...-
07:14 PM Feature #12589: VM performance improvement proposal
- magaudet (Matthew Gaudet) wrote:
> > You can not implement JIT without consuming additional memory. May be
> ...
By the way, I did some memory consumption measurements using size of
max (peak) resident area for a small Ruby progr... -
05:27 PM Feature #12589: VM performance improvement proposal
- vmakarov (Vladimir Makarov) wrote:
> Sorry, Matthew. I can not find your message on
> ...
Very curious! I don't quite know what went wrong... so here I am writing
a reply in Redmine to make sure it shows up for future searchers :)
... -
08:04 AM Feature #13166: Feature Request: Byte Arrays for Ruby 3
- I agree that the OP probably is more interested in a `BitVector`/`BitArray` than a `ByteArray`, at least for the specific use case he is describing. Nonetheless, such a data type sounds useful for high-performance code; it may also make ...
-
07:34 AM Revision c527fa13 (git): exts.mk.tmpl: note footer [ci skip]
- * template/exts.mk.tmpl: place note footer message at the end.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:34 AM Revision cdaf6db0 (git): debug.c: check codepage value [ci skip]
- * debug.c (set_debug_option): check garbage and overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:48 AM Feature #12746: class Array: alias .prepend to .unshift ?
- Thanks, Matz! I've been wanting this for a while.
I've just made a PR to the Github repo with the changes: https://github.com/ruby/ruby/pull/1574 -
06:03 AM Feature #13383: [PATCH] Module#source_location
- Eregon (Benoit Daloze) wrote:
> shyouhei (Shyouhei Urabe) wrote:
> ...
Great. I didn't know this. Thank you.
> Example:
> ...
Yes, I'm not against such feature. -
03:56 AM Bug #13391 (Closed): wrong number of arguments error for Hash#map when lambda given
- ## 内容
Ruby 2.4.1 にて `Hash` オブジェクトの `#map` に 2つの引数を受け取る lambda を渡した際、
arguments error が発生します。
Ruby 2.4.0, ないし 2.3.4 では同じコードを実行した際にはエラーは発生していませんでしたが、
trunk でも同じエラーが発生します。
## 再現コード
~~~
% cat lambda.rb
hash = { a: 'hoge', b: ... -
01:48 AM Bug #13390: MinGW build test-all SEGV, issue in test framework or error recovery?
- Just ran the test file fifty (50) times on `ruby 2.5.0dev (2017-03-29 trunk 58201) [x64-mingw32]`, and it ran fine (no comments required). I'll try to build some intermediate svn's to narrow the issue to fewer commits.
-
12:35 AM Revision 5c9cd965 (git): RUBY_DEBUG codepage option [ci skip]
- * debug.c (set_debug_option): add "codepage" option to force
locale charmap on Windows.
* localeinit.c (locale_charmap): use the codepage by debug env if
given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58224 b2dd03c8-39d4-... -
12:35 AM Revision 4c70f047 (git): setup.mak: ENABLE_DEBUG_ENV [ci skip]
- * win32/setup.mak (-basic-vars-): pass ENABLE_DEBUG_ENV to
Makefile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/30/2017
-
08:38 PM Bug #13390 (Closed): MinGW build test-all SEGV, issue in test framework or error recovery?
- Today, while building trunk (64 bit MinGW), I had a 'no output' SEGV during test-all.
I think I've had this before, but I don't recall how recently, 32 or 64, etc.
The problem is in the following test:
File ['test/ruby/test_keyw... -
05:21 PM Feature #13379: [PATCH] safe IMAP connections
- [email protected] wrote:
> Yes, these APIs are very platform specific. I was just
> checking documentations and existing solutions. Maybe I'll use
> the Resolv api, but I need to check incompatibilities and also
> a performance imp... -
03:21 PM Feature #13379: [PATCH] safe IMAP connections
- Yes, these APIs are very platform specific. I was just checking documentations and existing solutions. Maybe I'll use the Resolv api, but I need to check incompatibilities and also a performance impact.
-
02:53 AM Feature #13379: [PATCH] safe IMAP connections
- ahorek (Pavel Rosický) wrote:
> Thanks for the review. I've fixed the second case.
Thanks. The additional patches look fine.
> ...
getaddrinfo_a() is glibc specific, so we need alternatives on other platforms such as FreeBSD.
Do... - 03:20 PM Revision 2446c759 (git): * 2017-03-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:20 PM Revision 44fa00ee (git): localeinit.c: locale_charmap return value
- * localeinit.c (locale_charmap): fix the return value to call conv
function instead of encoding index on platforms where locale
information is not available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58221 b2dd03c8-39d4-4d8f... -
02:45 PM Bug #13319: GC issues seen with GCC7
- Trunk works fine.
ruby-2.3.4 fails even when build with gcc-7 -O3. -
10:52 AM Feature #13388 (Assigned): gc.c: Add GC.get_parameters and .set_parameters
-
09:39 AM Feature #13383: [PATCH] Module#source_location
- shyouhei (Shyouhei Urabe) wrote:
> In modern Ruby, prior to actually requiring a library, its gemspec tends to be loaded. From what I understand, people require foo/version.rb from foo.gemspec, and this is the first time when namespace... -
09:26 AM Feature #13383: [PATCH] Module#source_location
- In modern Ruby, prior to actually requiring a library, its gemspec tends to be loaded. From what I understand, people require foo/version.rb from foo.gemspec, and this is the first time when namespace foo is opened.
Is this info that... -
04:34 AM Feature #13383: [PATCH] Module#source_location
- Turning this into a feature ticket.
-
04:33 AM Feature #13383: [PATCH] Module#source_location
- it would be happier if we can get all of source locations where a class opened?
-
09:32 AM Bug #12761 (Closed): Ruby 2.3.1 has a bug in `Module#alias` and `Module#alias_method`
- Closing. Thank you for confirmation.
-
07:25 AM Revision f88521bb (git): .travis.yml: make tests silent [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:16 AM Revision d4581159 (git): .travis.yml: checkout ruby/spec PR
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:04 AM Revision 23e2aac8 (git): git-refresh: rewrite options
- * tool/git-refresh: parse options without git-rev-parse, which is
old on travis.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:44 AM Revision c73db5c1 (git): tool/git-refresh
- * tool/git-refresh: tool to clone or update git working directory.
* Makefile.in: use git-refresh.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:10 AM Feature #13382: [PATCH] Options for FTP PORT command
- shugo (Shugo Maeda) wrote:
> FTPClient of Apache Commons seems to have setActivePortRange() and setActiveExternalIPAddress().
> ...
I found setReportActiveExternalIPAddress().
https://commons.apache.org/proper/commons-net/apidocs/or... -
04:47 AM Feature #13382: [PATCH] Options for FTP PORT command
- osa (Shunsuke OSA) wrote:
> > The default mode of Net::FTP is now passive, but do you really need the active mode?
> ...
Understood.
> > Do you know any FTP client implementation which provides similar options?
> ...
FTPClient of A... -
04:41 AM Feature #12589: VM performance improvement proposal
- Hi Matthew,
> https://developer.ibm.com/open/2017/03/01/ruby-omr-jit-compiler-whats-next/
I was reading your article, and I would like to say that what you
present there is just fantastic in my point of view.
Why fantastic? Beca... -
03:12 AM Feature #12589: VM performance improvement proposal
- Sorry, Matthew. I can not find your message on
https://bugs.ruby-lang.org/issues/12589. So I am sending this message
through email.
On 03/29/2017 04:36 PM, Matthew Gaudet wrote:
> Hi Vladimir,
>
> First and foremost, let me ... -
02:29 AM Feature #13173: Gemify webrick
- Created https://github.com/ruby/webrick .
But https://rubygems.org/gems/webrick was reserved now. I will release/update webrick gem later.
03/29/2017
-
08:44 PM Feature #13379: [PATCH] safe IMAP connections
- Thanks for the review. I've fixed the second case.
The only blocker is getaddrinfo now. It's a lowlevel system api that always blocks. I'll take a look if I can rewrite the ruby api to use getaddrinfo_a or getaddrinfo_ex (no thread is... -
02:33 AM Feature #13379: [PATCH] safe IMAP connections
- ahorek (Pavel Rosický) wrote:
> Hi,
> ...
Thanks for the patch, but it doesn't seem enough because:
1. The :connect_timeout option of Socket.tcp doesn't work when DNS lookups by getaddrinfo block.
A new thread by Timeout.timeout... -
07:50 PM Feature #13389 (Closed): [PATCH] POP3 support timeout for TLS handshake
- Already applied fix for SMTP and HTTP
https://bugs.ruby-lang.org/issues/12678
The same fix for IMAP is here
https://bugs.ruby-lang.org/issues/13379
MR
https://github.com/ruby/ruby/pull/1573 - 07:12 PM Revision a8425965 (git): * 2017-03-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:12 PM Revision 46eed7b8 (git): methods.rdoc: small improvements
- * doc/syntax/methods.rdoc: [DOC] small improvements: fix some typos,
grammar, punctuation, consistently use capitalized "Ruby".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:46 PM Bug #13155: Segfault testing Pry
- Will see as soon as 2.4.1 lands in Fedora. Will keep an eye on this.
-
06:23 AM Bug #13155 (Feedback): Segfault testing Pry
- I couldn't reproduce with 2.4.1 and trunk. Maybe it got a fix after 2.4.0 release.
-
05:06 PM Feature #12589: VM performance improvement proposal
- subtileos (Daniel Ferreira) wrote:
> Hi Vladimir,
> ...
You are welcomed.
> That README is priceless.
> ...
My approach to JIT is not traditional. I believe that implementing JIT in MRI should be more evolutional to be successf... -
04:32 AM Feature #12589: VM performance improvement proposal
- Hi Vladimir,
On Tue, Mar 28, 2017 at 4:26 AM, <[email protected]> wrote:
> You can find the code on
> https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch. Please, read
> file README.md about the project first.
>
T... -
04:12 AM Feature #12589: VM performance improvement proposal
- > I think I've reached a state of the project to make its current
> code public. Most of the infrastructure for RTL insns and JIT has
> been implemented.
Hi Vladimir,
Thank you very much for this post.
That README is pricele... -
04:35 PM Feature #13166: Feature Request: Byte Arrays for Ruby 3
- Crystal allows you to create byte-arrays as below:
```
byte_array = [] of Int8
``` -
04:21 PM Feature #13166: Feature Request: Byte Arrays for Ruby 3
- This is a comparison of real code I have in a gem that is optimized for CRuby and JRuby.
JRuby allows you to use Java byte-arrays, which is both more memory efficient than the
CRuby version (I can create bigger arrays), but its much, m... -
03:00 PM Revision 0ad16855 (git): * hash.c (any_hash): fix CI failure on L32LLP64 architecture.
- The patch was provided by usa. [ruby-core:80484] [Bug #13376]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@58213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:59 PM Bug #8894 (Closed): Fixnum#quo returns wrong result when given a float
-
06:51 AM Bug #8894 (Feedback): Fixnum#quo returns wrong result when given a float
-
06:06 AM Bug #8894: Fixnum#quo returns wrong result when given a float
- This problem seems to be solved already since I tried this by ruby 2.2 and didn't have any problem.
So we can close this issue.
▼ Result by ruby 2.2
```
2.quo(2.0) # => 1.0
```
```
Rational(6) / 2.0 # => 3.0
```
-
02:59 PM Bug #13376: Symbol#hash is deterministic on 2.3
- Thank you usa-san. I'll merge your patch soon.
I'd like to make v2_3_4 tag after confirming the result of CI on vc12-x64. -
02:35 PM Bug #13376: Symbol#hash is deterministic on 2.3
- I've fixed it.
nagachika-san, please apply this patch:
```diff
Index: hash.c
===================================================================
--- hash.c (revision 58210)
+++ hash.c (working copy)
@@ -168,7 +168,7 @@ any_hash(... -
02:27 PM Bug #13376: Symbol#hash is deterministic on 2.3
- nobu (Nobuyoshi Nakada) wrote:
> Accepting huge requests which could exhaust memory with too may symbols *at once* would be rarely possible in 2.3.
CVE-2011-4815 is about hash collisions, which indeed seems possible if a user can con... -
02:21 PM Bug #13376: Symbol#hash is deterministic on 2.3
- Accepting huge requests which could exhaust memory with too may symbols *at once* would be rarely possible in 2.3.
-
02:09 PM Bug #13376: Symbol#hash is deterministic on 2.3
- should this receive a new CVE?
should this released be soon as 2.3.4? -
02:44 PM Feature #13382: [PATCH] Options for FTP PORT command
- > The default mode of Net::FTP is now passive, but do you really need the active mode?
In the real world, sometimes we have to connect FTP servers without passive mode support. But modern server environment such as clouds like AWS EC2... -
09:24 AM Feature #13382: [PATCH] Options for FTP PORT command
- osa (Shunsuke OSA) wrote:
> # Real use cases
> ...
The default mode of Net::FTP is now passive, but do you really need the active mode?
Do you know any FTP client implementation which provides similar options?
Python's ftplib doesn... -
08:36 AM Feature #13382 (Rejected): [PATCH] Options for FTP PORT command
- # Abstract
Add options to Net::FTP to set data listening host and port.
# Background
Net::FTP sends local address and default port to remote FTP server.
In FTP active mode, remote server will connect to client to establish data... -
02:16 PM Bug #13331 (Assigned): Inconsistent conversion of Float into Decimal
- Continue this in https://github.com/ruby/bigdecimal/issues/70
-
01:50 PM Bug #13348: win32/README.win32 のアイコンがリンク切れ
- takanabe (Takayuki Watanabe) wrote:
> こちらのリンク切れURLについてドキュメントの修正を送りたいのですが最新のURL候補等はございますか。
とりあえず Internet Archive に残っているのは確認しているのですが、
正式な移転先などがあればその方が良いかと思っているのですが、
誰か知らないでしょうか?
https://web-beta.archive.org/web/20161102044442/htt... -
05:51 AM Bug #13348: win32/README.win32 のアイコンがリンク切れ
- こちらのリンク切れURLについてドキュメントの修正を送りたいのですが最新のURL候補等はございますか。
-
12:48 PM Bug #12684: Delegator#eql? missing
- Seems fine.
-
09:04 AM Bug #12684: Delegator#eql? missing
- I fixed this issue and I added the specs.
Could you check it?
https://github.com/ruby/ruby/pull/1564
https://github.com/ruby/spec/pull/399 -
11:49 AM Revision e294fbaf (git): Fix two typos
- My typo checker :-) found the bugs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:34 AM Bug #13387 (Closed): [PATCH]Add parenthesis to fix compile warning to string.c
- Applied in changeset trunk|r58211.
----------
string.c: Supress logical-op-parentheses warning
* string.c(rb_str_upcase_bang): Supress logical-op-parentheses warning
Patch by Fukuo Kadota <[email protected]>,
Closes [GH-1570... -
09:47 AM Bug #13387 (Closed): [PATCH]Add parenthesis to fix compile warning to string.c
- When editing string.c and execute `make run`, below warnings showed.
```
$ make run
../ruby/string.c:6142:41: warning: '&&' within '||' [-Wlogical-op-parentheses]
...(flags&ONIGENC_CASE_ASCII_ONLY) && (enc==rb_utf8_encoding() || ... -
11:33 AM Revision 31a755e4 (git): string.c: Supress logical-op-parentheses warning
- * string.c(rb_str_upcase_bang): Supress logical-op-parentheses warning
Patch by Fukuo Kadota <[email protected]>,
Closes [GH-1570] [Bug #13387].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58211 b2dd03c8-39d4-4d8f-98ff-... -
10:52 AM Bug #13367 (Assigned): Fix issue for MinGW / MSYS2 builds and testing
-
10:11 AM
Bug #13312: String#casecmp raises TypeError instead of returning nil
- I agree this is not expecting behavior. then I made a patch for this.
Added test codes below.
```diff
diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb
index 7dbf27e..3b72d25 100644
--- a/test/ruby/test_string.rb
+... -
10:03 AM Feature #13388 (Rejected): gc.c: Add GC.get_parameters and .set_parameters
- These methods are for inspecting and modifying MRI's GC parameters. It may be
useful for realtime parameter tuning with GC.stat, user requests and so on.
This work is done by Tomohiro Moro (@slightair) and me (@makimoto).
GH issue... -
10:02 AM Feature #12410 (Rejected): Process.uid= validation and casting
- As follows, it looks because BSD id(1) handles the uid argument as 32bit integer.
(Note that GNU coreutils' id(1) doesn't allow negative argument)
```sh
% id -un -- -4294967296
root
```
Therefore this behavior is considered as un... -
09:41 AM Feature #12410: Process.uid= validation and casting
- Changing this ticket into a feature request because this request wants adding a new behavior into a existing method.
-
09:31 AM Feature #12410: Process.uid= validation and casting
- Wrote a patch for this ticket: https://github.com/ruby/ruby/pull/1568
It validates the argument for `Process#.uid=` using getpwuid. -
09:55 AM Bug #11638: [doc] misleading IO.write offset description
- Yes. When we use appending mode without offset, the file is not truncated.
Truncating files are occurred in write mode only. So it seems that we should just add the behaviour in write mode rather than adding behaviour in append mode.
... -
09:54 AM Bug #13231: DateTime.strftime("%Z") does not return time zone abbreviation, returns hour and minute offset from UTC with colon
- DateTime wrongly calls timezone offset as "timezone".
It is considered as a documentation issue at this time. -
09:07 AM Bug #13231: DateTime.strftime("%Z") does not return time zone abbreviation, returns hour and minute offset from UTC with colon
- I think it contains a deep problem.
```sh
$ ruby -v
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
$ irb
irb(main):001:0> require 'date'
=> true
irb(main):002:0> Time.now.strftime('%Z')
=> "JST"
irb(main):003:0> ... -
09:52 AM Bug #13369: TracePoint gives incorrect `return_value` after rescuing error when using `return`
- By some investigations, it turned out to be caused by the result value passed in `hook_before_rewind` method .
The return value would be as expected by the batch, but it would fail in some tests. -
09:47 AM Bug #8916 (Closed): rb_sprintf への精度指定が正しく機能していない
- Applied in changeset trunk|r58210.
----------
vsnprintf.c: prefix with precision
* vsnprintf.c (BSD_vfprintf): sign and hex-prefix should not be
counted in precision. [ruby-dev:47714] [Bug #8916] -
09:47 AM Revision 7e1c65dc (git): vsnprintf.c: prefix with precision
- * vsnprintf.c (BSD_vfprintf): sign and hex-prefix should not be
counted in precision. [ruby-dev:47714] [Bug #8916]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:47 AM Revision 85f3636e (git): test_minitest_unit.rb: assert_triggered
- * test/minitest/test_minitest_unit.rb (assert_triggered): rename
to be hidden in backtraces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:31 AM Bug #13386 (Closed): Improve Process::CLOCK_* RDoc
- Applied in changeset trunk|r58208.
----------
Add documents on Process::CLOCK_* constants
* process.c: Add documents on Process::CLOCK_* constants.
Patch by Sunao Komuro <[email protected]>.
Closes [GH-1567] [Bug #13386] -
09:24 AM Bug #13386 (Closed): Improve Process::CLOCK_* RDoc
- ## Summary
`Process::CLOCK_*` has no RDoc comment.
https://docs.ruby-lang.org/en/trunk/Process.html
## Improvement
https://github.com/ruby/ruby/pull/1567 add `Process::CLOCK_*` description RDoc. -
09:31 AM Revision af4b7c8e (git): Add documents on Process::CLOCK_* constants
- * process.c: Add documents on Process::CLOCK_* constants.
Patch by Sunao Komuro <[email protected]>.
Closes [GH-1567] [Bug #13386]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:30 AM Bug #13101: Date#rfc2822 and Time#rfc2822 don't return the same format
- RFC 2822 says the date part should be 1 or 2 digits.
So current behavior doesn't violate the specification but I think it is more natural to adjust format.
ref. http://www.ietf.org/rfc/rfc2822.txt -
09:25 AM Bug #13101: Date#rfc2822 and Time#rfc2822 don't return the same format
- I created a patch to solve this issue in https://github.com/ruby/ruby/pull/1566
I want committers to merge this patch if it's acceptable :) -
09:24 AM Bug #13384 (Closed): [PATCH] Fix `make clean` errors
- Applied in changeset trunk|r58207.
----------
Fix `make clean` errors
Patch by Kohei Suzuki <[email protected]>.
* common.mk(clean-rubyspec): Supress error messages when rubyspec files
don't exist. [GH-1563] [Bug #13384]
* Makefil... -
09:11 AM Bug #13384 (Closed): [PATCH] Fix `make clean` errors
- https://github.com/ruby/ruby/pull/1563
- Fix error when running `make clean` just after `configure`
- Suppress error message when rubyspec files isn't present
## Before
```
% mkdir build1
% cd build1
% ../configure
% make c... -
09:24 AM Revision 22543551 (git): Fix `make clean` errors
- Patch by Kohei Suzuki <[email protected]>.
* common.mk(clean-rubyspec): Supress error messages when rubyspec files
don't exist. [GH-1563] [Bug #13384]
* Makefile.in: Fix error when files don't exist. [GH-1563] [Bug #13384]
git-svn-... -
09:19 AM Feature #13383: [PATCH] Module#source_location
- Modules/classes can be opened again.
Your patch seems returning the last location instead of the first, is it intentional?
As for the implementation, it's not nice to keep iseq.
It would be better to save them in (hidden) instance v... -
08:51 AM Feature #13383 (Rejected): [PATCH] Module#source_location
- # Abstract
It can inspect where the module or class is defined.
# Background
In debugging or development an application, I usually want to find out where the class definition of using library.
There is Method#source_location bu... -
09:17 AM Feature #13385 (Assigned): [PATCH] Make Resolv::DNS::Name validation similar to host and dig commands
- # Abstract
Add validations similar to **host** and **dig** commands to `Resolv::DNS::Name.create`
# Background
`Resolv::DNS::Name.create(str)` does not make any domain name validation.
So it returns false positive results for queri... -
09:13 AM Bug #12235: URI.encode issue with square brackets
- similar issue: https://bugs.ruby-lang.org/issues/9806
-
08:28 AM Bug #13003 (Closed): About not Random instance of random: keyword ardument of Array#shuffle!
- This bug is already fixed, close.
-
08:13 AM Bug #13315: Single "%" at the end of `printf` format string appears in the result
- Matz, is this intentional?
-
07:47 AM Bug #13315: Single "%" at the end of `printf` format string appears in the result
- I believe this is not intentional, so created a pull-request on GitHub.
https://github.com/ruby/ruby/pull/1560
This change makes ruby raise error for `printf("%")` though C just shows warning because this change will drop displayed "... -
07:45 AM Bug #12761: Ruby 2.3.1 has a bug in `Module#alias` and `Module#alias_method`
- This is resolved version ruby-2.4.1.
-
07:33 AM Bug #11430: Redefining a lazy-loaded variable in child context within RSpec spec causes crash
- I believe this is related to an incorrect use of RSpec's `let`, and has nothing to do with Ruby. (=> **not a bug** here?)
When you write `let(:my_hash) { my_hash.merge!(key_two: 'val_two') }`, you **override** `:my_hash` in that local... -
07:13 AM Bug #13106: Timeout does not wait for more than 120 seconds
- **I think this is not a bug.**
It looks like you are catching the `Timeout::Error` raised by `Net::HTTP.get_response`.
Here is a sample code to illustrate this:
~~~ ruby
require 'timeout'
require 'benchmark'
require 'net/http... -
07:08 AM Bug #12176 (Closed): method equality of aliased methods breakage on 2.3
- Confirmed fixed. cf #11964
-
06:32 AM Feature #13381: [PATCH] Expose rb_fstring and its family to C extensions
- OK, I've read comments of #13077.
What do you think of renaming fstring to "deduped" string? "Deduped" strings are implicitly frozen.
- Rename `rb_fstring` to `rb_str_deduped`
- Rename `rb_fstring_new` to `rb_str_deduped_new`
- R... -
05:36 AM Feature #13381 (Feedback): [PATCH] Expose rb_fstring and its family to C extensions
- I can understand use cases but we shouldn't expose the name "fstring".
-
05:29 AM Feature #13381 (Closed): [PATCH] Expose rb_fstring and its family to C extensions
- https://github.com/ruby/ruby/pull/1559
Currently, C extensions cannot use fstrings. I'd like to use
`rb_fstring_cstr` instead of `rb_str_new_cstr` for static strings in C
extensions to avoid excess allocation.
I think there's sev... -
05:54 AM Revision b6639a84 (git): parse.y: dot_or_colon
- * parse.y (dot_or_colon): use the default action without type
casts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:33 AM Bug #13380 (Closed): [PATCH] Remove unused Init_frozen_strings declaration
- Committed at r58205
-
03:48 AM Bug #13380 (Closed): [PATCH] Remove unused Init_frozen_strings declaration
- https://github.com/ruby/ruby/pull/1558
Init_frozen_strings definition is removed in r51511.
https://bugs.ruby-lang.org/issues/11423 -
04:32 AM Revision 7dab0e07 (git): Remove unused Init_frozen_strings declaration
- Init_frozen_strings definition is removed in r51511.
https://bugs.ruby-lang.org/issues/11423
Patch by Kohei Suzuki <[email protected]>
* internal.h: Remove declaration of unexist function
[Fix GH-1558]
git-svn-id: svn+ssh://ci.ruby... -
03:00 AM Revision 205ae267 (git): test_symbol.rb: switch to assert_not_equal
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:37 AM Bug #13358 (Assigned): OpenStruct overriding allocate
- OK, although I still think it is too artificial example, nobody would mind a little change of the `OpenStruct` performance.
-
12:52 AM Bug #13377 (Feedback): Crash while running tests
- 2.1.0p0 is outdated, try 2.1.9.
2.1 will end the life soon, though.