Project

General

Profile

Activity

From 05/03/2015 to 05/09/2015

05/09/2015

07:02 AM Bug #11088: On Exception too expensive inspect is called on recursive object graph with 3000 elements in it, swallows memory and ultimately doesn't deliver exception
Hi Jurgen,
I executed bug_hunt.rb and I was able to reproduce this issue. But when I tried a simple test (attached...
shishir127 (Shishir Joshi)
04:53 AM Bug #11071: Stack consistency error while using RSpec and Timecop
Possibly shortest code.
~~~ruby
def doit
yield nil
end
doit(&proc {doit {}}.method(:call))
~~~
But it ...
nobu (Nobuyoshi Nakada)
12:40 AM Feature #6647: Exceptions raised in threads should be logged
Eric Wong wrote:
> I have an actual patch which is only 2 lines, but there's some test
> failures and MANY warning...
headius (Charles Nutter)

05/08/2015

10:31 PM Bug #11123 (Closed): [PATCH] bsock_recmvsg_internal needs GC guard for control buffer
Applied in changeset r50449.
----------
ext/socket/ancdata.c (bsock_recvmsg_internal): GC guard
The control buffer ...
Anonymous
09:48 PM Feature #6647: Exceptions raised in threads should be logged
I have an actual patch which is only 2 lines, but there's some test
failures and MANY warnings I don't feel motivat...
normalperson (Eric Wong)
05:26 PM Feature #6647: Exceptions raised in threads should be logged
Not sure if a +1 would do anything, but I like the idea of
`Thread#report_on_exception` defaults to true.
For qui...
godfat (Lin Jen-Shin)
09:00 PM Bug #11120: Unexpected behavior when mixing Module#prepend with method aliasing
I gave some more thought to this but I can't really find a way to improve the migration path from aliases to prepend ... pabloh (Pablo Herrero)
07:02 AM Feature #11105: ES6-like hash literals
Shugo Maeda wrote:
> ```
> lexington:ruby$ cat x.rb
> a = 1
> @a = 2
> $a = 3
> p({a, @a, $a})
> lexington:rub...
nobu (Nobuyoshi Nakada)
06:46 AM Bug #11128 (Closed): IMAP parsing issue wih body_ext_mpart
Applied in changeset r50444.
----------
* lib/net/imap.rb (body_ext_mpart): should work even if body-fld-dsp
is om...
shugo (Shugo Maeda)
06:16 AM Bug #11128 (Assigned): IMAP parsing issue wih body_ext_mpart
hsbt (Hiroshi SHIBATA)
06:15 AM Bug #11128: IMAP parsing issue wih body_ext_mpart
patch is here https://github.com/ruby/ruby/pull/895 hsbt (Hiroshi SHIBATA)
06:43 AM Bug #11121 (Feedback): openssl ext does not handle EWOULDBLOCK
Is there this issue on Ruby 2.1 or 2.2? Ruby 1.9.3 is EOL. hsbt (Hiroshi SHIBATA)
06:16 AM Bug #11126 (Assigned): CSV field converters doesn't attempt to convert nil value.
hsbt (Hiroshi SHIBATA)
02:18 AM Feature #9725: Do not inspect NameError target object unless verbose
Yukihiro Matsumoto wrote:
> I am interested why referencing the target object could cause problem. The target object...
headius (Charles Nutter)
02:15 AM Feature #9725: Do not inspect NameError target object unless verbose
Yukihiro Matsumoto wrote:
> I am interested why referencing the target object could cause problem. The target object...
headius (Charles Nutter)
02:05 AM Feature #11129: block-level hash destructuring only works for the last argument
I'd rename this bug to something like "block-level hash destructuring only works for the last argument" if Redmine le... seanlinsley (Sean Linsley)
01:54 AM Feature #11129 (Open): block-level hash destructuring only works for the last argument
```ruby
[{a: 2}].each_with_index{ |a:, index| }
SyntaxError: unexpected tIDENTIFIER
[{a: 2}].each_with_index{ |(...
seanlinsley (Sean Linsley)

05/07/2015

10:33 PM Bug #11128 (Closed): IMAP parsing issue wih body_ext_mpart
ResponseParser raises an error given a valid (RFC 3501) "body_ext_mpart" of the format "body-fld-param SP body-fld-ds... morsela (Mor Sela)
09:10 PM Bug #11127 (Third Party's Issue): Symbol#== allocates at least one string, possibly two
Nevermind. headius (Charles Nutter)
09:02 PM Bug #11127: Symbol#== allocates at least one string, possibly two
Oops, I may be mistaken...I see on trunk that Symbol does define #==. This may just be JRuby being a bit behind the t... headius (Charles Nutter)
09:00 PM Bug #11127 (Third Party's Issue): Symbol#== allocates at least one string, possibly two
Symbol#== is implemented by Comparable, which uses Symbol#<=>, which coerces the symbol to a String so it can use Str... headius (Charles Nutter)
04:05 PM Bug #11040: Mutex can be locked by multiple threads, causing Monitor to sometimes hang
So now that I added a patch for `lib/monitor.rb` I guess this should be assigned to Shugo Maeda (shugo) per https://b... jvdp (Jaap van der Plas)
02:22 PM Bug #11126 (Closed): CSV field converters doesn't attempt to convert nil value.
following code behaves differently between ruby 2.2.2/trunk and 2.1.5.
```ruby
require 'csv'
converter = lambda ...
hanachin (Seiei Miyagi)
01:13 PM Bug #11125 (Rejected): Unable to build trunk on Windows
見間違えで、ビルドはできるようになっていたので撤回します。すみません。 usa (Usaku NAKAMURA)
07:56 AM Bug #11125 (Rejected): Unable to build trunk on Windows
r50437でgperfがない限りビルドできなくされてしまっていますが、
この変更に強く反対します。
usa (Usaku NAKAMURA)
07:52 AM Bug #11118: Unable to build Ruby with Visual Studio 2015 RC
FYI, naruse-san has already surveyed it, and some parts of its result have been committed into trunk.
See also: ht...
usa (Usaku NAKAMURA)
01:48 AM Feature #10718: IO#close should not raise IOError on closed IO objects.
Eric Wong <[email protected]> wrote:
> Thank you for proposing this. I think this will simplify working with
...
normalperson (Eric Wong)
01:04 AM Bug #11080: [PERF] bm_so_concatenate.rb regression
Thank you for your work Nobu! tgxworld (Guo Xiang Tan)

05/06/2015

10:34 PM Feature #11124 (Closed): [PATCH] lib/*: use monotonic clock for timeouts
The monotonic clock is preferred as it is guaranteed to be
continuous and not subject to jumps due to adjustments.
...
normalperson (Eric Wong)
09:58 PM Bug #11121: openssl ext does not handle EWOULDBLOCK
Which version of OpenSSL is this? I wonder if OpenSSL is not returning
SSL_ERROR_WANT_READ and SSL_ERROR_WANT_WRIT...
normalperson (Eric Wong)
09:31 PM Bug #11123 (Closed): [PATCH] bsock_recmvsg_internal needs GC guard for control buffer
The control buffer may be used throughout the function, so
prevent the string from being lost to GC.
I'm pretty s...
normalperson (Eric Wong)
08:53 PM Feature #11122 (Assigned): exception-free non-blocking Queue/SizedQueue operations
I would like to reduce exceptions for non-blocking operations on
Queue/SizedQueue in the same way we are reducing ex...
normalperson (Eric Wong)
08:31 PM Feature #11081 (Closed): [PATCH] stdlib: use IO#wait_*able instead of IO.select when possible
Applied in changeset r50432.
----------
stdlib: use IO#wait_*able instead of IO.select when possible
In case a proc...
Anonymous
01:50 PM Bug #11117 (Closed): When you refine String with to_regexp, then it breaks Regexp.try_convert even when the refinement is not used
Applied in changeset r50430.
----------
vm_eval.c: undefined refined check_funcall
* vm_eval.c (rb_method_call_stat...
nobu (Nobuyoshi Nakada)
09:18 AM Feature #11098: Thread-level allocation counting
I don't mind this patch and even see it as an opportunity to drop
`objspace->total_allocated_objects` entirely and r...
normalperson (Eric Wong)

05/05/2015

02:15 PM Bug #10702: Constant look up inconsistency with constants defined in included modules
Thanks for the response. I can't say that it is intuitive at all, but I think I get what is happening now. kwstannard (Kelly Stannard)
12:36 PM Feature #11105: ES6-like hash literals
Yukihiro Matsumoto wrote:
> Question:
>
> What if we have variables with same name and different prefixes? e.g.
...
rosenfeld (Rodrigo Rosenfeld Rosas)
10:05 AM Bug #11121 (Third Party's Issue): openssl ext does not handle EWOULDBLOCK
On Windows, non-blocking IO on sockets seems to return EWOULDBLOCK instead of EAGAIN. The openssl ruby library only h... pep (Pep Turró Mauri)
01:48 AM Bug #11118: Unable to build Ruby with Visual Studio 2015 RC
This issue is due to the runtime name change.
Since the Visual Studio 2014, the runtime is vcruntime140.dll.
Refe...
phasis68 (Heesob Park)

05/04/2015

08:18 PM Bug #11091: Symbolized Strings May Break Keyword Arguments
Yes, see "Backport" field. nobu (Nobuyoshi Nakada)
04:21 PM Bug #11091: Symbolized Strings May Break Keyword Arguments
We just ran into this bug as well. Our script to reproduce is attached. We also noticed the same requirements as th... danfinnie (Daniel Finnie)
06:37 PM Bug #11113: Time ranges cannot be used in case statements in 1.9+ but they could in 1.8.7
Thanks for the prompt fix, @nobu!!
On a side note, I wasn't notified by email of your fix even though I'm watching...
myronmarston (Myron Marston)
04:57 PM Bug #11120 (Closed): Unexpected behavior when mixing Module#prepend with method aliasing
I'm not completely sure myself if this should be considered a bug, but at least it should be up for discussion.
I ...
pabloh (Pablo Herrero)
04:39 PM Bug #11119: Anonymous classes and modules have terrible #name and #inspect performance
A simple rule for future Rubies might be "if you want an anonymous module/class to have a useful path-based #name, en... headius (Charles Nutter)
04:36 PM Bug #11119: Anonymous classes and modules have terrible #name and #inspect performance
Nobuyoshi Nakada wrote:
> What kind of changes?
The kind of changes that make it impossible to pass all current t...
headius (Charles Nutter)
04:29 PM Bug #11119: Anonymous classes and modules have terrible #name and #inspect performance
What kind of changes? nobu (Nobuyoshi Nakada)
04:07 PM Bug #11119 (Closed): Anonymous classes and modules have terrible #name and #inspect performance
MRI lazily determines the name of a class or module by walking all defined constants starting from `Object` and looki... headius (Charles Nutter)
02:12 AM Feature #9423: Improve warning semantics
Any thoughts on structured warnings core team? djberg96 (Daniel Berger)

05/03/2015

11:52 PM Bug #11118 (Closed): Unable to build Ruby with Visual Studio 2015 RC
I installed the latest Visual Studio, and then tried to build Ruby 2.2.2 on Windows 7. But, I'm having trouble right ... djberg96 (Daniel Berger)
07:16 PM Bug #11117 (Closed): When you refine String with to_regexp, then it breaks Regexp.try_convert even when the refinement is not used
I’ve run into a very strange bug with refinements. Let me show you:
~~~ruby
module Ref
refine String do
d...
jirutka (Jakub Jirutka)
10:36 AM Bug #11116 (Closed): The spec of String#dump
The current spec says:
call-seq:
str.dump -> new_str
Produces a version of +str+ with all no...
mame (Yusuke Endoh)
08:39 AM Bug #11115 (Rejected): Assigning a non-existent local variable to itself sets it to nil; unintuitive behaviour?
George Millo wrote:
> Is this a bug, or a feature?
A feature.
nobu (Nobuyoshi Nakada)
06:17 AM Bug #11115 (Rejected): Assigning a non-existent local variable to itself sets it to nil; unintuitive behaviour?
Here's what normally happens when I try to reference a local variable that doesn't exist:
~~~ruby
def foo
bar
...
GeorgeMillo (George Millo)
01:04 AM Bug #11114: rails server crash
You have to reinstall `sqlite3_native.bundle`. nobu (Nobuyoshi Nakada)
01:02 AM Bug #11113 (Closed): Time ranges cannot be used in case statements in 1.9+ but they could in 1.8.7
Applied in changeset r50421.
----------
range.c: covered for linear objects
* range.c (linear_object_p, range_inclu...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom