Project

General

Profile

Activity

From 11/25/2012 to 12/01/2012

12/01/2012

11:24 PM Feature #7488 (Assigned): Receiving object_id in object creation probes
Hi.
I want to get a object id in object creation probes to know a creation
point of a suspect object.
I've wro...
authorNari (Narihiro Nakamura)
10:19 PM Feature #7487: Cutting through the issues with Refinements
This is too big, but refinements aren't? trans (Thomas Sawyer)
01:31 PM Feature #7487: Cutting through the issues with Refinements
And it's too big to next minor.
Matz.
matz (Yukihiro Matsumoto)
09:55 AM Feature #7487: Cutting through the issues with Refinements
Sorry, cuts are too late for ruby 2.0.0. We started feature freeze last month. drbrain (Eric Hodel)
09:13 AM Feature #7487: Cutting through the issues with Refinements
Here is a slightly more updated version of the RCR: https://github.com/rubyworks/cuts/blob/master/RCR.textile trans (Thomas Sawyer)
08:55 AM Feature #7487 (Rejected): Cutting through the issues with Refinements
=begin
In issue #4085, there has been a long somewhat contentious discussion about Refinements. While it seems that ...
trans (Thomas Sawyer)
09:23 PM Feature #4085: Refinements and nested methods
On 30.11.2012 20:41, headius (Charles Nutter) wrote:
> respond_to? brings up a really good point: there's lots of ...
The8472 (Aaron G)
06:46 AM Feature #4085: Refinements and nested methods
Could someone make a summary of the current proposed refinements feature in the next couple of days once the churn of... enebo (Thomas Enebo)
05:16 AM Feature #4085: Refinements and nested methods
shugo (Shugo Maeda) wrote:
> I mean that all refinements appear in the method lookup 1.blah, but
> the only first...
headius (Charles Nutter)
05:07 AM Feature #4085: Refinements and nested methods
shugo (Shugo Maeda) wrote:
> I guess your idea is similar to ko1's idea using prepend to implement refinements.
> W...
headius (Charles Nutter)
05:02 AM Feature #4085: Refinements and nested methods
Anonymous wrote:
> Hi,
>
> In message "Re: [ruby-core:50355] [ruby-trunk - Feature #4085] Refinements and neste...
headius (Charles Nutter)
04:54 AM Feature #4085: Refinements and nested methods
Anonymous wrote:
> |This is incredibly confusing to me. Why are the String refinements active within the refine Arr...
headius (Charles Nutter)
04:41 AM Feature #4085: Refinements and nested methods
Anonymous wrote:
> From usability perspective, all retrospective methods e.g. respond_to?
> methods etc. should r...
headius (Charles Nutter)
03:59 AM Feature #4085: Refinements and nested methods
> Since there still remain undefined corner case behavior in refinements, and the time is running out, I decided not... The8472 (Aaron G)
08:31 PM Bug #7356: ruby-2.0.0-preview1 で adlint-2.6.10 が性能劣化
wanabe さん、情報ありがとうございます。
下記のバージョンで再測定してみました。
* ruby 1.9.3p327 (2012-11-10 revision 37606) [i686-linux]
* ruby 2.0...
yanoh (Yutaka Yanoh)
07:24 PM Bug #5986 (Closed): Segmentation Fault
This issue was solved with changeset r38120.
Luis, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
06:44 PM Bug #5986: Segmentation Fault
Since that to_ary method creates new arrays for each time, rb_exec_recursive() can't catch it. nobu (Nobuyoshi Nakada)
06:53 PM Bug #7481 (Closed): gem cleanup が正常に完了しない
Committed, thank you kou! drbrain (Eric Hodel)
02:40 PM Bug #7481 (Assigned): gem cleanup が正常に完了しない
RubyGemsのリポジトリの方に修正するコミットをしておきました。drbrainに確認してもらったらtrunkの方に入ります!(drbrainが入れてくれるはず!)
https://github.com/rubygems/ru...
kou (Kouhei Sutou)
01:55 PM Bug #7481: gem cleanup が正常に完了しない
あ、再現できた気がします。一番最後のcleanupでmongo-1.7.1がuninstallできないのが問題という事ですね。
% /tmp/local/bin/gem install mongo
Fetching: i1...
kou (Kouhei Sutou)
01:42 PM Bug #7481: gem cleanup が正常に完了しない
gem listもらえませんか!?
手元でも試してみます。
kou (Kouhei Sutou)
06:16 PM Feature #6539 (Closed): public and private for core methods
This issue was solved with changeset r38113.
Marc-Andre, thank you for reporting this issue.
Your contribution to Rub...
nobu (Nobuyoshi Nakada)
05:13 PM Bug #6742 (Closed): Emacs compilation-shell-minor-mode misconfiguration
This issue was solved with changeset r38107.
Jean-Christophe, thank you for reporting this issue.
Your contribution t...
nobu (Nobuyoshi Nakada)
01:52 PM Bug #7485: ruby cannot build on mingw32 or FreeBSD 8 due to missing __sync_val_compare_and_swap
I guess -march=i486 enable __sync_val_compare_and_swap. kosaki (Motohiro KOSAKI)
09:11 AM Bug #7485: ruby cannot build on mingw32 or FreeBSD 8 due to missing __sync_val_compare_and_swap
@nobu Why do we have to bother old broken compiler? shyouhei (Shyouhei Urabe)
08:41 AM Bug #7485: ruby cannot build on mingw32 or FreeBSD 8 due to missing __sync_val_compare_and_swap
__sync_or_and_fetch wasn't available in Apple derivative gcc. nobu (Nobuyoshi Nakada)
07:38 AM Bug #7485 (Closed): ruby cannot build on mingw32 or FreeBSD 8 due to missing __sync_val_compare_and_swap
mingw32 GCC has the other atomic builtins but not this one. The attached patch checks for the GCC builtins used in r... drbrain (Eric Hodel)
12:52 PM Feature #7427: Update Rubygems
I can build 2.0.0-preview1 on 32bit XP SP3 (right click My Computer -> properties) using the mingw-32-4.6.2 toolchain... jonforums (Jon Forums)
10:37 AM Feature #7427: Update Rubygems
drbrain (Eric Hodel) wrote:
> set and ruby -v: http://paste.segment7.net/ace.html
Looks ok.

