Project

General

Profile

Activity

From 04/21/2015 to 04/27/2015

04/27/2015

11:47 PM Bug #11103: Reassignment in if block that is not ran, causes variable to become nil
Ruby is behaving as it should here. Your confusion is between local variables and method calls.
Before that 'if' blo...
recursive-madman (Recursive Madman)
10:06 PM Bug #11103 (Rejected): Reassignment in if block that is not ran, causes variable to become nil
I came across a situation where, when reassigning a variable, inside an if statement that is evaluated to false, caus... sigsve (Sigurd Berg Svela)
10:41 PM Bug #10967: Is "warning: private attribute?" wrong?
It's valid in your case, but may not in others.
It doesn't sound enough reason to remove that warning to me.
If y...
nobu (Nobuyoshi Nakada)
09:34 PM Bug #10871: Sclass thread unsafe due to CREF sharing
Koichi, I think a workaround patch to be applied to 2.2 and 2.1 would be very useful. evanphx (Evan Phoenix)
07:28 PM Feature #10600: [PATCH] Queue#close
clojure's core.async has close! which implements the same semantics proposed by this issue.
https://clojure.github...
djellemah (John Anderson)
06:14 PM Bug #11102 (Closed): Segmentation fault while running the db:create command in Rails
/var/www/src/thoughtstream-user_management/vendor/bundle/ruby/2.1.0/bin/rake: [BUG] Segmentation fault at 0x000000000... Bion (Bion Johnson)
04:48 PM Bug #11101: Forking is killing my memory when running GC
Is this with or without jemalloc?
In either case, try disabling transparent hugepages in Linux, THP causes
some pr...
normalperson (Eric Wong)
03:13 PM Bug #11101 (Closed): Forking is killing my memory when running GC

Memory is duplicated when forking and calling GC in 2.2.1. The main issue here is that we are operating with huge d...
tkalmus (Thomas Kalmus)
10:15 AM Bug #10850: BigDecimal division incorrect
Maybe you have an advice for the following I am thinking to use.
I could convert BigDecimal to Rational, do the ca...
Elyasin (Elyasin Shaladi)
07:04 AM Feature #11100 (Open): Permit multiple captures with String[Regexp, ...]
I propose that if we are able to conveniently grab one capture with this method, we ought to be able to grab more tha... 0x0dea (D.E. Akers)

04/26/2015

09:48 PM Bug #11099 (Rejected): def assert method raise syntax error
It's a spec, `and` has lower precedence. nobu (Nobuyoshi Nakada)
02:27 PM Bug #11099: def assert method raise syntax error
~~~ruby
class AsrErr < StandardError
end
def asr(r, msg=nil, *args, &blk)
unless r
if msg
raise...
roroco (roro co)
02:24 PM Bug #11099 (Rejected): def assert method raise syntax error
In ruby 2.2, when i try
~~~ruby
def assert(*args, &blk)
end
assert(a > 0 and a < 1)
~~~
it will raise
...
roroco (roro co)
12:43 PM Bug #11096: 'private' access control bypassed when ||= is used
Seems opposite of [Bug #10060]. nobu (Nobuyoshi Nakada)
04:07 AM Bug #11097 (Feedback): File names with wildcards do not expand if a path is used
Is it same as #11089? nobu (Nobuyoshi Nakada)
04:02 AM Bug #11095 (Closed): severe performance regression since r50336
nobu (Nobuyoshi Nakada)

04/25/2015

10:37 PM Feature #11094 (Closed): Remove traces of 6-byte UTF-8
Applied in changeset r50392.
----------
enc/utf_8.c: limit UTF-8
* enc/utf_8.c (code_to_mbclen, code_to_mbc): rejec...
nobu (Nobuyoshi Nakada)
04:42 AM Feature #11094: Remove traces of 6-byte UTF-8
And `pack("U")` and `unpack("U")`?
Also rubyspec seems to fail.
~~~
Array#pack with format 'U' encodes values ...
nobu (Nobuyoshi Nakada)
04:21 PM Feature #11098 (Feedback): Thread-level allocation counting
This patch introduces a thread-local allocation count. Today you can get a
global allocation count from `GC.stat`, b...
jasonrclark (Jason Clark)
02:33 PM Bug #11092: rdoc-generated *.gz files contain references to full path of the original, breaking rpmbuild
I submitted this PR [1] a while ago to fix this issue.
[1] https://github.com/rdoc/rdoc/pull/341
vo.x (Vit Ondruch)
05:26 AM Bug #11080 (Closed): [PERF] bm_so_concatenate.rb regression
Applied in changeset r50386.
----------
revert r50336
* string.c (str_buf_cat): expand later so that the buffer can...
nobu (Nobuyoshi Nakada)

04/24/2015

10:18 PM Feature #10917: Add GC.stat[:total_time] when GC profiling enabled
Any thoughts on this patch Koichi? It just adds a `GC.stat` counter, and doesn't move anything outside the current `G... jasonrclark (Jason Clark)
02:31 PM Bug #11097 (Closed): File names with wildcards do not expand if a path is used
File name expansion using wildcards does not work when a path is included. This fails in 2.2.2, but works in 2.1.6.
...
jcostantino (John Costantino)
01:37 PM Bug #11096 (Closed): 'private' access control bypassed when ||= is used
Problematic code
~~~ruby
class A
def aa
self.bb ||= 0
end
private
def bb
1
end
end
...
sokol (Piotr Sokołowski)
12:38 PM Feature #11052: [PATCH] Blockless Pathname#ascend and #descend return Enumerator
Apologies if you're busy and I should just wait (happy to do it!), but it's my first non-doc contribution and I'm not... chastell (Piotr Szotkowski)
11:18 AM Bug #11095 (Closed): severe performance regression since r50336
sparc64-solaris2.10 にて、r50336 以降、
Rubyビルド時の
~~~
Generating RI format into /XXXXX/.ext/rdoc...
~~~
および、boots...
ngoto (Naohisa Goto)
10:11 AM Feature #11094 (Closed): Remove traces of 6-byte UTF-8
UTF-8 was originally defined with a codespace up to 31 bits, and therefore with up to 6 bytes per character. Since qu... duerst (Martin Dürst)
09:26 AM Bug #11078: 2.2 String#unicode_normalize method does not appear in generated API docs
I have assigned this bug to Eric in order to get information on how to proceed from him; assigning it back to me with... duerst (Martin Dürst)
08:34 AM Bug #10384: Fiddle::DLError: unknown symbol "Init_objspace" during Fiddle::TestHandle#test_NEXT and Fiddle::TestHandle#test_static_sym on Solaris
ruby_2_1 r50383 merged revision(s) 49154,49155,49156,49159. usa (Usaku NAKAMURA)
08:25 AM Feature #9725: Do not inspect NameError target object unless verbose
Building the message at creation time does not reduce memory usage and CPU time at all, just makes it earlier.
And `...
nobu (Nobuyoshi Nakada)
05:43 AM Feature #9725: Do not inspect NameError target object unless verbose
We had another memory issue in the past, and this behavior was the fix for that issue.
So both adding and removing c...
matz (Yukihiro Matsumoto)
06:16 AM Bug #11091 (Closed): Symbolized Strings May Break Keyword Arguments
nobu (Nobuyoshi Nakada)
06:02 AM Feature #11090: Enumerable#each_uniq and #each_uniq_by
https://github.com/ruby/ruby/compare/trunk...nobu:feature/11090-Enumerable%23each_uniq
https://github.com/ruby/ruby/...
nobu (Nobuyoshi Nakada)

04/23/2015

11:19 PM Bug #11093 (Rejected): Segmentation fault with Ruby 2.1.6 and ffi 1.9.8
```
7fcd6ba82000-7fcd6bca7000 r-xp 00000000 fd:00 400906 /opt/ruby-2.0.0-247/lib/libruby.so.2.0.0
7fcd6bca7000-7fcd...
hsbt (Hiroshi SHIBATA)
11:01 PM Bug #11093 (Rejected): Segmentation fault with Ruby 2.1.6 and ffi 1.9.8
This is my first Ruby bug report, please forgive me it this is not the proper place for this.
$ ruby -rffi -e 'put...
dserodio (Daniel Serodio)
05:33 PM Bug #11092 (Rejected): rdoc-generated *.gz files contain references to full path of the original, breaking rpmbuild
Trying to build some RPMs here from GEMs I'm seeing the following complaint from rpmbuild-utility:
+ /usr/lib/rpm/...
UnitedMarsupials (Міша (null))
04:17 PM Feature #9725: Do not inspect NameError target object unless verbose
I think we're going to have to make this change unilaterally in JRuby.
This behavior leads to unpredictable system...
headius (Charles Nutter)
03:22 PM Bug #11091: Symbolized Strings May Break Keyword Arguments
It appears to be fixed in 2.3-dev (`trunk`). ds-makandra (Dominik Schöler)
02:27 PM Bug #11091 (Closed): Symbolized Strings May Break Keyword Arguments
See https://makandracards.com/makandra/32333-bugreport-symbolized-strings-break-keyword-arguments-in-ruby-2-2.
---...
ds-makandra (Dominik Schöler)
07:45 AM Feature #11090 (Closed): Enumerable#each_uniq and #each_uniq_by
currently if you want to iterate the first uniq elements you either need to call `uniq` and create a big array or you... Hanmac (Hans Mackowiak)
04:02 AM Bug #11089 (Closed): 2.2.2p95 crash on Windows when passed glob patterns on command line
nobu (Nobuyoshi Nakada)
02:02 AM Bug #11089 (Closed): 2.2.2p95 crash on Windows when passed glob patterns on command line
Command:
~~~
mkdir foo
ruby -e "p ARGV" foo/*
ruby -e "p ARGV" foo/**
ruby -e "p ARGV" foo/**/*
~~~
Resul...
larsch (Lars Christensen)
02:36 AM Bug #11086 (Closed): Symbol#instance_eval gives 'TypeError: can't define singleton' when coerced with String#to_sym
Applied in changeset r50372.
----------
vm_eval.c: allow symbols to instance_eval/exec
* vm_eval.c (rb_obj_instance...
nobu (Nobuyoshi Nakada)
12:35 AM Bug #11088 (Rejected): On Exception too expensive inspect is called on recursive object graph with 3000 elements in it, swallows memory and ultimately doesn't deliver exception
I have tested with simple cases where the dumped structure is not recursive and it works fine. So I attached a non-wo... kaiserprogrammer (Jürgen Bickert)

04/22/2015

07:59 PM Feature #11087: Method to retrieve {local,global,instance} variables as a Hash
We could define something like that code:
```ruby
class Object
def instance_values
instance_variables.inj...
ko1 (Koichi Sasada)
07:08 PM Feature #11087 (Feedback): Method to retrieve {local,global,instance} variables as a Hash
Rails implemented [Object#instance_values](http://api.rubyonrails.org/classes/Object.html#method-i-instance_values) w... chancancode (Godfrey Chan)
02:01 PM Bug #11086: Symbol#instance_eval gives 'TypeError: can't define singleton' when coerced with String#to_sym
I added a patch with a failing test. ThijsWouters (Thijs Wouters)
10:04 AM Bug #11086 (Closed): Symbol#instance_eval gives 'TypeError: can't define singleton' when coerced with String#to_sym
When I coerce a String into a Symbol with String#to_sym, a call to Symbol#instance_eval fails with 'TypeError: can't ... ThijsWouters (Thijs Wouters)
09:44 AM Feature #11077 (Closed): Add IMAP MOVE support
Applied in changeset r50369.
----------
* lib/net/imap.rb (move, uid_move): support the MOVE command defined
in RF...
shugo (Shugo Maeda)
06:20 AM Feature #11077 (Assigned): Add IMAP MOVE support
hsbt (Hiroshi SHIBATA)

04/21/2015

06:45 PM Bug #11045 (Closed): ruby/test_m17n_comb.rb test_str_crypt tests platform-specific crypt behavior
Fixed by r50366. headius (Charles Nutter)
01:59 PM Feature #11084: Use rb-readline instead of ext/readline
i don't know about, the binding/implementation using the C lib might be faster and have more features
so using a pur...
Hanmac (Hans Mackowiak)
01:48 PM Feature #11084: Use rb-readline instead of ext/readline
I'm neutral about this issue, but I wonder why you don't simply unbundle ext/readline instead of replacing it by rb-r... usa (Usaku NAKAMURA)
01:30 PM Feature #11084: Use rb-readline instead of ext/readline
I missed to attach patch. hsbt (Hiroshi SHIBATA)
12:43 PM Feature #11084 (Rejected): Use rb-readline instead of ext/readline
Users who want to build ruby needs to prepare readline library.
Example for https://github.com/sstephenson/ruby-bui...
hsbt (Hiroshi SHIBATA)
12:07 PM Feature #11083 (Closed): Gemify net-telnet
net-telnet has no maintainer. but some issue is available.
ref. #8837 #8668 #8324
I propose to gemify net-telnet...
hsbt (Hiroshi SHIBATA)
11:59 AM Feature #11082 (Closed): Remove condition of RUBY_VERSION <= 1.9
I found needless condition at pathname.rb
Ruby trunk should support only latest version of ruby :)
hsbt (Hiroshi SHIBATA)
03:52 AM Feature #11081 (Closed): [PATCH] stdlib: use IO#wait_*able instead of IO.select when possible
In case a process encounters high-numbered FDs, this allows
consistent performance on systems with ppoll support.
[...
normalperson (Eric Wong)
02:46 AM Bug #11080 (Closed): [PERF] bm_so_concatenate.rb regression
http://rubybench.org/ruby/ruby/commits?result_type=so_concatenate&display_count=1000
Hi, I spotted a regression on...
tgxworld (Guo Xiang Tan)
 

Also available in: Atom