Project

General

Profile

Activity

From 03/11/2016 to 03/17/2016

03/17/2016

11:29 PM Bug #12186: /snapshot/lib/rubygems/installer.rb:233
> Also, I am looking forward for Ruby 2.3.1. Is there a place where the schedule for the release of teeny versions ar... usa (Usaku NAKAMURA)
12:44 PM Bug #12186 (Third Party's Issue): /snapshot/lib/rubygems/installer.rb:233
It seems the case a target file to be overwritten was not generated by RubyGems,
and the previous line seems to be `...
nobu (Nobuyoshi Nakada)
09:03 AM Bug #12186 (Third Party's Issue): /snapshot/lib/rubygems/installer.rb:233
I downloaded the nightly snapshot (https://cache.ruby-lang.org/pub/ruby/snapshot.tar.gz), and did:
~~~
./configur...
sawa (Tsuyoshi Sawada)
11:16 PM Bug #12193: ruby 2.3 on windows test-all failed
~~~
-"C:/Users/ADMINI~1/AppData/Local/Temp/2/test_rubygems_4580/gemhome/gems/foo-2
+"C:/Users/Administrator/AppData...
moritat (Tsuyoshi Morita)
07:46 PM Bug #12193: ruby 2.3 on windows test-all failed
@ruby team, this issue prevents us from releasing Ruby Installer (http://rubyinstaller.org/) on Windows for Ruby vers... johnnyshields (Johnny Shields)
03:43 PM Bug #12193 (Closed): ruby 2.3 on windows test-all failed
Use `rubyinstaller` build ruby 2.3 on windows platform, `make test-all` occur some failed.
windwiny (wind winy)
08:53 PM Feature #12125: Proposal: Shorthand operator for Object#method
Another thought: Dir["/.c"].map(File.&basename) VeryBewitching (RP C)
07:52 PM Feature #12125: Proposal: Shorthand operator for Object#method
Stefan Merettig wrote:
> Hello,
>
> The `&` operator lets one pass a `#call`-able object as block.
>
> Really ...
VeryBewitching (RP C)
07:48 AM Feature #12125: Proposal: Shorthand operator for Object#method
Seiei Miyagi wrote:
> How about `File[.basename]` ?
It causes confusion if the receiver has `#[]` method.
nobu (Nobuyoshi Nakada)
06:07 AM Feature #12125: Proposal: Shorthand operator for Object#method
Just a status update: I heard from Matz in this month's developer meeting that however he wants this, all proposed sy... shyouhei (Shyouhei Urabe)
06:21 PM Feature #12116: `Fixnum#divmod`, `Bignum#divmod` with multiple arguments
Very nice! marcandre (Marc-Andre Lafortune)
10:33 AM Feature #12116: `Fixnum#divmod`, `Bignum#divmod` with multiple arguments
Nice idea! +1 Eregon (Benoit Daloze)
09:54 AM Feature #12116: `Fixnum#divmod`, `Bignum#divmod` with multiple arguments
Shyouhei Urabe wrote:
> Huge +1 to this. The use case is obvious.
Thank you.
Still another use case is conver...
sawa (Tsuyoshi Sawada)
09:06 AM Feature #12116: `Fixnum#divmod`, `Bignum#divmod` with multiple arguments
Huge +1 to this. The use case is obvious. shyouhei (Shyouhei Urabe)
06:17 PM Feature #11816: Partial safe navigation operator
I feel that `a&.b.c += d` is still an assignment, so should be treated with the same precedence.
```ruby
a = nil
...
marcandre (Marc-Andre Lafortune)
06:34 AM Feature #11816: Partial safe navigation operator
I was not active when this topic was hot, so to know the current status I asked this on this month's developer meetin... shyouhei (Shyouhei Urabe)
05:46 PM Bug #12190 (Closed): DateTime.strptime and Time.strptime does not have compatibility in terms of parsing timezone
Applied in changeset r54167.
----------
* lib/time.rb (parse, strptime): Fix Time.parse/strptime does not
have com...
sonots (Naotoshi Seo)
04:38 PM Bug #12190: DateTime.strptime and Time.strptime does not have compatibility in terms of parsing timezone
PRed https://github.com/ruby/ruby/pull/1297 sonots (Naotoshi Seo)
04:35 PM Bug #12190: DateTime.strptime and Time.strptime does not have compatibility in terms of parsing timezone
It seems both DateTime.strptime and Time.strptime uses Date._strptime internally https://github.com/ruby/ruby/blob/08... sonots (Naotoshi Seo)
01:43 PM Bug #12190 (Rejected): DateTime.strptime and Time.strptime does not have compatibility in terms of parsing timezone
For CET, only DateTime.strptime successfully parsed timezone
```
irb(main):003:0> DateTime.strptime('2015-11-12 C...
sonots (Naotoshi Seo)
04:40 PM Feature #12026: Support warning processor
Benoit Daloze wrote:
> I think writing the warning to the screen should be part of the cutomizable behavior of that ...
jeremyevans0 (Jeremy Evans)
04:29 PM Feature #12026: Support warning processor
I think writing the warning to the screen should be part of the cutomizable behavior of that "warning processor".
Th...
Eregon (Benoit Daloze)
02:28 PM Feature #12026: Support warning processor
Shyouhei Urabe wrote:
> Yes we discussed this at the meeting, and someone pointed out that this request has somethin...
jeremyevans0 (Jeremy Evans)
06:51 AM Feature #12026: Support warning processor
Yes we discussed this at the meeting, and someone pointed out that this request has something to do with https://bugs... shyouhei (Shyouhei Urabe)
03:30 PM Bug #12192: Wrong nth_ref_max check in parse.y
I created a pull request for the fix:
https://github.com/ruby/ruby/pull/1296
norc (Victor Nawothnig)
03:29 PM Bug #12192 (Closed): Wrong nth_ref_max check in parse.y
~~~
$ ruby -e 'a = $1073741824'
-e: integer 2147483648 too big to convert to `int' (RangeError)
~~~
The followi...
norc (Victor Nawothnig)
03:07 PM Bug #12189: DateTime#to_time removes timezone information
Sent PR https://github.com/ruby/ruby/pull/1295 sonots (Naotoshi Seo)
01:37 PM Bug #12189 (Closed): DateTime#to_time removes timezone information
```
irb(main):004:0> DateTime.strptime('2015-11-12 CET', '%Y-%m-%d %Z')
=> #<DateTime: 2015-11-12T00:00:00+01:00 ((...
sonots (Naotoshi Seo)
02:46 PM Bug #12191 (Closed): Violation of ANSI aliasing rules causing problems while compiling
Hi, I work with IBM's XL compiler and we're noticing that there we're getting compile time failures due to ANSI alias... Zarko (Zarko Todorovski)
02:33 PM Feature #12142: Hash tables with open addressing
Koichi Sasada wrote:
> On 2016/03/17 15:00, [email protected] wrote:
> > About 64bit versus 32bit index: seve...
vmakarov (Vladimir Makarov)
10:47 AM Feature #12142: Hash tables with open addressing
I strongly prefer configure option with default to 32bit.
99% should not pay for 1% ability.
32bit version doesn'...
funny_falcon (Yura Sokolov)
09:03 AM Feature #12142: Hash tables with open addressing
On 2016/03/17 16:50, SASADA Koichi wrote:
> On 2016/03/17 15:00, [email protected] wrote:
>> About 64bit vers...
duerst (Martin Dürst)
07:51 AM Feature #12142: Hash tables with open addressing
On 2016/03/17 15:00, [email protected] wrote:
> About 64bit versus 32bit index: several developers discussed t...
ko1 (Koichi Sasada)
06:00 AM Feature #12142: Hash tables with open addressing
About 64bit versus 32bit index: several developers discussed this on this month's developer meeting. Consensus there... shyouhei (Shyouhei Urabe)
01:33 PM Bug #12188 (Closed): Backport r54105 and r54136 (fix Marshal.load violation for invalid dump format)
This is a ticket for backport management (as memorandum for stable maintainers). The original issues were already fix... nagachika (Tomoyuki Chikanaga)
01:13 PM Feature #11997: A method to read a file with interpolations
-1. I don't think that this is suitable as a core feature. We should leave such a thing to a library like erb. mame (Yusuke Endoh)
08:36 AM Feature #11997: A method to read a file with interpolations
This is difficult to implement in-core than it sounds. String interpolation is tightly built into our parser; hard t... shyouhei (Shyouhei Urabe)
12:14 PM Feature #12172 (Closed): Array#max and Array#min
Applied in changeset r54150.
----------
* array.c (rb_ary_max, rb_ary_min): Array#max and Array#min added.
[Featur...
mame (Yusuke Endoh)
11:58 AM Feature #12172 (Assigned): Array#max and Array#min
Matz and ko1 accepted this proposal. I'll commit. mame (Yusuke Endoh)
11:00 AM Bug #12187 (Closed): BigDecimal.divmod failing spuriously on 2.0.0
In the Ruby Spec Suite, there is one test that was sporadically failing on 2.0.0p648 on Travis.
It seems difficult t...
Eregon (Benoit Daloze)
10:41 AM Misc #12124: Use Automake
Shyouhei Urabe wrote:
> We looked at this issue on this month's developer meeting. Attendees agree that automake is...
cjcollier (C.J. Collier)
10:21 AM Misc #12124: Use Automake
We looked at this issue on this month's developer meeting. Attendees agree that automake is _basically_ a good thing... shyouhei (Shyouhei Urabe)
09:38 AM Bug #12175: rb_gc_mark prevents the value from being garbage collected if called outside of a GC cycle
I bet rb_gc_mark is not intended to run outside of GC. It is easy to check in-memory flag but costs extra few hundre... shyouhei (Shyouhei Urabe)
09:10 AM Feature #12096: New notation for instance variables and class variables
I see. Thank you for bringing this issue to the meeting.
We can just have single quotation (without interpolation)...
sawa (Tsuyoshi Sawada)
08:28 AM Feature #12096: New notation for instance variables and class variables
At the developer's meeting yesterday we looked at this issue. As OP refers to `instance_variable_set`, this is a met... shyouhei (Shyouhei Urabe)
08:59 AM Feature #12020: Documenting Ruby memory model
Great thanks. I am looking forward to continue the discussion. pitr.ch (Petr Chalupa)
06:39 AM Feature #12020 (Assigned): Documenting Ruby memory model
Koichi has some opinions in this area and wants to dump them to this thread. Please go ahead. shyouhei (Shyouhei Urabe)
07:56 AM Bug #12185: Missing symbol inspect_tcpi_msec
`ext/socket/extconf.h` does not differ between with and without `relro`.
Thank you for the quick commit. I can con...
wiz (Thomas Klausner)
02:36 AM Bug #12185 (Closed): Missing symbol inspect_tcpi_msec
Applied in changeset r54139.
----------
socket/option.c: accurate condition
* ext/socket/option.c (inspect_tcpi_mse...
nobu (Nobuyoshi Nakada)
02:15 AM Bug #12185 (Feedback): Missing symbol inspect_tcpi_msec
Does `ext/socket/extconf.h` differ between with and without `relro`? nobu (Nobuyoshi Nakada)
07:05 AM Feature #12094: parameterized property assignment: o.prop(arg) = 1
I met nobu so I asked its status. He told me that this proposed syntax conflicted catastrophically with existing gra... shyouhei (Shyouhei Urabe)
07:00 AM Bug #12126: [PATCH] openssl: accept moving write buffer for write_nonblock
No objection. shyouhei (Shyouhei Urabe)
06:59 AM Bug #12121: 異なる名前空間にある同名の定数により Module.constans の結果の並びが変わる
これは、ドキュメントの問題だと思います。Module#constantsの戻り順を保障したことはないし、これからも保障されないと思います。今回は高速化の一環として順序が変わりましたが、今後も同様のことは起き得ます。なのでそのようにドキ... shyouhei (Shyouhei Urabe)
06:01 AM Bug #12139 (Closed): return OpenSSL::Random.random_bytes(n) call takes to long. OpenSSL:: bug on windows.
Applied in changeset r54144.
----------
* lib/securerandom.rb (gen_random): to avoid blocking on Windows.
On Windo...
naruse (Yui NARUSE)
05:51 AM Feature #12092: Allow Object#clone to yield cloned object before freezing
Martin Dürst wrote:
> Hello Jeremy,
>
> On 2016/03/17 01:14, [email protected] wrote:
>
> > No...
jeremyevans0 (Jeremy Evans)
04:32 AM Feature #12092: Allow Object#clone to yield cloned object before freezing
Hello Jeremy,

On 2016/03/17 01:14, [email protected] wrote:

> Nobuyoshi Nakada wrote:
>> Why does...
duerst (Martin Dürst)
05:42 AM Feature #10098: [PATCH] Timing-safe string comparison for OpenSSL::HMAC
Anyways, this issue was discussed in this month's developer meeting. Attendees at there found that OpenSSL already p... shyouhei (Shyouhei Urabe)
12:53 AM Bug #11844: Please update unicode-licensed files (license issue)
>What about ext/json/generator/generator.c
It's not original file of Ruby. Please report upstream. see https://git...
hsbt (Hiroshi SHIBATA)
12:44 AM Bug #11844: Please update unicode-licensed files (license issue)
Thank you very much for fixing this issue in enc/trans/JIS. What about ext/json/generator/generator.c? zeha (Christian Hofstaedtler)

03/16/2016

10:52 PM Bug #12185 (Closed): Missing symbol inspect_tcpi_msec
I originally reported this issue on ruby-talk, but Ryan Davis told me to file a bug report instead.
I'm building r...
wiz (Thomas Klausner)
06:28 PM Bug #12184 (Closed): Cygwin LANG=ja_JP.SJIS 環境でコマンドライン引数に日本語が渡せない
Cygwin LANG=ja_JP.SJIS で ruby のコマンドライン引数に日本語を渡すと、
プログラム開始時点で ARGV 内の非 ASCII バイトがすべて "?" = 0x3F に置換
されてしまうようで、正しく動作し...
k_satoda (Kazutoshi SATODA)
06:03 PM Bug #12183 (Closed): require "win32ole" すると終了ステータスが必ず 0 になる
プログラム中で `require "win32ole"` するとそのプログラムが途中でエラーに
なっても終了ステータスが必ず 0 (正常終了)になり、呼び出し側で正しく
エラー判別できません。
~~~
$ ruby -e ...
k_satoda (Kazutoshi SATODA)
05:36 PM Feature #12180: switch id_table.c variant
In other words, big web applications are too big for global method cache, and too polymorphic for inline cache.
So g...
funny_falcon (Yura Sokolov)
05:25 AM Feature #12180: switch id_table.c variant
I just install Redmine - the same software that powers bugs.ruby-lang.org ,
then add several test issues, and bench ...
funny_falcon (Yura Sokolov)
02:45 AM Feature #12180: switch id_table.c variant
Hi,
> simple Redmine installation
What is this benchmarking?
Thanks,
Koichi
ko1 (Koichi Sasada)
04:14 PM Feature #12092: Allow Object#clone to yield cloned object before freezing
Nobuyoshi Nakada wrote:
> Why does it need to be a singleton method but can't a method from an included module?
I...
jeremyevans0 (Jeremy Evans)
09:03 AM Feature #12092 (Feedback): Allow Object#clone to yield cloned object before freezing
Why does it need to be a singleton method but can't a method from an included module?
nobu (Nobuyoshi Nakada)
03:29 PM Bug #12109 (Rejected): Exception during class load can cause partially-loaded class
Closing as this is not a bug.
I don't see any change of the sort happening as both of your expectations make no se...
marcandre (Marc-Andre Lafortune)
03:28 PM Bug #12182 (Closed): openssl: NPN may be disabled by OpenSSL configuration
OpenSSL's NPN support can be disabled, and Ruby doesn't work well when it is disabled.
~~~
% make test-all TESTS=...
rhenium (Kazuki Yamaguchi)
02:57 PM Feature #12142: Hash tables with open addressing
Eric Wong wrote:
> [email protected] wrote:
> > * I also *changed the specialized hash function* (rb_num_hash_...
vmakarov (Vladimir Makarov)
05:32 AM Feature #12142: Hash tables with open addressing
Eric Wong wrote:
> [email protected] wrote:
> > * I also *changed the specialized hash function* (rb_num_hash_...
funny_falcon (Yura Sokolov)
12:08 AM Feature #12142: Hash tables with open addressing
[email protected] wrote:
> * I also *changed the specialized hash function* (rb_num_hash_start)
> used for...
normalperson (Eric Wong)
02:10 PM Bug #8851 (Closed): alias/undef で % リテラルによるシンボルが使えない
Applied in changeset r54131.
----------
parse.y: symbol literals for alias/undef
* defs/keywords (alias, undef): sy...
nobu (Nobuyoshi Nakada)
05:55 AM Bug #8851: alias/undef で % リテラルによるシンボルが使えない
`ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]` でも同じ状況のままですが、いかがでしょうか? okkez (okkez _)
01:01 PM Bug #12104: Procs keyword arguments affect value of previous argument
How about using `lambda` instead of `Proc.new`?
```
>> p = lambda {|nodes, match_array: false| puts nodes.inspect...
znz (Kazuhiro NISHIYAMA)
09:39 AM Bug #12104 (Rejected): Procs keyword arguments affect value of previous argument
You are right.
It is intentional.
ko1 (Koichi Sasada)
12:42 PM Bug #11844 (Closed): Please update unicode-licensed files (license issue)
Applied in changeset r54129.
----------
* enc/trans/JIS: update Unicode's notice. [Bug #11844]
naruse (Yui NARUSE)
07:39 AM Bug #11844: Please update unicode-licensed files (license issue)
We have looked at this issue at today's developers' meeting
Christian Hofstaedtler wrote:
> The non-free problem ...
duerst (Martin Dürst)
11:03 AM Bug #12137 (Closed): Ruby2.3 blk.binding crashes instead of giving "Can't create Binding from C level Proc (ArgumentError)"
Applied in changeset r54128.
----------
proc.c: fail symbol proc binding
* proc.c (proc_binding): proc from symbol ...
nobu (Nobuyoshi Nakada)
10:19 AM Feature #12173: `Time#till_now`
> I think it would be best for these from_now and until_now methods to return
> a Time object rather than a Float.
...
shevegen (Robert A. Heiler)
10:17 AM Bug #12159: Thread::Backtrace::Location#path returns absolute path for files loaded by require_relative
Agreed - should be more clearly written to reflect the current behaviour. shevegen (Robert A. Heiler)
09:51 AM Feature #12119 (Assigned): next_prime for lib/prime.rb
shyouhei (Shyouhei Urabe)
09:41 AM Bug #12106 (Assigned): Behavior of double splatting of hashes with non symbol key is different according to splatted hash position
shyouhei (Shyouhei Urabe)
09:13 AM Bug #12091 (Assigned): Freezing a SortedSet breaks Enumerable
shyouhei (Shyouhei Urabe)
09:12 AM Bug #12162 (Assigned): OpenSSL::PKCS7 seems to create broken objects (nested asn.1 error)
shyouhei (Shyouhei Urabe)
09:11 AM Bug #12112 (Assigned): Resolv.getname with IPv6 noop
shyouhei (Shyouhei Urabe)
08:57 AM Feature #12125: Proposal: Shorthand operator for Object#method
How about `File[.basename]` ? hanachin (Seiei Miyagi)
07:40 AM Feature #12039: Fixnum#infinite?/Bignum#infinite or Numeric#infinte, consistent with Float#infinite? and BigDecimal#infinite?
Agreed. Add #finite? and #infinite?
Matz.
matz (Yukihiro Matsumoto)
07:39 AM Feature #12005 (Assigned): Unify Fixnum and Bignum into Integer
shyouhei (Shyouhei Urabe)
05:46 AM Bug #12181 (Closed): ブロックがたくさんあるファイルを編集するとruby-modeが重い
ブロックがたくさんあるファイルの真ん中あたりを編集しようとすると、改行のたびにオートインデントのためにしばらく待たされてしまいます。
[test_configurable.rb][1]の真ん中あたりを編集すると重くなって、それよ...
okkez (okkez _)

03/15/2016

11:23 PM Feature #12173: `Time#till_now`
I think it would be best for these `from_now` and `until_now` methods to return a Time object rather than a Float. elifoster (Eli Clemente Gordillo Foster)
08:21 AM Feature #12173: `Time#till_now`
Tsuyoshi Sawada wrote:
> It is very frequent to have a time instance:
>
> ~~~RUBY
> t = Time.now
> ~~~
>
> a...
Eregon (Benoit Daloze)
04:54 AM Feature #12173: `Time#till_now`
Tsuyoshi Sawada wrote:
> That is a homonym (as well as a homograph) of the word in question.
I also think "till" ...
avit (Andrew Vit)
01:41 AM Feature #12173: `Time#till_now`
2016-03-14 21:06 GMT-04:00 <[email protected]>:
> Issue #12173 has been updated by Matthew Kerwin.
>
>
> Ts...
kosaki (Motohiro KOSAKI)
01:06 AM Feature #12173: `Time#till_now`
Tsuyoshi Sawada wrote:
> Matthew Kerwin wrote:
> > *till* means cash register, or to plough soil.
>
> That is a ...
phluid61 (Matthew Kerwin)
12:32 AM Feature #12173: `Time#till_now`
Matthew Kerwin wrote:
> *till* means cash register, or to plough soil.
That is a homonym (as well as a homograph)...
sawa (Tsuyoshi Sawada)
12:10 AM Feature #12173: `Time#till_now`
Tsuyoshi Sawada wrote:
> Matthew Kerwin wrote:
> > Please note that "till_now" is not correct spelling; it should b...
phluid61 (Matthew Kerwin)
10:19 PM Bug #12146: Some between gem pg, postgresql and rails seems broken: active_record/connection_adapters/postgresql/database_statements.rb:155: [BUG] Segmentation fault at 0x00000000000000
Hello Nobuyoshi Nakada. I been trying to solve this trouble, but my experience is limited. Do you know what causes th... dieglock (Diego Carlock)
08:58 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> > The most exciting thing for me is that better hash tables can improve the performance of rea...
vmakarov (Vladimir Makarov)
08:13 PM Feature #12142: Hash tables with open addressing
> The most exciting thing for me is that better hash tables can improve the performance of real applications.
So t...
funny_falcon (Yura Sokolov)
07:37 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> Murmur is not used for Hash, cause it is target for hashDoS - it has seed independent collisio...
vmakarov (Vladimir Makarov)
06:26 PM Feature #12142: Hash tables with open addressing
>> I made the entries array is cyclical to exclude overhead of table
compaction or/and table size change for usage t...
funny_falcon (Yura Sokolov)
06:23 PM Feature #12142: Hash tables with open addressing
Murmur is not used for Hash, cause it is target for hashDoS - it has seed independent collisions.
City64 also has se...
funny_falcon (Yura Sokolov)
04:34 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> Good day, everyone.
>
> I'm presenting my (pre)final version of patch.
Thanks. I'll i...
vmakarov (Vladimir Makarov)
01:30 PM Feature #12142: Hash tables with open addressing
Good day, everyone.
I'm presenting my (pre)final version of patch.
It passes all tests and redmine works on it wi...
funny_falcon (Yura Sokolov)
08:06 PM Feature #12125: Proposal: Shorthand operator for Object#method
-1000
Please, don't!!!
I don't wonna Ruby to become Perl!!!
No more unnecessary syntax!!!
You all are not...
funny_falcon (Yura Sokolov)
07:56 PM Feature #12125: Proposal: Shorthand operator for Object#method
Yusuke Endoh wrote:
> Nobuyoshi Nakada wrote:
> > Yusuke Endoh wrote:
> > > +1 for this proposal. How about `recv...
Papierkorb (Stefan Merettig)
03:41 AM Feature #12125: Proposal: Shorthand operator for Object#method
Nobuyoshi Nakada wrote:
> Yusuke Endoh wrote:
> > +1 for this proposal. How about `recv.:fname`?
>
> `dot_or_co...
mame (Yusuke Endoh)
01:35 AM Feature #12125: Proposal: Shorthand operator for Object#method
Yusuke Endoh wrote:
> +1 for this proposal. How about `recv.:fname`?
`dot_or_colon` means that `File:::basename`...
nobu (Nobuyoshi Nakada)
07:11 PM Feature #12180: switch id_table.c variant
Well, in fact '22' implementation (`simple open addressing with quadratic probing`) is even faster:
`Requests per ...
funny_falcon (Yura Sokolov)
06:51 PM Feature #12180 (Closed): switch id_table.c variant
Currently used variant is 'binary search in small table + hash for large tables'.
But for contemporary CPU it may be...
funny_falcon (Yura Sokolov)
05:19 PM Bug #12179 (Open): Build failure due to VPATH expansion
On my environment (GNU Make 4.1), I can reproduce in this way:
~~~sh
cd /tmp
svn co http://svn.ruby-lang.org/rep...
rhenium (Kazuki Yamaguchi)
04:42 PM Feature #11955: Expose Object that Receives logs in Logger
Anything else that needs to be done for this patch? schneems (Richard Schneeman)
04:21 PM Bug #12095: ruby_vm_at_exit can sometime cause a crash.
Thank you for the feedback nobu!
Attached is an updated version of the patch with the changes.
evanphx (Evan Phoenix)
03:46 AM Bug #12095: ruby_vm_at_exit can sometime cause a crash.
Thank you for the investigation and the patch, I've missed this.
you should:
* `free` the list in `ruby_vm_run_...
nobu (Nobuyoshi Nakada)
02:47 AM Bug #12095: ruby_vm_at_exit can sometime cause a crash.
Attached is a patch that fixes this issue by replacing the troublesome usage of a VALUE to store the at_exit function... evanphx (Evan Phoenix)
12:11 AM Bug #12095: ruby_vm_at_exit can sometime cause a crash.
I'm hitting this as well, and looking over the code in question on 2.3.0, I wondering if the problem is that the at_e... evanphx (Evan Phoenix)
02:37 PM Bug #12178 (Closed): Enumerable#inject(:+) doesn't respect redefined Fixnum#+
Fixed at r54122 akr (Akira Tanaka)
11:58 AM Bug #12178 (Closed): Enumerable#inject(:+) doesn't respect redefined Fixnum#+
r54120以降、Fixnum#+ を再定義している場合(する奴はいないとは思うものの)、inject(:+) の中で再定義後のメソッドが呼ばれなくなります。
```
C:\> ruby -ve "class Fixnum; ...
usa (Usaku NAKAMURA)
11:27 AM Bug #12177 (Closed): Using `if:` as symbol in hash with new hash syntax in irb console is not working
Try running **irb** and past this in:
~~~
# This works
class TestClass
@_alerts_config = {}
class << sel...
nielsks (Niels Kristian)
08:50 AM Feature #12134: Comparison between `true` and `false`
Martin Dürst wrote:
> Tsuyoshi Sawada wrote:
>
> > Please do not confuse this with the common proposal to map boo...
sawa (Tsuyoshi Sawada)
08:14 AM Feature #12133: Ability to exclude start when defining a range
Combination of different parens would be problematic for many reasons, e.g., editors.
Maybe, neko operator in Perl6?
nobu (Nobuyoshi Nakada)
06:57 AM Feature #12133 (Feedback): Ability to exclude start when defining a range
Do you have any practical situation where this is useful? The proposed grammar is ultra-hard to implement at sight (... shyouhei (Shyouhei Urabe)
06:17 AM Bug #12109: Exception during class load can cause partially-loaded class
You can write virtually anything inside a class definition. I don't think it's practically possible to revert all op... shyouhei (Shyouhei Urabe)
06:03 AM Bug #12105 (Third Party's Issue): JSON.pretty_generate throws a TypeError when there is a BigDecimal object as a value
It works for me. Can you narrow the condition to reproduce yours?
~~~
zsh % rbenv exec irb
irb(main):001:0> RUB...
shyouhei (Shyouhei Urabe)
05:58 AM Bug #12176: method equality of aliased methods breakage on 2.3
I think it is a bug. nobu (Nobuyoshi Nakada)
04:57 AM Bug #12176 (Closed): method equality of aliased methods breakage on 2.3
Is this intentional?
~~~ruby
zsh % cat tmp.rb
module Foo
def foo
return __callee__
end
end
class ...
shyouhei (Shyouhei Urabe)
03:51 AM Bug #12143 (Closed): [DOC] Fix RDoc markup in doc/extension*.rdoc
Applied in changeset r54110.
----------
* doc/extension.ja.rdoc: Fix RDoc markup in doc/extension*.rdoc.
[ci skip]...
hsbt (Hiroshi SHIBATA)
03:16 AM Bug #12073 (Closed): local variable interferes with keyword arguments
Sean Linsley wrote:
> This is also an issue with array destructuring:
You are warned.
```
$ ruby -w -e 'def a...
nobu (Nobuyoshi Nakada)
12:30 AM Bug #12073: local variable interferes with keyword arguments
This is also an issue with array destructuring:
```ruby
def a(*b)
b
end
a = [1,2,3]
a a
=> [[1, 2, 3]...
seanlinsley (Sean Linsley)
03:14 AM Bug #12170 (Closed): Malformed RDoc syntax in Kernel#catch description
Applied at r54089 hsbt (Hiroshi SHIBATA)
02:56 AM Misc #12122 (Closed): Array Documentation (set intersection, union)
Merged at r53958 hsbt (Hiroshi SHIBATA)
02:30 AM Bug #12174 (Rejected): Interpolation ignores `to_s` (and `inspect`) when `to_s` is defined to `nil`.
Yes, to be interpolated into a string, `to_s` must return a string.
Non-string object cannot be concatenated to a st...
nobu (Nobuyoshi Nakada)

03/14/2016

11:09 PM Bug #12175 (Closed): rb_gc_mark prevents the value from being garbage collected if called outside of a GC cycle
I had some code that called rb_gc_mark in an initializer function instead of in the corresponding mark function, and ... murgatroid99 (Michael Lumish)
10:52 PM Bug #12174: Interpolation ignores `to_s` (and `inspect`) when `to_s` is defined to `nil`.
The description was too specific. Whenever `to_s` is defined to be not a string, the issue arises. sawa (Tsuyoshi Sawada)
05:36 PM Bug #12174 (Rejected): Interpolation ignores `to_s` (and `inspect`) when `to_s` is defined to `nil`.
When `to_s` is defined to return `nil`, interpolation prints the original inspection.
~~~RUBY
class A
def to_s...
sawa (Tsuyoshi Sawada)
10:24 PM Feature #12173: `Time#till_now`
Matthew Kerwin wrote:
> Please note that "till_now" is not correct spelling; it should be "until_now" or "til_now"
...
sawa (Tsuyoshi Sawada)
08:55 PM Feature #12173: `Time#till_now`
This is related to (but different from) #8640, #8096 phluid61 (Matthew Kerwin)
08:41 PM Feature #12173: `Time#till_now`
I would use both of these if they existed, and have defined my own equivalent versions in past projects.
Please no...
phluid61 (Matthew Kerwin)
07:48 PM Feature #12173: `Time#till_now`
This can also be used to wait until a preset time:
~~~RUBY
target_time = Time.new(2017, 1, 1, 0, 0, 0)
sleep(-ta...
sawa (Tsuyoshi Sawada)
04:57 PM Feature #12173 (Open): `Time#till_now`
It is very frequent to have a time instance:
~~~RUBY
t = Time.now
~~~
and then after some operations, do:
...
sawa (Tsuyoshi Sawada)
07:03 PM Feature #12026: Support warning processor
Since this will be discussed tomorrow at the developers meeting, here's a more detailed example of how this can be us... jeremyevans0 (Jeremy Evans)
06:09 PM Feature #12092: Allow Object#clone to yield cloned object before freezing
Since this will be discussed tomorrow at the developers meeting, here's a more detailed example of how this can be us... jeremyevans0 (Jeremy Evans)
04:46 PM Feature #12125: Proposal: Shorthand operator for Object#method
+1 for this proposal. How about `recv.:fname`?
~~~
$ ./miniruby -e 'p Dir["*/*.c"].map(&File.:basename)'
["hypo...
mame (Yusuke Endoh)
01:44 AM Feature #12125: Proposal: Shorthand operator for Object#method
It would be nice if we could find symmetric syntax for getting an `UnboundMethod` from a module. jwmittag (Jörg W Mittag)
01:42 AM Feature #12125: Proposal: Shorthand operator for Object#method
A proposal that has existed for years, if not decades, is to deprecate usage of the `::` double colon binary infix na... jwmittag (Jörg W Mittag)
01:30 PM Feature #12172 (Closed): Array#max and Array#min
I propose to define `Array#max`. It is 10+ times faster than `Enumerable#max` since it skips a call to `#each`.
~...
mame (Yusuke Endoh)
09:55 AM Bug #9905 (Closed): Fiber does not work on AIX
Change status as Closed to enqueue backport. naruse (Yui NARUSE)
01:35 AM Feature #12129: syntactic sugar for dynamic method dispatch `object_expression:method_name_expression(1, 2)`
bug hit wrote:
> Yukihiro Matsumoto wrote:
>> Describe more concretely and preferably tell us why do you need it, p...
jwmittag (Jörg W Mittag)
01:32 AM Feature #12141: send and __send__
Martin Dürst wrote:
> I agree with Yusuke. The name `__send__` is chosen explicitly to show that this is an 'interna...
jwmittag (Jörg W Mittag)
01:31 AM Bug #12069: [PATCH] document OpenSSL::SSL::SSLContext#setup as MT-unsafe
Committed with a minor wording change as r54097
s/SSLSockets/SSLSocket objects/ for searchability
normalperson (Eric Wong)
01:20 AM Bug #12069 (Closed): [PATCH] document OpenSSL::SSL::SSLContext#setup as MT-unsafe
Applied in changeset r54097.
----------
document OpenSSL::SSL::SSLContext#setup as MT-unsafe
On a cursory inspectio...
Anonymous
12:41 AM Bug #12163 (Rejected): New to redmine & ruby, cannot get it to install
This is not language issue.
You need to setup development files like headers and shared libraries.
hsbt (Hiroshi SHIBATA)

03/13/2016

09:50 AM Feature #12161 (Assigned): Friendly BigDecimal#inspect
mrkn (Kenta Murata)
12:43 AM Bug #12171 (Closed): TestFile#test_file_share_delete failure
Applied in changeset r54094.
----------
win32.h: fix O_SHARE_DELETE
* include/ruby/win32.h (O_SHARE_DELETE): change...
nobu (Nobuyoshi Nakada)

03/12/2016

11:33 AM Bug #12171 (Closed): TestFile#test_file_share_delete failure
I got an failure in Mingw-w64 32bit.
~~~
1) Failure:
TestFile#test_file_share_delete [E:/Jenkins/jobs/RubyInstal...
moritat (Tsuyoshi Morita)
10:55 AM Feature #12165: Hash#first, Hash#last
Yes, I would concur considering that ruby hashes are ordered these days.
It may have been different in the past wh...
shevegen (Robert A. Heiler)
10:51 AM Bug #12163: New to redmine & ruby, cannot get it to install
I am not sure if this is the appropriate forum Dawes? Since this is for the ruby core team to
have a look at what ai...
shevegen (Robert A. Heiler)
08:01 AM Feature #12110: Create a method to avoid vacuous truth?
Nobuyoshi Nakada wrote:
> Anybody proposed an optional parameter for the default value to `#all?` and `#any?` ?
...
sawa (Tsuyoshi Sawada)
07:06 AM Feature #12110: Create a method to avoid vacuous truth?
Anybody proposed an optional parameter for the default value to `#all?` and `#any?` ?
nobu (Nobuyoshi Nakada)

03/11/2016

06:32 PM Feature #3944: Add Fiber#root? method
For example, the Facebook Graph API server accepts POST request to calculate smth heavy and returns id of the 'async ... Nakilon (Victor Maslov)
04:07 PM Bug #12170 (Closed): Malformed RDoc syntax in Kernel#catch description
Patch attached. skalee (Sebastian Skalacki)
01:05 PM Bug #12169 (Rejected): How to solve the following error - An error occurred while sending the digest (undefined method `length' for true:TrueClass)
It's redmine or some plugin issue. Not ruby language issue. hsbt (Hiroshi SHIBATA)
12:14 PM Bug #12169 (Rejected): How to solve the following error - An error occurred while sending the digest (undefined method `length' for true:TrueClass)
Steps to reproduce
1)Install Redmine 3
2)Install redmine_digest
3)Navigate to plugins
4)Configure redmine digest...
shruthi (shruthi ss)
12:42 AM Bug #12164: Binding UnboundMethod to BasicObject
"Yes" was to
> Probably it is somehow related to https://bugs.ruby-lang.org/issues/11278
I guess it's a bug-fix, ...
nobu (Nobuyoshi Nakada)
12:21 AM Bug #9905: Fiber does not work on AIX
Could you back-port this to 2.1 as well? Thanks. ReiOdaira (Rei Odaira)
12:16 AM Bug #12168 (Closed): Backport r48224 to 2.1
This is a ticket to back-port r48224 (and the fixes on which it depends) to 2.1. Ruby 2.1 gets stuck in test/openssl/... ReiOdaira (Rei Odaira)
 

Also available in: Atom