> gem env: http...
jonforums (Jon Forums)
09:27 AM Feature #7427: Update Rubygems
set and ruby -v: http://paste.segment7.net/ace.html
gem env: http://paste.segment.net/acf.html
drbrain (Eric Hodel)
08:21 AM Feature #7427: Update Rubygems
Odd. On both my trunk (mingw-w64 gcc 4.7.2) and ruby_1_9_3 (mingw.org gcc 4.6.2) builds, HAVE_GCC_ATOMIC_BUILTINS is... jonforums (Jon Forums)
07:39 AM Feature #7427: Update Rubygems
Filed #7485 drbrain (Eric Hodel)
07:35 AM Feature #7427: Update Rubygems
It seems that using rubyinstaller downloaded its own compiler, so I don't think it got in the way. Since configure d... drbrain (Eric Hodel)
07:30 AM Feature #7427: Update Rubygems
drbrain (Eric Hodel) wrote:
> The RubyInstaller build tools are fantastic!
>
> Unfortunately I fail at exactly th...
luislavena (Luis Lavena)
07:26 AM Feature #7427: Update Rubygems
The RubyInstaller build tools are fantastic!
Unfortunately I fail at exactly the same spot, undefined reference to...
drbrain (Eric Hodel)
07:00 AM Feature #7427: Update Rubygems
Don't worry about installing a toolchain and double check that you have a minimal PATH and clean env vars; no pointer... jonforums (Jon Forums)
06:36 AM Feature #7427: Update Rubygems
=begin
I have Windows XP running in VirtualBox. (I don't have a license for a newer version.) I believe I have it ...
drbrain (Eric Hodel)
06:07 AM Feature #7427: Update Rubygems
> r38074 was good. r38071 is fine. The message may not be completely correct, but without a windows environment it is... jonforums (Jon Forums)
04:37 AM Feature #7427: Update Rubygems
Thank you for your assistance, usa!
I imported all these fixes and your RDoc fix.
r38074 was good. r38071 is fi...
drbrain (Eric Hodel)
02:24 AM Feature #7427 (Closed): Update Rubygems
I hope... I've fixed... all problems on Windows... cause by rubygems.....
Eric, check these revisions and merge yo...
usa (Usaku NAKAMURA)
08:57 AM Feature #7486: Cutting through the issues with Refinements
Please disregard this issue. Something went wrong with the RD syntax, so I just created a new issue b/c I saw no way ... trans (Thomas Sawyer)
08:50 AM Feature #7486 (Rejected): Cutting through the issues with Refinements
=begin
In issue #4085, there has been a long somewhat contentious discussion about Refinements. While it seems that ...
trans (Thomas Sawyer)
08:54 AM Bug #7197: Error: test_tls_v1_2(OpenSSL::TestSSL)
fwiw, I still get this on trunk with ubuntu 12.10
uname -a:
Linux ux31a 3.5.0-18-generic #29-Ubuntu SMP Fri Oct 1...
zzak (zzak _)
06:38 AM Feature #7426 (Closed): Update Rdoc
drbrain (Eric Hodel)
04:41 AM Feature #4276: Allow use of quotes in symbol syntactic sugar for hashes
Sorry, this feature is too late for 2.0.0 drbrain (Eric Hodel)
02:31 AM Feature #4276: Allow use of quotes in symbol syntactic sugar for hashes
This would improve a lot of my code that's punctuated with `{ foo: bar, :'hoge' => piyo }`. Switching syntax is a men... bitsweat (Jeremy Daer)
04:23 AM Feature #6762: Control interrupt timing
OK. I see the logic in using the term "interrupt" if you are actually
trying to unify exceptions from other threa...
brent (Brent Roman)
02:39 AM Bug #7484 (Closed): Fiddle::Importer incompatibility with DL::Importer
As described in r38054, Fiddle::Importer is not compatible with DL::Importer about :stdcall.
I hope attached patch f...
ngoto (Naohisa Goto)
02:28 AM Bug #7482: test_system_redirect_win(TestSystem) failure on Windows 8
Ah, I should check these Win8 tickets, but I have no time before the release
limit of preview 2.
Committers, plea...
usa (Usaku NAKAMURA)
02:02 AM Feature #6670: str.chars.last should be possible
duerst (Martin Dürst) wrote:
> For with_index in particular, wouldn't it make sense to either add it to Enumerable o...
yhara (Yutaka HARA)
01:28 AM Feature #6670: str.chars.last should be possible
I often use StringIO as an IO substitute for tests. I would prefer matching behavior.
You can get the last line by...
drbrain (Eric Hodel)
01:57 AM Bug #7440 (Rejected): IO#lines etc. should return Array
This issue is now included in #6670. yhara (Yutaka HARA)
12:57 AM Bug #7483 (Closed): Fiddle::Function::STDCALL is never defined even on WIN32
This issue was solved with changeset r38073.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby i...
ngoto (Naohisa Goto)
12:44 AM Bug #7483 (Closed): Fiddle::Function::STDCALL is never defined even on WIN32
In ext/fiddle/function.c, Fiddle::Function::STDCALL is defined only when "#ifdef FFI_STDCALL" is true. However, in ff... ngoto (Naohisa Goto)

11/30/2012

11:43 PM Feature #1586: Including a module already present in ancestors should not be ignored
As Clay said, I think the example I gave previously is not the way to go.
The important aspect is the ability to i...
marcandre (Marc-Andre Lafortune)
07:04 PM Feature #1586: Including a module already present in ancestors should not be ignored
This would cause compatibility issue, in some cases, when a module is
included twice but it expects it never get cal...
nobu (Nobuyoshi Nakada)
10:58 PM Bug #7482 (Closed): test_system_redirect_win(TestSystem) failure on Windows 8
I found the following test failure on Windows 8.
test_system_redirect_win(TestSystem) [c:/work/snapshot-mg64/test/...
phasis68 (Heesob Park)
10:52 PM Bug #4911 (Closed): timer_thread_function() が thead unsafe
This issue was solved with changeset r38063.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby ...
kosaki (Motohiro KOSAKI)
10:51 PM Bug #7475: Unexpected behavior of Module#append_features on singleton class
Another quick set of observations from this morning:
class Baz
class << self
Const = 'Const'
...
ernie (Ernie Miller)
10:56 AM Bug #7475 (Closed): Unexpected behavior of Module#append_features on singleton class
=begin
A more involved explanation is available at ((<URL:http://erniemiller.org/2012/11/29/ruby-tidbit-include-vs-e...
ernie (Ernie Miller)
09:46 PM Bug #7481 (Closed): gem cleanup が正常に完了しない
gem cleanup を実行すると先頭の gem のみ cleanup に成功し、以降の gem の cleanup に失敗してしまいます。
% yes | gem cleanup
WARN: Unresolved ...
hsbt (Hiroshi SHIBATA)
08:53 PM Feature #4085: Refinements and nested methods
Em 29-11-2012 23:42, Yukihiro Matsumoto escreveu:
> | class C
> | def foo; p :C; end
> | end
> | modul...
rosenfeld (Rodrigo Rosenfeld Rosas)
02:41 PM Feature #4085: Refinements and nested methods
> |* Performance expectations. Is performance being completely ignored here, or shall we set some goals for the impl... jonforums (Jon Forums)
12:23 PM Feature #4085: Refinements and nested methods
Your mail seems to be failed to synced into bugs.ruby-lang.org, so I
reply by e-mail.

2012/11/30 Yukihiro Matsum...
shugo (Shugo Maeda)
11:23 AM Feature #4085: Refinements and nested methods
In message "Re: [ruby-core:50357] [ruby-trunk - Feature #4085] Refinements and nested methods"
on Fri, 30 Nov ...
Anonymous
11:23 AM Feature #4085: Refinements and nested methods
Hi,

In message "Re: [ruby-core:50355] [ruby-trunk - Feature #4085] Refinements and nested methods"
on Fri...
Anonymous
11:04 AM Feature #4085: Refinements and nested methods
headius (Charles Nutter) wrote:
> By stacking, I assume you mean something like this:
>
> class String
> def b...
shugo (Shugo Maeda)
10:58 AM Feature #4085: Refinements and nested methods
> |What happens if the same class is refined both in a module and another module included into that module?
> |For e...
trans (Thomas Sawyer)
10:42 AM Feature #4085: Refinements and nested methods
=begin
@matz
> It makes refinement decoration quite unpredictable. For example,
>
> module M
> refine In...
trans (Thomas Sawyer)
10:23 AM Feature #4085: Refinements and nested methods
In message "Re: [ruby-core:50338] [ruby-trunk - Feature #4085] Refinements and nested methods"
on Fri, 30 Nov 2...
Anonymous
10:00 AM Feature #4085: Refinements and nested methods
Thanks for your answering my questions. I understand your intention.
matz wrote:
> In message "Re: [ruby-core:50...
shugo (Shugo Maeda)
06:23 AM Feature #4085: Refinements and nested methods
In message "Re: [ruby-core:50338] [ruby-trunk - Feature #4085] Refinements and nested methods"
on Fri, 30 Nov ...
Anonymous
04:35 AM Feature #4085: Refinements and nested methods
As headius wants substantive questions, here are some
* What is the plan to make sure, that this feature is compat...
Gibheer (Stefan Radomski)
04:05 AM Feature #4085: Refinements and nested methods
Anonymous wrote:
> In message "Re: [ruby-core:50299] [ruby-trunk - Feature #4085] Refinements and nested methods"
>...
headius (Charles Nutter)
01:53 AM Feature #4085: Refinements and nested methods
On Nov 29, 2012, at 4:56, "steveklabnik (Steve Klabnik)" <[email protected]> wrote:

> Wasn't a 'feature free...
drbrain (Eric Hodel)
01:09 AM Feature #4085: Refinements and nested methods
@rosenfeld -- yeah, that sounds like it would work fine, as long as there wasn't a perf impact just by having the cod... myronmarston (Myron Marston)
01:05 AM Feature #4085: Refinements and nested methods
Myron, congrats for the lead maintainer position in RSpec. You're really doing a great job there.
With regards to ...
rosenfeld (Rodrigo Rosenfeld Rosas)
12:42 AM Feature #4085: Refinements and nested methods
=begin
@headius Your idea of having refinements in class hierarchy is very interesting. It is remarkably similar to C...
trans (Thomas Sawyer)
12:41 AM Feature #4085: Refinements and nested methods
I find refinements to be a _very_ interesting idea, but, as with many others, it concerns me that there aren't rubysp... myronmarston (Myron Marston)
07:59 PM Bug #7443 (Closed): Method redefinition from Fiddle is causing a test failure (MinGW)
This issue was solved with changeset r38055.
Luis, thank you for reporting this issue.
Your contribution to Ruby is g...
usa (Usaku NAKAMURA)
07:59 PM Feature #5174 (Feedback): Export ruby_init_prelude()
I don't think exporting it is a nice idea.
What's wrong with ruby_options(0, 0)?
nobu (Nobuyoshi Nakada)
07:30 PM Feature #7427: Update Rubygems
drbrain, good work!
The current trunk seems to work on many platforms [1], but unfortunately, usa told me that it ...
mame (Yusuke Endoh)
07:23 PM Feature #6762: Control interrupt timing
(2012/11/30 18:59), Brent Roman wrote:
> Koichi,
>
> Sorry about misspelling your name in my previous post. :...
ko1 (Koichi Sasada)
07:23 PM Feature #6762: Control interrupt timing
How about:

Thread.allow_exception(RuntimeError => :on_blocking){
while true
...

- brent
...
brent (Brent Roman)
07:23 PM Feature #6762: Control interrupt timing
Koichi,

Sorry about misspelling your name in my previous post. :-(

In reference to:
----------------
...
brent (Brent Roman)
06:31 PM Feature #6762 (Feedback): Control interrupt timing
I renamed it as [ruby-core:50147] says.
and I also remove/add method:
* thread.c: remove Thread.check_interrup...
ko1 (Koichi Sasada)
06:29 PM Feature #6762: Control interrupt timing
I like this proposal.
It looks very similar to one I made five years ago on this thread:

www.ruby-forum.com/t...
brent (Brent Roman)
06:28 PM Feature #6762 (Closed): Control interrupt timing
This issue was solved with changeset r38046.
Koichi, thank you for reporting this issue.
Your contribution to Ruby is...
ko1 (Koichi Sasada)
05:53 PM Feature #6762: Control interrupt timing
(2012/11/26 13:53), kosaki (Motohiro KOSAKI) wrote:
> Ko1 suggested me defer_async_interrupt or async_interrupt_ti...
ko1 (Koichi Sasada)
07:05 PM Bug #7480 (Closed): tracepoint deadlock on exception without :raise
=begin
to reproduce
TracePoint.new { |tp| p [tp.lineno, tp.event, tp.raised_exception] }.enable { 0 / 0 }
=end
zzak (zzak _)
06:44 PM Bug #7479 (Third Party's Issue): undefined symbol: rb_thread_blocking_region_begin
on linux
[root@localhost ~]# ruby -v
ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux]
[root@localhost ...
kevinbin (hong bin)
06:28 PM Bug #4285 (Closed): Ruby don't have asynchrounous exception safe syntax and It should have.
This issue was solved with changeset r38046.
Koichi, thank you for reporting this issue.
Your contribution to Ruby is...
ko1 (Koichi Sasada)
06:25 PM Feature #6895 (Closed): TracePoint API
This issue was solved with changeset r38045.
Koichi, thank you for reporting this issue.
Your contribution to Ruby is...
zzak (zzak _)
01:22 AM Feature #6895 (Assigned): TracePoint API
I didn't receive your comment from ruby-core.
trans (Thomas Sawyer) wrote:
> > I can't get points.
> > What is "...
ko1 (Koichi Sasada)
06:08 PM Feature #6670: str.chars.last should be possible
knu (Akinori MUSHA) wrote:
> Here's a patch to deprecate #lines, #bytes, #chars and #codepoints of IO-likes.
Mayb...
yhara (Yutaka HARA)
05:43 PM Bug #7342 (Closed): String#<=> checks for a #to_str method on other but never uses it?
This issue was solved with changeset r38044.
Joshua, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
05:43 PM Bug #7478 (Rejected): Do not include vararg.h - always include stdarg.h
Cause : https://gist.github.com/4172330
It seems that stdarg.h is included in many separate C files unconditionall...
funny_falcon (Yura Sokolov)
03:25 PM Feature #7476 (Closed): missing "IP_TRANSPARENT" constant for IP sockets.
There is a missing constant for IP_TRANSPARENT on linux.
to set the TPROXY on a socket I use:
s.setsockopt(Socket::...
elico (Eliezer Croitoru)
02:06 PM Bug #7465 (Closed): Rdoc for CGI (html generation example)
This issue was solved with changeset r38033.
Marcus, thank you for reporting this issue.
Your contribution to Ruby is...
zzak (zzak _)
01:53 PM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
(2012/11/30 10:25), sam.saffron (Sam Saffron) wrote:
> @ko1 will try to write some tests next week.

Thank yo...
ko1 (Koichi Sasada)
10:23 AM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
@ko1 will try to write some tests next week.
On first go I got a segfault:
(pry):1: [BUG] backtrace_collect: ...
sam.saffron (Sam Saffron)
01:53 PM Bug #7326 (Closed): Time.c doc improvements
This issue was solved with changeset r38032.
Bernd, thank you for reporting this issue.
Your contribution to Ruby is ...
zzak (zzak _)
01:02 PM Bug #7471 (Open): character class has duplicated range warning for "" =~ /[\w\W]/
While I worked around this, the warning itself looks like a bug in our regexp engine (Onigmo?). knu (Akinori MUSHA)
01:01 PM Bug #7471 (Closed): character class has duplicated range warning for "" =~ /[\w\W]/
This issue was solved with changeset r38028.
Eric, thank you for reporting this issue.
Your contribution to Ruby is g...
knu (Akinori MUSHA)
08:06 AM Bug #7471 (Closed): character class has duplicated range warning for "" =~ /[\w\W]/
=begin
The warning seems bogus, \w and \W do not overlap.
$ cat test.rb
$-w = true
""=~/[\w\W]/
$ m...
drbrain (Eric Hodel)
12:27 PM Feature #7472: Add a mechanism to remove objects from the GC cycle
@charlie looking at the code and the heap design I think there is very little cheating we could do here.
I vote t...
sam.saffron (Sam Saffron)
11:48 AM Feature #7472: Add a mechanism to remove objects from the GC cycle
What happens if an object in the 'permanent' objectspace references an object in the ephemeral objectspace?
Now this...
Anonymous
10:57 AM Feature #7472: Add a mechanism to remove objects from the GC cycle
> if you mean "move to a different memory address" this will cause crashes.
no, not at all, leave it exactly where...
sam.saffron (Sam Saffron)
09:59 AM Feature #7472: Add a mechanism to remove objects from the GC cycle
sam.saffron (Sam Saffron) wrote:
> How about we add.
>
> GC.skip(object) # remove object from GC cycle, essential...
drbrain (Eric Hodel)
08:47 AM Feature #7472 (Rejected): Add a mechanism to remove objects from the GC cycle
For typical rails apps there is a huge largely static object graph in memory. Requests come in, some objects are adde... sam.saffron (Sam Saffron)
11:54 AM Bug #7469 (Assigned): WEBrick "Could not determine content-length of response body. Set content-length of the response..." even when content-length is set
=begin
I cannot reproduce it with the example code given or by removing (({response.body = ''})), (({response.conten...
drbrain (Eric Hodel)
10:41 AM Bug #7469: WEBrick "Could not determine content-length of response body. Set content-length of the response..." even when content-length is set
We were seeing this as well when using webrick with Rails. However, putting
gem 'webrick', '= 1.3.1'
in the Ge...
steveklabnik (Steve Klabnik)
05:01 AM Bug #7469 (Closed): WEBrick "Could not determine content-length of response body. Set content-length of the response..." even when content-length is set
Minimal demonstration code:
########
require 'webrick'
class BugDemonstrator < WEBrick::HTTPServlet::AbstractS...
meta (mathew murphy)
10:28 AM Bug #7474 (Rejected): I am getting undefined symbol: rb_enable_interrupt when running event machine
I would like to cross report
https://github.com/eventmachine/eventmachine/issues/389
Clearly this breakage cou...
sam.saffron (Sam Saffron)
09:02 AM Feature #7473 (Closed): new events for TracePoint thread_begin/end, b_call/b_end
On the trunk, there are new 4 events for TracePoint.
* vm_trace.c: add events
* :thread_begin - hook at threa...
ko1 (Koichi Sasada)
02:35 AM Bug #7466 (Closed): Hashの大きさによってHash#keysでvalueが返ることがある
This issue was solved with changeset r38000.
Shin-ichiro, thank you for reporting this issue.
Your contribution to Ru...
naruse (Yui NARUSE)
01:09 AM Bug #7466 (Assigned): Hashの大きさによってHash#keysでvalueが返ることがある
naruse (Yui NARUSE)

11/29/2012

11:23 PM Feature #4085: Refinements and nested methods
In message "Re: [ruby-core:50299] [ruby-trunk - Feature #4085] Refinements and nested methods"
on Thu, 29 Nov ...
Anonymous
09:56 PM Feature #4085: Refinements and nested methods
=begin
Sorry, I didn't realize that the form was submitted because redmine is being a bit slow today. This comment wa...
steveklabnik (Steve Klabnik)
09:56 PM Feature #4085: Refinements and nested methods
Wasn't a 'feature freeze' declared on October 24th? Why are major additions to the language being modified post-freez... steveklabnik (Steve Klabnik)
08:43 PM Feature #4085: Refinements and nested methods
Yeah, "using" at file scope will mean a bit of boilerplate to specify it across several files, but since there are no... brainopia (Ravil Bayramgalin)
08:19 PM Feature #4085: Refinements and nested methods
@matz, I like the suggestion of "using" being file scoped, although I don't understand why you want it to be applied ... rosenfeld (Rodrigo Rosenfeld Rosas)
06:59 PM Feature #4085: Refinements and nested methods
@trans I am thinking of combination of require and using, but I don't want to put half baked idea into Ruby 2.0.
So ...
matz (Yukihiro Matsumoto)
06:31 PM Feature #4085: Refinements and nested methods
=begin
> refinements are file scope
That's a very interesting and significant recalibration of refinements. On on...
trans (Thomas Sawyer)
06:09 PM Feature #4085: Refinements and nested methods
Hello,
I followed the discussion of refinements not as close as most others commenting here, but the state I saw t...
Gibheer (Stefan Radomski)
05:43 PM Feature #4085: Refinements and nested methods
The last two comments here again confirm my view that we should not add refinements to Ruby 2.0. Apparently it is not... dbussink (Dirkjan Bussink)
03:02 PM Feature #4085: Refinements and nested methods
matz (Yukihiro Matsumoto) wrote:
> Since there still remain undefined corner case behavior in refinements, and the t...
shugo (Shugo Maeda)
01:56 PM Feature #4085: Refinements and nested methods
Since there still remain undefined corner case behavior in refinements, and the time is running out, I decided not to... matz (Yukihiro Matsumoto)
11:14 PM Bug #5353: TLS v1.0 and less - Attack on CBC mode
=begin
This could be an option:
Index: test/openssl/test_ssl.rb
==============================================...
nahi (Hiroshi Nakamura)
10:54 PM Bug #7463 (Closed): OpenSSL::TestSSL#test_npn_* fail with "string contains null byte" on big-endian machines
This issue was solved with changeset r37996.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby i...
ngoto (Naohisa Goto)
12:29 PM Bug #7463 (Closed): OpenSSL::TestSSL#test_npn_* fail with "string contains null byte" on big-endian machines
On Solaris10 running in sparc64 CPU, during make test-all, the following 4 tests raise "ArgumentError: string contain... ngoto (Naohisa Goto)
10:35 PM Bug #6141 (Feedback): rails-3.2.2+1.9.3p125 の環境で SEGV が発生
すいません、私にassignしたばっかりに放置されてしまいました。。。で、今見てもさっぱりわからないので、再現したらまた教えてください。 nahi (Hiroshi Nakamura)
10:28 PM Bug #4408 (Third Party's Issue): Net::SSH connections are subject to plaintext recovery due to lack of CTR mode
Indeed. Closing this as TPI. Added CTR test at r37994 for making sure we can use CTR. nahi (Hiroshi Nakamura)
10:20 PM Bug #4332 (Third Party's Issue): Some seemingly random segfaults
Thanks for the confirmation. Closing. nahi (Hiroshi Nakamura)
10:05 PM Bug #4418: OpenSSL::PKey::DH#public_key
I like to keep ext/openssl just reflects OpenSSL API but we already have some exceptions in API for ease of use.
I...
nahi (Hiroshi Nakamura)
09:53 PM Bug #3817: current ruby-openssl impl wrongly utilizes CRYPTO_EX_DATA in X509_STORE
Postpone this issue again. Let us (nahi and emboss) know if you seem to be bitten by this. nahi (Hiroshi Nakamura)
07:15 PM Bug #7466 (Closed): Hashの大きさによってHash#keysでvalueが返ることがある
This issue was solved with changeset r37991.
Shin-ichiro, thank you for reporting this issue.
Your contribution to Ru...
nobu (Nobuyoshi Nakada)
04:23 PM Bug #7466 (Closed): Hashの大きさによってHash#keysでvalueが返ることがある
=begin
jpmobileのRuby 2.0対応をやっていてわかったのですが、添付のようなHashでkeysの戻り値が途中でvalueになってしまい、それ以降valueが返るようになります。
% ruby -v
...
conceal_rs (Shin-ichiro OGAWA)
07:07 PM Bug #7467: lib/mkmf.rb merge_lib fails on larger sets of libraries
here is a link to a working patch: https://github.com/tokaido/tokaido-build/blob/master/patches/darwin/1.9.3-p327/fix... mpapis (Michal Papis)
05:42 PM Bug #7467 (Closed): lib/mkmf.rb merge_lib fails on larger sets of libraries
running:
merge_libs(["-lncurses", "-ltinfo", "-lssl", "-lcrypto", "-lz", "-lreadline", "-ltermcap", "-lyaml"],["-l...
mpapis (Michal Papis)
05:50 PM Feature #6823: Where/how should ruby-mode issues be reported?
vote to remove ruby-mode.el. nobu (Nobuyoshi Nakada)
05:45 PM Bug #7190 (Closed): warning: already initialized constant の書式
This issue was solved with changeset r37990.
Tsuyoshi, thank you for reporting this issue.
Your contribution to Ruby ...
nobu (Nobuyoshi Nakada)
05:15 PM Bug #7449 (Closed): Rdoc for obj.object_id
This issue was solved with changeset r37987.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is...
zzak (zzak _)
10:12 AM Bug #7449: Rdoc for obj.object_id
"return a fixnum" is not a specification of #object_id so the more generic "integer" is better. drbrain (Eric Hodel)
05:18 AM Bug #7449: Rdoc for obj.object_id
eric, you mean Fixnum right?
Or change rb_obj_id implementation to return INT2NUM((SIGNED_VALUE)obj);
zzak (zzak _)
05:12 PM Feature #6670: str.chars.last should be possible
We don't have much time left before 2.0 to decide how to change IO#lines, #chars, etc. .
Can we deprecate them for n...
knu (Akinori MUSHA)
02:13 PM Feature #6670: str.chars.last should be possible
yhara (Yutaka HARA) wrote:
> For String, the impact will be limited.
>
> * String#lines returns Array, which ha...
duerst (Martin Dürst)
05:11 PM Bug #7420 (Closed): Writeable pipe and timeout tests are failing (MinGW)
This issue was solved with changeset r37984.
Luis, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
05:07 PM Bug #5350: WeakRef で謎の NoMethodError
Could someone help me understand WeakMap?
I'm looking for a good example, or use-case for it to use in documentati...
zzak (zzak _)
04:04 PM Bug #7465 (Closed): Rdoc for CGI (html generation example)
I "modernized" the example for HTML generation a little,
it now produces HTML4 Strict, validated with the W3C valida...
stomar (Marcus Stollsteimer)
03:54 PM Bug #7464 (Closed): minitest 4.3.2 in r37967 breaks RDoc tests
drbrain (Eric Hodel)
03:53 PM Bug #7464: minitest 4.3.2 in r37967 breaks RDoc tests
Fixed by r37974 thank you naruse drbrain (Eric Hodel)
01:10 PM Bug #7464 (Closed): minitest 4.3.2 in r37967 breaks RDoc tests
=begin
With r37966:
$ svnversion
37966
$ make all test-all TESTS='minitest rdoc'
[…]
Finished tests...
drbrain (Eric Hodel)
02:10 PM Feature #7457 (Closed): GC.stat to return "allocated object count" and "freed object count"
Finally, I introduce two keys.
* total_allocated_object: total allocated object number.
* total_freed_objec...
ko1 (Koichi Sasada)
01:59 PM Feature #7457: GC.stat to return "allocated object count" and "freed object count"
(2012/11/29 5:06), bitsweat (Jeremy Kemper) wrote:
> The ruby-prof gem supports object allocation profiling for 1....
ko1 (Koichi Sasada)
08:53 AM Feature #7457: GC.stat to return "allocated object count" and "freed object count"
Could you commit it?

Thanks!
authorNari (Narihiro Nakamura)
05:06 AM Feature #7457: GC.stat to return "allocated object count" and "freed object count"
Yes!! A million times yes. Tracking *total* allocations makes it possible to profile Ruby code by object creation ins... bitsweat (Jeremy Daer)
04:31 AM Feature #7457 (Closed): GC.stat to return "allocated object count" and "freed object count"
How about to return "allocated object count" and "freed object count"?
The following patch enable to show "total a...
ko1 (Koichi Sasada)
12:44 PM Bug #7462 (Closed): x86_64-linux build failure after r37951
It seems make distclean fixed it.
https://twitter.com/tenderlove/status/273990942866931712
zzak (zzak _)
11:56 AM Bug #7462 (Closed): x86_64-linux build failure after r37951
I can only produce this in my working svn clone, here is the make log:
https://gist.github.com/4166280
re: r37951
zzak (zzak _)
12:25 PM Bug #7442 (Closed): StringScanner#charpos vs StringScanner#pos
I think so. We can keep it unless any serious problem is reported after preview2. Thanks for your quick action!
...
mame (Yusuke Endoh)
09:23 AM Bug #7442: StringScanner#charpos vs StringScanner#pos
No objections (yet)... can this be merged to 2.0 branch for next preview release? zenspider (Ryan Davis)
11:53 AM Bug #7461 (Closed): Deadlock
fixed at r37964 kosaki (Motohiro KOSAKI)
11:49 AM Bug #7461: Deadlock
"minimal" reproduction:
require 'minitest/metametameta'
class TestMiniTestUnit < MetaMetaMetaTestCase
parall...
zenspider (Ryan Davis)
10:45 AM Bug #7461: Deadlock
Sorry. No. 37921 is the first bad. 37920 runs clean. zenspider (Ryan Davis)
10:43 AM Bug #7461: Deadlock
I double checked and r37921 runs clean. zenspider (Ryan Davis)
10:37 AM Bug #7461 (Closed): Deadlock
When I try to update minitest in trunk and run my tests I get the following error:
% ./miniruby -I./lib ./tool/ru...
zenspider (Ryan Davis)
10:03 AM Bug #7460 (Assigned): メインスレッド終了後のサブスレッド終了待ち処理においてデッドロック検知が動作していない
kosaki (Motohiro KOSAKI)
10:02 AM Bug #7460 (Closed): メインスレッド終了後のサブスレッド終了待ち処理においてデッドロック検知が動作していない
[Bug #5368] からの派生なんですが、
Thread.new do
begin
p "sleep1"
sleep
p "sleep2"
ensure
p "stop1"...
kosaki (Motohiro KOSAKI)
09:56 AM Bug #7459 (Closed): at_exit { Thread.new {} } broken in r37921
fixed at r37958
kosaki (Motohiro KOSAKI)
09:44 AM Bug #7459: at_exit { Thread.new {} } broken in r37921
This is blocking my merge of minitest to trunk for 2.0 preview. zenspider (Ryan Davis)
09:40 AM Bug #7459: at_exit { Thread.new {} } broken in r37921
I don't think main thread should be marked dead until after at_exit is done:
% multiruby -e 'p Thread.current; at_...
zenspider (Ryan Davis)
09:19 AM Bug #7459 (Closed): at_exit { Thread.new {} } broken in r37921
ruby -e 'p Thread.current; at_exit { p Thread.current; [Thread.new {}].map(&:join) }'
outputs:
#<Thread:0x007fe...
zenspider (Ryan Davis)
09:23 AM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
(2012/11/28 6:08), sam.saffron (Sam Saffron) wrote:
> I think either 1) or 3-1), works ok.

I committed (3-1)....
ko1 (Koichi Sasada)
09:12 AM Feature #7434 (Closed): Allow caller_locations and backtrace_locations to receive negative params
This issue was solved with changeset r37957.
Sam, thank you for reporting this issue.
Your contribution to Ruby is gr...
ko1 (Koichi Sasada)
04:53 AM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
(2012/11/28 6:08), sam.saffron (Sam Saffron) wrote:
> Though there is an issue with accepting ranges: caller(1..-6...
ko1 (Koichi Sasada)
08:49 AM Feature #5481: Gemifying Ruby standard library
@vo.x Don't count your eggs before they hatch ;) I think the exceptions will be pretty well defined, basically anythi... trans (Thomas Sawyer)
07:22 AM Feature #5481: Gemifying Ruby standard library
@trans You know how it is with exceptions. They tend to become rules and justification for another exceptions. I beli... vo.x (Vit Ondruch)
06:23 AM Feature #5481: Gemifying Ruby standard library
@vo.x Psych would have to be an exception. And really, with the inclusion of libyaml, YAML is becoming more and more ... trans (Thomas Sawyer)
06:17 AM Feature #5481: Gemifying Ruby standard library
@sdaubert That shouldn't be a problem in this case. All the necessary gems would be distributed with the Ruby source ... trans (Thomas Sawyer)
04:30 AM Feature #5481: Gemifying Ruby standard library
trans (Thomas Sawyer) wrote:
> Why keep the source code in the Ruby repository at all? Development occurs at the lib...
sdaubert (Sylvain Daubert)
05:21 AM Bug #7458 (Closed): Depending on value of BigDecimal::limit, addition can give inaccurate results
=begin
This bug is present in ruby-trunk and also in 1.8.7 and 1.9.3p125.
I apologize that I cannot figure out wh...
bpow (Bradford Powell)
04:53 AM Feature #7051: Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread.
(2012/11/27 9:02), SASADA Koichi wrote:
> (2012/09/23 15:43), sam.saffron (Sam Saffron) wrote:
>> Also it feels ...
ko1 (Koichi Sasada)
03:50 AM Feature #7375: embedding libyaml in psych for Ruby 2.0
Aaron, you have to add the ticket in the message, like:
[Feature #7375]
zzak (zzak _)
03:26 AM Feature #7375 (Closed): embedding libyaml in psych for Ruby 2.0
I fixed this in r37919, but it didn't seem to close. I'm closing now. tenderlovemaking (Aaron Patterson)
02:30 AM Feature #5458: DL should be removed
DL is deprecated in trunk. To maintain backwards compatibility, I've moved some parts of DL to Fiddle. We should be... tenderlovemaking (Aaron Patterson)
12:33 AM Bug #7356 (Feedback): ruby-2.0.0-preview1 で adlint-2.6.10 が性能劣化
横からすみません。adlint-benchmark 使わせていただきました。
git bisect で調べてみたのですが、r34948 で rb_ary_push_m() が
rb_ary_cat() を呼び出すように変更されてい...
wanabe (_ wanabe)

11/28/2012

11:41 PM Bug #7455 (Closed): Queue#popで待っている間にtrapに入りその時にQueue#pushされると、Queue#popから戻ってこなくなる。
This issue was solved with changeset r37944.
Masaya, thank you for reporting this issue.
Your contribution to Ruby is...
ko1 (Koichi Sasada)
10:47 PM Bug #7455: Queue#popで待っている間にtrapに入りその時にQueue#pushされると、Queue#popから戻ってこなくなる。
とりあえず原因を書いておくと
1. que.popで、mutex.sleepが呼ばれ、結局sleep_forever()が呼ばれる。ここで一旦 status = THREAD_STOPPED_FOREVERになる
2. Pro...
kosaki (Motohiro KOSAKI)
10:36 PM Bug #7455 (Closed): Queue#popで待っている間にtrapに入りその時にQueue#pushされると、Queue#popから戻ってこなくなる。
以下スクリプトを実行すると期待したように終わらずに、deadlockしてしまいます。
ささださんよろしく。
--
require 'thread'
que = Queue.new
th = Thread.new{
...
tarui (Masaya Tarui)
11:30 PM Feature #5534: Redefine Range class and introduce RelativeNumeric and RelativeRange
=begin
I propose to disregard the second part of my proposal: about (({RelativeNumeric})) and
(({RelativeRange}))....
alexeymuranov (Alexey Muranov)
10:35 PM Bug #3351: stack overflow on super
shugo-san, do you know why Override#foo called only once?
ko1 (Koichi Sasada)
08:01 PM Bug #7445: strptime('%s %z') doesn't work
this is intentional behaviour.
`%s` cannot represent localtime with offset.
`%s` implies utc.
this is just odd as ...
tadf (tadayoshi funaba)
05:31 PM Bug #7450 (Closed): Thread#raise may override Thread#status unexpectedly
This issue was solved with changeset r37931.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby ...
kosaki (Motohiro KOSAKI)
02:10 PM Bug #7450 (Closed): Thread#raise may override Thread#status unexpectedly
test.rb
---------------------
ary = []
t = Thread.new {
begin
sleep
ensure
begin
ary << T...
kosaki (Motohiro KOSAKI)
05:01 PM Bug #4559 (Closed): Proc#== does not match the documented behaviour
This issue was solved with changeset r37929.
Adam, thank you for reporting this issue.
Your contribution to Ruby is g...
ko1 (Koichi Sasada)
04:23 PM Bug #4559: Proc#== does not match the documented behaviour
(2012/11/28 16:10), matz (Yukihiro Matsumoto) wrote:
>
> @ko1 You've chosen the latter option, so it is natural...
ko1 (Koichi Sasada)
04:10 PM Bug #4559: Proc#== does not match the documented behaviour
@ko1 You've chosen the latter option, so it is natural conclusion.
Matz.
matz (Yukihiro Matsumoto)
03:29 PM Bug #7451 (Closed): r37911 breaks build on non gcc or non IA-32 platforms
This issue was solved with changeset r37924.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby i...
ngoto (Naohisa Goto)
03:12 PM Bug #7451 (Closed): r37911 breaks build on non gcc or non IA-32 platforms
r37911 以降、__sync_val_compare_and_swap がリンク失敗したら必ず -march=i486 が付くため、
gccではないコンパイラ、またはIA-32ではない環境ではコンパイルに失敗します。
Su...
ngoto (Naohisa Goto)
02:20 PM Bug #7449: Rdoc for obj.object_id
changing to Integer is fine with me. It seems to be a better type. drbrain (Eric Hodel)
02:05 PM Bug #7449: Rdoc for obj.object_id
zzak (Zachary Scott) wrote:
> Luis, can you confirm this on windows?
I don't think the Windows part is relevant b...
luislavena (Luis Lavena)
01:53 PM Bug #7449: Rdoc for obj.object_id
Luis, can you confirm this on windows? zzak (zzak _)
01:46 PM Bug #7449 (Assigned): Rdoc for obj.object_id
luislavena (Luis Lavena)
01:45 PM Bug #7449 (Closed): Rdoc for obj.object_id
Documentation for return type of obj.object_id is wrong on Windows x64.
C:\Users\phasis>irb
irb(main):001:0> 0.1....
phasis68 (Heesob Park)
01:44 PM Bug #7443: Method redefinition from Fiddle is causing a test failure (MinGW)
=begin
Thank you Aaron
This indeed improved the error, but now we are getting a different one:
http://ci.rubyi...
luislavena (Luis Lavena)
03:54 AM Bug #7443: Method redefinition from Fiddle is causing a test failure (MinGW)
I should probably mention the failures I saw were due to missing libffi headers, carry on! zzak (zzak _)
01:12 PM Bug #6531 (Closed): Increase Racc runtime versions
zzak (zzak _)
01:01 PM Bug #6416: Deadlock when calling Thread#join from signal interrupt context
kosaki (Motohiro KOSAKI) wrote:
> Nari,
>
> In your case, main thread and trap handler uses the same mutex and it...
authorNari (Narihiro Nakamura)
11:46 AM Bug #6416: Deadlock when calling Thread#join from signal interrupt context
Nari,
In your case, main thread and trap handler uses the same mutex and it is racy and deadlockable. Even if I re...
kosaki (Motohiro KOSAKI)
11:31 AM Bug #6416: Deadlock when calling Thread#join from signal interrupt context
Hello
I need sometimes to call Thread#join in Signal.trap when I want to implement safe termination in a server.
...
authorNari (Narihiro Nakamura)
12:20 PM Feature #6670: str.chars.last should be possible
duerst (Martin Dürst) wrote:
> Instead of this proposal, what about adding some/most/all of the Array methods to Enu...
yhara (Yutaka HARA)
09:38 AM Feature #6670: str.chars.last should be possible
Instead of this proposal, what about adding some/most/all of the Array methods to Enumerator?
E.g. like so:
mod...
duerst (Martin Dürst)
01:32 AM Feature #6670: str.chars.last should be possible
trans (Thomas Sawyer) wrote:
> If I understand correctly, this is going to break a lot of code?
For String, the i...
yhara (Yutaka HARA)
09:31 AM Bug #7442: StringScanner#charpos vs StringScanner#pos
Committed revision 37916.
Please beat up on it.
zenspider (Ryan Davis)
08:57 AM Bug #3022 (Closed): What are $. and ARGF.lineno ?
This issue was solved with changeset r37913.
Marc-Andre, thank you for reporting this issue.
Your contribution to Rub...
zzak (zzak _)
06:08 AM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
I think either 1) or 3-1), works ok.
Though there is an issue with accepting ranges: caller(1..-6, 8) becomes a bi...
sam.saffron (Sam Saffron)
05:59 AM Feature #4085: Refinements and nested methods
shugo (Shugo Maeda) wrote:
> headius (Charles Nutter) wrote:
> > Well, I'm still questioning how super should work ...
headius (Charles Nutter)
03:14 AM Feature #5458: DL should be removed
I wrote a patch for the deprecation notice: https://gist.github.com/4155983 zzak (zzak _)
02:08 AM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
> なお、#1952 ですでに指摘されているように Ctrl-c が押された時にサブスレッドを待たずに終了してしまうという案はSEGVを引き起こすのでNG。
もうちょっとまじめに書くと、SEGVを引き起こすのは終了処理でまじめに...
kosaki (Motohiro KOSAKI)
12:53 AM Feature #5481: Gemifying Ruby standard library
trans (Thomas Sawyer) wrote:
> Why keep the source code in the Ruby repository at all? Development occurs at the lib...
vo.x (Vit Ondruch)
12:19 AM Feature #5481: Gemifying Ruby standard library
Why keep the source code in the Ruby repository at all? Development occurs at the library's repository anyway, so why... trans (Thomas Sawyer)

11/27/2012

11:56 PM Feature #6670: str.chars.last should be possible
Here's a patch to deprecate #lines, #bytes, #chars and #codepoints of IO-likes. knu (Akinori MUSHA)
10:21 PM Feature #6670: str.chars.last should be possible
If I understand correctly, this is going to break a lot of code?
trans (Thomas Sawyer)
08:14 PM Feature #6670: str.chars.last should be possible
It may be an idea to simply obsolete IO#{lines,chars,codepoints,bytes} for now.
First of all, line wise operation is...
knu (Akinori MUSHA)
12:21 PM Feature #6670: str.chars.last should be possible
Okay, I understand that it may be harmful to change the behavior right now.
Then, let's warn a user to use `each_lin...
mame (Yusuke Endoh)
08:15 AM Feature #6670: str.chars.last should be possible
#size will return `nil` for all enumerators based on IO.
Maybe the best is to have `chars` return an array for str...
marcandre (Marc-Andre Lafortune)
05:36 AM Feature #6670 (Assigned): str.chars.last should be possible
Now we have Enumerable#size, so we can know whether the last character is available or not by it.
So how about chang...
naruse (Yui NARUSE)
11:36 PM Bug #7445 (Assigned): strptime('%s %z') doesn't work
usa (Usaku NAKAMURA)
10:33 PM Bug #7445: strptime('%s %z') doesn't work
I've attached a patch that fixes this. Anonymous
05:02 PM Bug #7445 (Rejected): strptime('%s %z') doesn't work
See:
ruby -e "require 'date'; p DateTime.strptime('0 +0100', '%s %z').strftime('%s %z')"
The timezone is ig...
felipec (Felipe Contreras)
11:20 PM Feature #5481: Gemifying Ruby standard library
=begin
Hi,
I played around a bit an put together a few patches. You can find it here: https://github.com/voxik/ru...
vo.x (Vit Ondruch)
10:52 PM Bug #7180: set_trace_func with error in proc block locks up Ruby with 100% cpu usage and no way to exit without killing proc
This can be reproduced inside eval:
eval 'set_trace_func proc {|event, file, line, id, binding, classname| raise...
Anonymous
10:36 PM Bug #6573: Webrick test failures
Thanks to bkabrda and mlartz's minimal reproducer and the investigation, I could easily understand the issue.
I th...
nahi (Hiroshi Nakamura)
10:05 PM Feature #7444: Array#product_set
I'd prefer `Array.product`, all things being the same.
But you have given me a neat idea. In Ruby Facets there is ...
trans (Thomas Sawyer)
02:44 PM Feature #7444 (Assigned): Array#product_set
I'd like to propose `Array#product_set` to return the product set of arrays (aka cartesian product)
deck = [1....
marcandre (Marc-Andre Lafortune)
09:20 PM Bug #7356: ruby-2.0.0-preview1 で adlint-2.6.10 が性能劣化
=begin
まずは ruby 単体で動くベンチマークプログラムを adlint-benchmark という gem で作成しました。
== 短時間で終了する版で測定
% gem install adlint-benc...
yanoh (Yutaka Yanoh)
06:59 PM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
(2012/11/27 18:35), sam.saffron (Sam Saffron) wrote:
>> > The last point is API design.
>> > "negative number" ...
ko1 (Koichi Sasada)
06:35 PM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
> The last point is API design.
> "negative number" to this purpose is feasible?
I like negative numbers cause it h...
sam.saffron (Sam Saffron)
05:23 PM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
(2012/11/27 15:52), sam.saffron (Sam Saffron) wrote:
> Issue #7434 has been updated by sam.saffron (Sam Saffron).
...
ko1 (Koichi Sasada)
03:52 PM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
> My question is: use-case of negative number for performance. Your answer only shows "backtrace is big".
Apologie...
sam.saffron (Sam Saffron)
08:53 AM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
(2012/11/27 7:35), sam.saffron (Sam Saffron) wrote:
> This means that there are 60 or so frames below my applicati...
ko1 (Koichi Sasada)
07:37 AM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
This means, I don't really know how many frames I want to take, I just know how many frames I want to discard. sam.saffron (Sam Saffron)
07:35 AM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
This is a "typical" caller trace for a rails app:
app/controllers/list_controller.rb:8:in `block (2 levels) in ...
sam.saffron (Sam Saffron)
06:24 PM Feature #4085: Refinements and nested methods
headius (Charles Nutter) wrote:
> I would think they stack like module includes, so at lookup time we'd see refined ...
shugo (Shugo Maeda)
01:37 AM Feature #4085: Refinements and nested methods
shugo (Shugo Maeda) wrote:
> headius (Charles Nutter) wrote:
> > {:upcase => {
> > :default => <builtin upcase>,...
headius (Charles Nutter)
06:23 PM Feature #7426: Update Rdoc
On Nov 26, 2012, at 11:21 PM, Eric Hodel <[email protected]> wrote:
> On Nov 26, 2012, at 10:17 PM, Eric Hodel <...
drbrain (Eric Hodel)
04:23 PM Feature #7426: Update Rdoc
On Nov 26, 2012, at 10:17 PM, Eric Hodel <[email protected]> wrote:
> On Nov 26, 2012, at 10:09 PM, Luis Lavena ...
drbrain (Eric Hodel)
03:23 PM Feature #7426: Update Rdoc
On Nov 26, 2012, at 10:09 PM, Luis Lavena <[email protected]> wrote:
> On Tue, Nov 27, 2012 at 12:57 AM, SASADA ...
drbrain (Eric Hodel)
03:23 PM Feature #7426: Update Rdoc
On Tue, Nov 27, 2012 at 12:57 AM, SASADA Koichi <[email protected]> wrote:
> (2012/11/27 13:33), drbrain (Eric Hodel) w...
luislavena (Luis Lavena)
02:59 PM Feature #7426: Update Rdoc
(2012/11/27 13:33), drbrain (Eric Hodel) wrote:
> You may need to delete .ext/rdoc as the format of the ri data ha...
ko1 (Koichi Sasada)
01:32 PM Feature #7426: Update Rdoc
I have updated RDoc to 4.0.
You may need to delete .ext/rdoc as the format of the ri data has changed. While I di...
drbrain (Eric Hodel)
02:49 PM Feature #7427: Update Rubygems
I plan to commit RubyGems by Thursday Pacific Time. drbrain (Eric Hodel)
02:39 PM Feature #6499: Array::zip
I've thought a bit about this, and the proposed `Array.zip` basically already exists if all arrays have the same leng... marcandre (Marc-Andre Lafortune)
01:16 PM Bug #7443: Method redefinition from Fiddle is causing a test failure (MinGW)
Luis, sorry to pollute your ticket, I was just discussing this with drbrain on irc. Ignore me :)
edit: that test pas...
zzak (zzak _)
01:11 PM Bug #7443: Method redefinition from Fiddle is causing a test failure (MinGW)
=begin
zzak (Zachary Scott) wrote:
> For what it's worth, here's the issues I'm getting:
> https://gist.github....
luislavena (Luis Lavena)
01:07 PM Bug #7443: Method redefinition from Fiddle is causing a test failure (MinGW)
For what it's worth, here's the issues I'm getting:
https://gist.github.com/4152220
zzak (zzak _)
01:00 PM Bug #7443 (Closed): Method redefinition from Fiddle is causing a test failure (MinGW)
=begin
The modification introduced in r37881 associated with #5458 is causing a test failure on RubyInstaller CI:
...
luislavena (Luis Lavena)
12:25 PM Bug #7442 (Feedback): StringScanner#charpos vs StringScanner#pos
Sorry, it is too late to fix such a spec-level bug. Setting the target to Next Major.
If you create and commit a pa...
mame (Yusuke Endoh)
11:04 AM Bug #7442 (Closed): StringScanner#charpos vs StringScanner#pos
=begin
I talked to Matz at rubyconf and he agreed this was a bug I should file. Sorry I took so long to do so.
As...
zenspider (Ryan Davis)
12:18 PM Bug #7440: IO#lines etc. should return Array
Eregon (Benoit Daloze) wrote:
> Strongly agreed. It could also increase a lot the memory usage (while on String we a...
yhara (Yutaka HARA)
03:49 AM Bug #7440: IO#lines etc. should return Array
drbrain (Eric Hodel) wrote:
> With the exception of StringIO hey also support infinite streams. I think the current ...
Eregon (Benoit Daloze)
02:29 AM Bug #7440: IO#lines etc. should return Array
With the exception of StringIO hey also support infinite streams. I think the current Enumerator is best. drbrain (Eric Hodel)
01:49 AM Bug #7440: IO#lines etc. should return Array
Is this really wnat you'd want? ARGF and IO (and possibly Zlib's readers) can stream data lazily in lines/chars/bytes... headius (Charles Nutter)
12:46 AM Bug #7440 (Rejected): IO#lines etc. should return Array
String#bytes, #chars, #codepints and #lines are changed to return Array in #6670.
For consistent behavior, followi...
yhara (Yutaka HARA)
12:11 PM Bug #2402: super in instance_eval
shugo (Shugo Maeda) wrote:
> instance_evalの中でsuperを呼んだ時に正しいレシーバを見つけるために r36640 で外側のフレームを辿る
> ようにしたのですが、 Bug #6907 ...
shugo (Shugo Maeda)
11:03 AM Feature #1952: cannot stop with Ctrl+C
ついでというわけではないんですが、mameさんのcomment#10のようなスクリプトへの防御力をあげるため、メインスレッドがサブスレッド終了を待ってる時はステータスをTHREAD_KILLEDに変える修正を r37886 で入れまし... kosaki (Motohiro KOSAKI)
08:08 AM Feature #1952 (Closed): cannot stop with Ctrl+C
This issue was solved with changeset r37875.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is ...
kosaki (Motohiro KOSAKI)
10:53 AM Feature #5458: DL should be removed
On Sat, Nov 24, 2012 at 11:26:16AM +0900, mame (Yusuke Endoh) wrote:
>
> Issue #5458 has been updated by mame (...
Anonymous
09:58 AM Bug #7439 (Closed): Please revert r32841
This issue was solved with changeset r37878.
Vit, thank you for reporting this issue.
Your contribution to Ruby is gr...
nobu (Nobuyoshi Nakada)
06:45 AM Bug #7439 (Assigned): Please revert r32841
Well, may be it was incomprehensible, but I really wanted you to accept my patch, not fix the Ruby 1.8 support as a B... vo.x (Vit Ondruch)
04:12 AM Bug #7439 (Closed): Please revert r32841
This issue was solved with changeset r37870.
Vit, thank you for reporting this issue.
Your contribution to Ruby is gr...
nobu (Nobuyoshi Nakada)
03:58 AM Bug #7439: Please revert r32841
That line is not in r32841. nobu (Nobuyoshi Nakada)
09:23 AM Feature #7051: Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread.
(2012/09/23 15:43), sam.saffron (Sam Saffron) wrote:
> Also it feels very tied to MRI returning RubyVM:::Backtrace...
ko1 (Koichi Sasada)
08:53 AM Feature #6895: TracePoint API
(2012/11/26 5:47), SASADA Koichi wrote:
> * Is #klass method necessary since one can call `self.class`? But maybe ...
ko1 (Koichi Sasada)
08:53 AM Feature #6895: TracePoint API
I renamed methods:
* TracePoint#file -> TracePoint#path
* TracePoint#line -> TracePoint#lineno
to make consi...
ko1 (Koichi Sasada)
08:16 AM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
1.8と同等と書いたのは
Thread.new do
begin
sleep
ensure
sleep
end
end
というプログラムが一度ensure節のsleepで寝てしまうが...
kosaki (Motohiro KOSAKI)
08:13 AM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
[Feature #1952]の対策として、r37875でCtrl-Cが押されるたびに eTerminateSignalを最送出するようにしたので、現状1.8と同等の動きをするようになってます。
kosaki (Motohiro KOSAKI)
05:09 AM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
1.8の挙動の方がバグっぽいですけれどねぇ
Ctrl-Cでensureの実行が保証されず、終わってしまうのは大きな問題だと思います。
現にTimeoutでensureが飛ばされるので困ってcontrol_interruptをなどを...
tarui (Masaya Tarui)
01:15 AM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
1.8 だと、Ctrl-C でsleepを抜けてくれるようです。うーん、この挙動のほうがいいんかなあ。1.8がどういう理屈でこう動いているのかよくわからないんだけど、ようするにInterruptがmain threadではなく、たまた... kosaki (Motohiro KOSAKI)
06:31 AM Bug #5985: miniruby skews "make benchmark" results
"ko1 (Koichi Sasada)" <[email protected]> wrote:
>
> Issue #5985 has been updated by ko1 (Koichi Sasada).
...
normalperson (Eric Wong)
05:16 AM Bug #7437 (Closed): Array#delete(obj) should return obj when there is an object that is equal in the array
Documentation fixed, thanks for bringing this up. marcandre (Marc-Andre Lafortune)
01:44 AM Bug #7437: Array#delete(obj) should return obj when there is an object that is equal in the array
marcandre (Marc-Andre Lafortune) wrote:
> Indeed, the documentation does not match the code and there is no test for...
headius (Charles Nutter)
12:20 AM Bug #7437 (Assigned): Array#delete(obj) should return obj when there is an object that is equal in the array
mame (Yusuke Endoh)
03:11 AM Feature #6762: Control interrupt timing
kosaki (Motohiro KOSAKI) wrote:
> Sure. then we can't drop Thread.raise even though 99% programmers don't use it dir...
headius (Charles Nutter)
02:10 AM Feature #6762: Control interrupt timing
> The timeout module uses Thread#raise, of course.
Sure. then we can't drop Thread.raise even though 99% programme...
kosaki (Motohiro KOSAKI)
01:50 AM Feature #6762: Control interrupt timing
kosaki (Motohiro KOSAKI) wrote:
> Thread.raise is not big problem, the most big problems are timeout module and Ctrl...
headius (Charles Nutter)
12:47 AM Feature #6762: Control interrupt timing
> Honestly, the only safe answer is to disallow asynchronous exceptions. The better long-term design would probably b... kosaki (Motohiro KOSAKI)
12:40 AM Feature #6762: Control interrupt timing
normalperson (Eric Wong) wrote:
> Really, naming is hard :<
>
> I think Thread.may_raise is fine, however...
...
headius (Charles Nutter)
01:11 AM Bug #7441 (Third Party's Issue): Segmentation Fault generated with 1.9.3 installed by library1.8.so.1.8.7
Hi,
I reported this under issue #7428 which was closed with the recommendation that I move to 1.9.3 and see if the...
agenerette (Anthony Generette)
12:26 AM Feature #7429: Provide options for core collections to customize behavior
matz (Yukihiro Matsumoto) wrote:
> @headius I am afraid it's not going to 2.0, for some reasons:
>
> * it's too l...
headius (Charles Nutter)

11/26/2012

10:59 PM Bug #5368 (Assigned): ensure節でsleepするようなThreadがあるとインタプリタが終了しない
現状、ささださんが #1にてCPU使用率が跳ね上がるのだけがバグで、終わらない、かつCtrl-Cも効かなくなるのは仕様という見解を出しているのでそれにそって、r37865でCPU使用率問題を直しました。
さて、このまま閉じてしまって...
kosaki (Motohiro KOSAKI)
10:47 PM Bug #5368 (Closed): ensure節でsleepするようなThreadがあるとインタプリタが終了しない
This issue was solved with changeset r37865.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is...
kosaki (Motohiro KOSAKI)
10:40 PM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
なお、#1952 ですでに指摘されているように Ctrl-c が押された時にサブスレッドを待たずに終了してしまうという案はSEGVを引き起こすのでNG。 kosaki (Motohiro KOSAKI)
12:27 PM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
読み返しました。[Feature #1952] とちょっと似た話で終了途中で例外食われてしまったら、という話のようですね。論点をまとめると
- ensure節の中でsleep等、無限待ちが記述されているとハングしてしまう。これ...
kosaki (Motohiro KOSAKI)
09:26 AM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
ticket の詳細が思い出せないので小崎先生に振ってみます.
control_interrupt じゃ解決しないんだよな,多分.
ko1 (Koichi Sasada)
10:46 PM Bug #7439: Please revert r32841
=begin
This is error I get when using 1.8 for cross-compilation:
./ext/extmk.rb:228:in `extmake': undefined method...
vo.x (Vit Ondruch)
10:28 PM Bug #7439 (Assigned): Please revert r32841
This was applied due a bunch of issues cross-compiling Ruby 1.9.x using Ruby 1.8.7 as baseline.
I'm not sure if th...
luislavena (Luis Lavena)
10:21 PM Bug #7439 (Closed): Please revert r32841
I cannot find any reference why r32841 was committed and what is the real issue it solves, but since R1.8 cannot be u... vo.x (Vit Ondruch)
10:18 PM Bug #7364 (Rejected): CGI::Cookie.parse can't deal with cookie options
I agree with mame-san.
In this case, I think CGI::Cookie::parse is out of role.
xibbar (Takeyuki FUJIOKA)
10:12 PM Bug #7380: benchmark/driver.rb: --executables separator
ko1 (Koichi Sasada) wrote:
> I always use -e with quote strings. does it bother you?
>
> By the way, -e accept `...
Eregon (Benoit Daloze)
06:19 PM Bug #7380 (Closed): benchmark/driver.rb: --executables separator
This issue was solved with changeset r37854.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is...
ko1 (Koichi Sasada)
09:52 AM Bug #7380: benchmark/driver.rb: --executables separator
I always use -e with quote strings. does it bother you?
By the way, -e accept `:'
like -e "foo::path1; bar::pat...
ko1 (Koichi Sasada)
08:05 PM Bug #5768 (Closed): TestRequire#test_race_exceptionで競合するケースがまだある
さすがに時期的に、書き直しはあきらめるべきなので、close
kosaki (Motohiro KOSAKI)
08:04 PM Bug #4909 (Closed): trapハンドラは再入されてはいけないのではないか?
#6009と重複しているので、こちらのチケットは閉じますね。英語のほうを残します。
kosaki (Motohiro KOSAKI)
09:21 AM Bug #4909: trapハンドラは再入されてはいけないのではないか?
小崎先生にお任せ. ko1 (Koichi Sasada)
08:02 PM Bug #6416 (Closed): Deadlock when calling Thread#join from signal interrupt context
Fixed at r37852.
Thanks, Timothy!
kosaki (Motohiro KOSAKI)
09:35 AM Bug #6416: Deadlock when calling Thread#join from signal interrupt context
I agree with kosaki-san's comment.
ko1 (Koichi Sasada)
07:57 PM Bug #6009 (Closed): Rapid signal delivery via kill(2) causes SystemStackError
This issue was solved with changeset r37861.
Eric, thank you for reporting this issue.
Your contribution to Ruby is g...
kosaki (Motohiro KOSAKI)
07:46 PM Bug #6786 (Closed): Add :trace_instruction to the output of RubyVM::InstructionSequence.compile_option
This issue was solved with changeset r37860.
David, thank you for reporting this issue.
Your contribution to Ruby is ...
ko1 (Koichi Sasada)
06:54 PM Bug #4559: Proc#== does not match the documented behaviour

def test_eq2
b1 = proc { }
b2 = b1.dup
assert(b1 == b2)
end
will be `false'. Is it okay?
ko1 (Koichi Sasada)
06:43 PM Bug #5985: miniruby skews "make benchmark" results
Sorry, the previous comment is for [Bug #7380].
BTW, the current benchmark using `ruby' instead of `miniruby'.
...
ko1 (Koichi Sasada)
06:20 PM Bug #5985 (Closed): miniruby skews "make benchmark" results
I changed to accept multiple `-e' like "-e path1 -e path2". or "-e label1::path1 -e label2::path2".
You don't need t...
ko1 (Koichi Sasada)
06:34 PM Feature #4085: Refinements and nested methods
headius (Charles Nutter) wrote:
> ko1's suggestion, as I understand it, was to add a flag to the method table (or me...
shugo (Shugo Maeda)
05:48 AM Feature #4085: Refinements and nested methods
I was reading this discussion (http://branch.com/b/rubyists-which-would-you-rather-have-in-ruby-2-0-0) about refineme... trans (Thomas Sawyer)
05:42 PM Bug #7356: ruby-2.0.0-preview1 で adlint-2.6.10 が性能劣化
反応が遅れてすみません。
まずは、ko1 さんからリクエストがあった ruby 単体で動くベンチマークを作ってみて、
その後 dtrace してみます。
yanoh (Yutaka Yanoh)
09:50 AM Bug #7356: ruby-2.0.0-preview1 で adlint-2.6.10 が性能劣化
最悪「refinementのせい」「siphash のせい」ということで一つ.
いや,プロファイラ作れって話か.
簡単に試せそうなら,せっかく入った dtrace で見てみたいのですが,
yanoh さん,いかがでしょうか.
ko1 (Koichi Sasada)
03:50 PM Feature #2255: unicode parameters cannot be passed to ruby
% Done: 0% ;-( usa (Usaku NAKAMURA)
03:23 PM Bug #7437: Array#delete(obj) should return obj when there is an object that is equal in the array
Indeed, the documentation does not match the code and there is no test for this.
It was clearly Matz' intention to...
marcandre (Marc-Andre Lafortune)
01:21 PM Bug #7437: Array#delete(obj) should return obj when there is an object that is equal in the array
Here's the patch. Where should the tests go? RubySpec? hasari (Hiro Asari)
01:00 PM Bug #7437 (Closed): Array#delete(obj) should return obj when there is an object that is equal in the array
According to http://www.ruby-doc.org/core-1.9.3/Array.html#method-i-delete, Array#delete(obj) should return "obj" whe... hasari (Hiro Asari)
03:01 PM Bug #7276: TestFile#test_utime failure
This seems due to r37337. I don't know the reason of r37337, but reverting the commit (use rb_w32_fstati64 for fstat)... h.shirosaki (Hiroshi Shirosaki)
01:53 PM Feature #6762: Control interrupt timing
For the records.
Ko1 suggested me defer_async_interrupt or async_interrupt_timing(...){...}.
Both looks acceptabl...
kosaki (Motohiro KOSAKI)
10:29 AM Feature #6762: Control interrupt timing
SASADA Koichi <[email protected]> wrote:
> Okay mame-san.
>
> Eric, could you advice a good name?

Really, na...
normalperson (Eric Wong)
09:53 AM Feature #6762: Control interrupt timing
(2012/11/03 8:33), kosaki (Motohiro KOSAKI) wrote:
>> Okay. Give us a good name.
>
> How's this?
>
> co...
ko1 (Koichi Sasada)
09:53 AM Feature #6762: Control interrupt timing
Okay mame-san.

Eric, could you advice a good name?

Kosaki-san's points:
[ruby-core:48769] [ruby-trunk - ...
ko1 (Koichi Sasada)
11:11 AM Bug #2402: super in instance_eval
ko1 (Koichi Sasada) wrote:
> shugo-san
> これ,どういう話でしたっけ.
instance_evalの中でsuperを呼んだ時に正しいレシーバを見つけるために r36640 で外側のフレ...
shugo (Shugo Maeda)
09:05 AM Bug #2402: super in instance_eval
shugo-san
これ,どういう話でしたっけ.
ko1 (Koichi Sasada)
09:54 AM Bug #6832 (Closed): Module#instance_method and Module#method_defined? act inconsistently w.r.t #respond_to_missing?
Closed on request of myronmarston.
(I'm not totally sure, but I think only people in the Assignee list can close iss...
duerst (Martin Dürst)
09:22 AM Bug #6832: Module#instance_method and Module#method_defined? act inconsistently w.r.t #respond_to_missing?
Is there a way to close the issue? I haven't used rubymine enough to figure out how to do that, but I would if I could. myronmarston (Myron Marston)
09:21 AM Bug #6832: Module#instance_method and Module#method_defined? act inconsistently w.r.t #respond_to_missing?
While I still think this is initially surprising behavior, I've thought about it some more and realized that there's ... myronmarston (Myron Marston)
09:48 AM Bug #7259 (Closed): ruby-debug-base19x does not compile on 2.0.0-head
ko1 (Koichi Sasada)
09:46 AM Bug #6981: set_trace_func passes strange bindng on method call defined by define_method
time up.
ko1 (Koichi Sasada)
09:35 AM Bug #6701: once literal doesn't care escape
これ,preview 2 の後でも許されますか?
許されないなら next minor 行き.
ko1 (Koichi Sasada)
09:34 AM Bug #6117: Transfers allowed into Fibers that have resumed into other fibers
Exception seems good.
`transfer' and `resume' should not be mix.
Any volunteer?
or it will be tagged `next minor...
ko1 (Koichi Sasada)
09:27 AM Bug #5527: set_trace_func binding incorrect
no discussion.
ko1 (Koichi Sasada)
09:23 AM Bug #5240 (Feedback): Hang when using threads + forks on Debian GNU/kFreeBSD
ko1 (Koichi Sasada)
09:23 AM Bug #5236: Including a module in a superclass after it has been included in a subclass leads to infinite recursion if the module uses `super`
nobu, could you check it?
ko1 (Koichi Sasada)
09:22 AM Bug #4911: timer_thread_function() が thead unsafe
これは忘れてはいけなかった気がする.
小崎先生お願いします.
ko1 (Koichi Sasada)
09:20 AM Feature #4614: [RFC/PATCH] thread_pthread.c: lower RUBY_STACK_MIN_LIMIT to 64K
Priority: *High*.
ko1 (Koichi Sasada)
09:19 AM Bug #4537: Incorrectly creating private method via attr_accessor
No discussion.
ko1 (Koichi Sasada)
09:18 AM Bug #4502: strange Module.new behaviour
nobu, could you check it?
I think you tried something like this issue.
ko1 (Koichi Sasada)
09:16 AM Bug #4492 (Feedback): Segfault on successive stack overflows
ko1 (Koichi Sasada)
09:14 AM Bug #4379: [patch] eval(s, b, "(eval)", n) discards location
Are there any applications that this problem is critical for? ko1 (Koichi Sasada)
09:11 AM Bug #4285 (Feedback): Ruby don't have asynchrounous exception safe syntax and It should have.
ko1 (Koichi Sasada)
09:10 AM Bug #4040: SystemStackError with Hash[*a] for Large _a_
We need re-consideration about method invocation to support such cases.
I want to challenge at next version.
ko1 (Koichi Sasada)
09:05 AM Bug #3080: class_variable_set issue with duped Module
nobu, could you check it?
ko1 (Koichi Sasada)
09:03 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
I will check it *after* preview2.
This ticket will not affect *Ruby* level spec.
ko1 (Koichi Sasada)
09:01 AM Feature #1952: cannot stop with Ctrl+C
これはやらんといかんということで,pr2 前か後かわかりませんが,やります. ko1 (Koichi Sasada)
09:01 AM Feature #1586: Including a module already present in ancestors should not be ignored
nobu, could you check it?
ko1 (Koichi Sasada)
09:00 AM Bug #1152: profiler.rb is not concurrent-execution threadsafe
nobu, could you check it?
ko1 (Koichi Sasada)
08:59 AM Bug #953: 深い入れ子の配列の取り扱いで落ちる
タイムアップとして次に回します. ko1 (Koichi Sasada)
08:59 AM Feature #7436: Allow for a "granularity" flag for backtrace_locations
(2012/11/26 7:06), sam.saffron (Sam Saffron) wrote:
> This allows for one to take quicker backtraces if they need ...
ko1 (Koichi Sasada)
07:49 AM Feature #7436 (Assigned): Allow for a "granularity" flag for backtrace_locations
zzak (zzak _)
07:08 AM Feature #7436: Allow for a "granularity" flag for backtrace_locations
ouch, this was meant to be a feature req not a bug ... cant figure out how to change sam.saffron (Sam Saffron)
07:06 AM Feature #7436 (Assigned): Allow for a "granularity" flag for backtrace_locations
related to http://bugs.ruby-lang.org/issues/7051
Sometimes one need less information (or more information) associa...
sam.saffron (Sam Saffron)
08:59 AM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
(2012/11/26 6:59), sam.saffron (Sam Saffron) wrote:
> caller_locations(0,-2) # should strip the bottom frame

...
ko1 (Koichi Sasada)
07:49 AM Feature #7434 (Assigned): Allow caller_locations and backtrace_locations to receive negative params
zzak (zzak _)
07:08 AM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
ouch, this was meant to be pointed at 2.0 can't figure out how to change sam.saffron (Sam Saffron)
06:59 AM Feature #7434 (Closed): Allow caller_locations and backtrace_locations to receive negative params
Further to http://bugs.ruby-lang.org/issues/7051
It would be nice if caller_locations and backtrace_locations has...
sam.saffron (Sam Saffron)
08:56 AM Feature #7435 (Rejected): Exceptions should have backtrace_locations
ko1 (Koichi Sasada)
08:53 AM Feature #7435: Exceptions should have backtrace_locations
(2012/11/26 7:02), sam.saffron (Sam Saffron) wrote:
> This means exceptions could be more efficient as filenames c...
ko1 (Koichi Sasada)
07:54 AM Feature #7435: Exceptions should have backtrace_locations
Sorry, meant next minor, as #7051 zzak (zzak _)
07:48 AM Feature #7435 (Assigned): Exceptions should have backtrace_locations
zzak (zzak _)
07:07 AM Feature #7435: Exceptions should have backtrace_locations
ouch, this was meant to be a feature req not a bug ... cant figure out how to change sam.saffron (Sam Saffron)
07:02 AM Feature #7435 (Rejected): Exceptions should have backtrace_locations
Further to http://bugs.ruby-lang.org/issues/7051
def boom
raise "boom"
end
begin
boom
rescue => e
p...
sam.saffron (Sam Saffron)
07:39 AM Feature #7429: Provide options for core collections to customize behavior
@headius I am afraid it's not going to 2.0, for some reasons:
* it's too late to add new classes to 2.0
* and it ...
matz (Yukihiro Matsumoto)
03:57 AM Feature #7429: Provide options for core collections to customize behavior
Speed isn't everything...until it becomes everything. Ruby should not be wasteful unnecessarily. There are also immut... headius (Charles Nutter)
03:44 AM Feature #7429: Provide options for core collections to customize behavior
That is interesting. I suspect part of the problem is the design of the Hash class itself --something I addressed bef... trans (Thomas Sawyer)
03:26 AM Feature #7429: Provide options for core collections to customize behavior
trans (Thomas Sawyer) wrote:
> I wonder if concurrency behavior can be designed as a mixin. As long as the underlyin...
headius (Charles Nutter)
03:23 AM Feature #7429: Provide options for core collections to customize behavior
matz (Yukihiro Matsumoto) wrote:
> Even though I prefer smaller set of built-in fundamental classes, I don't think '...
headius (Charles Nutter)
07:09 AM Feature #7051: Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread.
Addeed #7436 #7435 and #7434 sam.saffron (Sam Saffron)
06:43 AM Feature #6895: TracePoint API
> I can't get points.
> What is "defined event"?
Undefined event, where `tp.event #=> nil`. I would assume there ...
trans (Thomas Sawyer)
05:53 AM Feature #6895: TracePoint API
Hi,

(2012/11/26 4:27), trans (Thomas Sawyer) wrote:
> I made a comparison of the API with the pure Ruby Trace...
ko1 (Koichi Sasada)
04:27 AM Feature #6895: TracePoint API
I made a comparison of the API with the pure Ruby TracePoint gem I had written and have a few points:
* Do all tra...
trans (Thomas Sawyer)
06:01 AM Feature #6670: str.chars.last should be possible
=begin
An IO may be infinite (({open "/dev/zero" do |io| io.chars.to_a }})), and so may ARGF ((%ruby -e 'ARGF.chars....
drbrain (Eric Hodel)
02:23 AM Feature #6670: str.chars.last should be possible
What about IO, StringIO, ARGF as mentioned above?
Thanks,
Brian
brixen (Brian Shirai)
04:52 AM Bug #7344: gem pristine bigdecimal が失敗してしまう
須藤さんありがとうございます。直りそうな気がします!
mrkn よろしくお願いします!
hsbt (Hiroshi SHIBATA)
03:08 AM Feature #7400: Incorporate OpenSSL tests from JRuby.
MartinBosslet (Martin Bosslet) wrote:
> > ((*Some caveats:*))
> >
> > * ((*Not all of these pass in MRI's OpenSSL...
headius (Charles Nutter)
12:52 AM Bug #7246 (Assigned): FileUtils.cp_r does not preserve attributes of directories
Thanks, I'll import your fix unless there is objection.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
12:19 AM Bug #7180: set_trace_func with error in proc block locks up Ruby with 100% cpu usage and no way to exit without killing proc
The following script also repeat "[:return, 1]".
I'm not sure it is same problem or not.
def m
p:m
end
Tra...
ko1 (Koichi Sasada)

11/25/2012

11:19 PM Feature #7429: Provide options for core collections to customize behavior
=begin
I wonder if concurrency behavior can be designed as a mixin. As long as the underlying class conforms to its ...
trans (Thomas Sawyer)
09:54 PM Feature #7429 (Rejected): Provide options for core collections to customize behavior
Even though I prefer smaller set of built-in fundamental classes, I don't think 'concurrent' option is sufficient,
s...
matz (Yukihiro Matsumoto)
09:55 AM Feature #7429: Provide options for core collections to customize behavior
Too late completely, as you said.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
01:49 AM Feature #7429 (Rejected): Provide options for core collections to customize behavior
Many folks know that Matz is a fan of having a few classes that handle a wide range of behavior. For this reason, I t... headius (Charles Nutter)
11:11 PM Feature #7432: Explicit way to define local variable in scope
I see why then. Thanks. trans (Thomas Sawyer)
09:49 PM Feature #7432 (Rejected): Explicit way to define local variable in scope
Since I am sick of 'var' and 'local' in other languages, I don't want to add explicit local variable declaration, tha... matz (Yukihiro Matsumoto)
08:02 PM Feature #7432: Explicit way to define local variable in scope
I have always been curious why there is no dynamic way to create local variables (other then eval).
Eg. x = 10 mig...
trans (Thomas Sawyer)
06:17 PM Feature #7432 (Assigned): Explicit way to define local variable in scope
Assigning to matz, but don't hold your breath; matz has rejected such a explicit variable declaration syntax many tim... mame (Yusuke Endoh)
05:18 PM Feature #7432: Explicit way to define local variable in scope
This should definitely not be a method, however I would welcome a 'local' keyword for this purpose. Anonymous
04:32 PM Feature #7432 (Rejected): Explicit way to define local variable in scope
Imagine code such as this
def test_smth
result = nil
assert_nothing_raised { result = some_slow_calculat...
prijutme4ty (Ilya Vorontsov)
10:40 PM Bug #7344: gem pristine bigdecimal が失敗してしまう
あぁ、それは解決しないです。そっちはrubygems.orgにあるbigdecimal-1.1.0.gemをダウンロードしてビルドするのでdefault gemとかは関係ない世界になります。
gem install bigdec...
kou (Kouhei Sutou)
09:42 PM Bug #7344: gem pristine bigdecimal が失敗してしまう
gem install bigdecimal でも同様の結果になってしまいました。rubygems/rubygems の #377 でインストールできない問題も解決するのであれば、rubygems 側の変更でよさそうです。 hsbt (Hiroshi SHIBATA)
01:46 PM Bug #7344: gem pristine bigdecimal が失敗してしまう
RubyGemsに https://github.com/rubygems/rubygems/pull/377 がマージされて、RubyGemsがRuby本体にマージされれば #7427 解決しそうな気がします。RubyGemsの方の... kou (Kouhei Sutou)
02:16 AM Bug #7344: gem pristine bigdecimal が失敗してしまう
他のライブラリは pure-ruby なので問題無いようです。EM 等にならってビルド時の working ディレクトリを tmp とかにすれば良さそうな気もしますが、rubygems や fake_gem.rb の仕組みをあまりよく... hsbt (Hiroshi SHIBATA)
09:32 PM Feature #6688: Object#replace
This is a very dangerous proposal and has the potential to cause all sorts of crashes and other nastiness.
Consider ...
Anonymous
02:33 AM Feature #6688: Object#replace
This is an awful, awful idea. Objects should never change their basic type in-place, or the very essence of OO is des... headius (Charles Nutter)
09:00 PM Bug #7430: 'unexpected return' occurs when call a Proc that returning value in rescue
In fact, there is no problem with 'return' in 'rescue'.
My intention is to return after the Proc not continue execut...
danilo.s.coelho (Danilo Coelho)
09:50 AM Bug #7430 (Rejected): 'unexpected return' occurs when call a Proc that returning value in rescue
This is the spec. To exit from Proc, use next instead of return.
p = Proc.new do
begin
1 / 0
rescu...
mame (Yusuke Endoh)
05:44 AM Bug #7430 (Rejected): 'unexpected return' occurs when call a Proc that returning value in rescue
p = Proc.new do
begin
1 / 0
rescue
return "error handled by proc"
end
end
p.call
danilo.s.coelho (Danilo Coelho)
01:45 PM Bug #6653: 1.9.2/1.9.3 exhibit SEGV with many threads+tcp connections
Unfortunately, I've seen nothing wrong even if file descriptor limits are greater than FD_SETSIZE.
kosaki (Motohiro KOSAKI)
11:41 AM Bug #6653 (Assigned): 1.9.2/1.9.3 exhibit SEGV with many threads+tcp connections
Erik, thank you for the reply!
Well, it seems that there is something wrong in the handling of file descriptors bigg...
mame (Yusuke Endoh)
01:08 PM Bug #7431 (Rejected): Encoding.compatible? results are order-dependent for Strings but not Encodings
mame (Yusuke Endoh)
12:48 PM Bug #7431: Encoding.compatible? results are order-dependent for Strings but not Encodings
Nevermind, I was writing other specs and interchanging Encoding constants and encoding names (eg that #encode and #fo... brixen (Brian Shirai)
12:32 PM Bug #7431 (Rejected): Encoding.compatible? results are order-dependent for Strings but not Encodings
Could someone please explain the following?
1.9.3p286 :001 > Encoding.compatible? "euc-jp", "utf-8"
=> #<Encodin...
brixen (Brian Shirai)
12:15 PM Bug #7311 (Assigned): DRb test suite fails when hostname cannot be reached
Seki-san, Urabe-san, Naruse-san, what do you think?
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
12:03 PM Bug #7318 (Feedback): activerecord-3.2.8/lib/active_record/connection_adapters/postgresql_adapter.rb:1213: [BUG] Segmentation fault
Sorry, please contact first on pg gem developer. The segfault seems to occur in pg_ext.so.
If they say this is defi...
mame (Yusuke Endoh)
11:57 AM Bug #7364 (Assigned): CGI::Cookie.parse can't deal with cookie options
I guess that CGI::Cookie::parse is a method for parsing ENV["HTTP_COOKIE"], not http response.
Anyway I'm assignin...
mame (Yusuke Endoh)
11:17 AM Feature #6589: Set#rehash
headius (Charles Nutter) wrote:
> Is it specified that Set must be hashtable-based forever? There are alternate ways...
marcandre (Marc-Andre Lafortune)
02:05 AM Feature #6589: Set#rehash
Is it specified that Set must be hashtable-based forever? There are alternate ways to implement a Set. headius (Charles Nutter)
10:51 AM Feature #7349: Struct#inspect needs more meaningful output
This is not a bug. This ticket has been moved to the feature tracker.
I'm not against this proposal, but I don't ...
mame (Yusuke Endoh)
10:44 AM Feature #7349 (Assigned): Struct#inspect needs more meaningful output
mame (Yusuke Endoh)
10:42 AM Bug #7373 (Assigned): FileUtils#chmod verbose gives error when mode is string
Thank you.
I'll apply the following patch unless there is objection.
diff --git a/lib/fileutils.rb b/lib/fileutil...
mame (Yusuke Endoh)
09:46 AM Feature #6647: Exceptions raised in threads should be logged
headius (Charles Nutter) wrote:
> Can we at least agree it should happen for 2.0.0?
No, objection. This looks to...
mame (Yusuke Endoh)
02:18 AM Feature #6647: Exceptions raised in threads should be logged
Checking in on this again. Can we at least agree it should happen for 2.0.0? Perhaps Matz should review this? headius (Charles Nutter)
09:34 AM Feature #6769: rbinstall.rb: install both src and batch files separetely
Though it is better if it is implemented in this month, an accepted feature can be implemented up to code freeze (aro... mame (Yusuke Endoh)
09:16 AM Feature #6769: rbinstall.rb: install both src and batch files separetely
Sorry, was unable to work on this while still working on the other bug/issues.
I'm moving this to next minor.
E...
luislavena (Luis Lavena)
07:00 AM Bug #7326: Time.c doc improvements
After going over the file one last time I found a couple of lines I've missed. bt (Bernd Homuth)
06:19 AM Feature #7121: Extending the use of `require'
Just an alternative idea. What about using Regexp as an alternative to String?
require /.*_helper/
prijutme4ty (Ilya Vorontsov)
03:46 AM Feature #6670 (Closed): str.chars.last should be possible
This issue was solved with changeset r37838.
Yutaka, thank you for reporting this issue.
Your contribution to Ruby is...
knu (Akinori MUSHA)
02:28 AM Feature #6721: Object#yield_self
It occurs to me #apply is used in some other languages to refer to the elements of a collection rather than to the co... headius (Charles Nutter)
02:03 AM Feature #7299: Ruby should not completely ignore blocks.
Perhaps methods that want to ensure nobody accidentally passes in a block should just check for it? `fail if block_gi... headius (Charles Nutter)
01:39 AM Bug #7081: GServer orphaned threads lead to resource exhaustion
FWIW, this could have been fixed by ko1's proposal for threads that don't start until you start them. This would guar... headius (Charles Nutter)
 

Also available in: Atom