Project

General

Profile

Activity

From 09/20/2013 to 09/26/2013

09/26/2013

11:54 PM Feature #8956 (Rejected): Allow hash members delimited by \n inside of {}
Currently, hashes require members to be delimited by commas (`,`), even inside curly braces. E.g.,
~~~ruby
some_h...
adamdunson (Addie Drake)
11:49 PM Bug #8954 (Third Party's Issue): Execution crashed when querying twitter using the Twitter Gem
ruby_debug.gem issue. nobu (Nobuyoshi Nakada)
09:02 PM Bug #8954 (Third Party's Issue): Execution crashed when querying twitter using the Twitter Gem
Ruby 2.0 crashed when I was executing a script which hits the twitter search api for tweets containing certain keywor... akshaykhole (Akshay Khole)
09:33 PM Bug #8955 (Closed): LocalJumpError - no block given (yield) after implementation of class hierarchy method cache invalidation
Hi.
I use Ruby 2.1 on a Texas instruments C6678 DSP in a Linux environment based on uclinux and uClibc with NPTL/Pth...
mfla (Morten Fla)
08:21 PM Feature #8839 (Assigned): Class and module should return the class or module that was opened
How useful is this proposal?
I think we should not change anything without consideration of use case.
--
Yusuke...
mame (Yusuke Endoh)
12:03 PM Feature #8839: Class and module should return the class or module that was opened
nobu: I don't understand what you mean by "evaluated in different timings". Could you please explain?
I think this...
Anonymous
11:57 AM Feature #8839: Class and module should return the class or module that was opened
No, class and def are evaluated in different timings.
This proposal makes no sense.
nobu (Nobuyoshi Nakada)
06:43 AM Feature #8839: Class and module should return the class or module that was opened
+1 enebo (Thomas Enebo)
06:41 AM Feature #8839: Class and module should return the class or module that was opened
So...if there's no objections, can we get this into 2.1? I think with the new def return value change it really needs... headius (Charles Nutter)
04:59 PM Feature #8953: `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
Please backport r43050, 43052 sorah (Sorah Fukumori)
04:58 PM Feature #8953 (Closed): `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
This issue was solved with changeset r43052.
Goro, thank you for reporting this issue.
Your contribution to Ruby is g...
sorah (Sorah Fukumori)
04:52 PM Feature #8953 (Assigned): `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
Testing my patch on my machine for regexpmatch2 sorah (Sorah Fukumori)
04:48 PM Feature #8953: `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
Ah you are right. Thanks for pointing that out sorah. Anonymous
04:46 PM Feature #8953: `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
>The problem still exists for opt_regexpmatch1, right?
s/opt_regexpmatch1/opt_regexpmatch2/
sorah (Sorah Fukumori)
04:46 PM Feature #8953 (Open): `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
The problem still exists for opt_regexpmatch1, right? sorah (Sorah Fukumori)
04:39 PM Feature #8953 (Closed): `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
This issue was solved with changeset r43050.
Goro, thank you for reporting this issue.
Your contribution to Ruby is g...
Anonymous
04:20 PM Feature #8953: `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
hm...
ruby -e'class Regexp; def =~(o); true; end; end; p /a/ =~ "b"' #=> nil
sorah (Sorah Fukumori)
04:05 PM Feature #8953 (Closed): `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
The expression `a =~ b` does not call the =~ method in some cases.
I think it is a bug that results from optimizatio...
gfx (Goro FUJI)
02:47 PM Feature #8948: Frozen regex
jwille, I agree with the use case, but it would be difficult to tell which regexes are intended to be the same, so I ... sawa (Tsuyoshi Sawada)
02:46 PM Bug #8680 (Closed): ruby crashes when built with AddressSanitizer
This issue was solved with changeset r43047.
Ruby, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
02:12 PM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
I think there's a big opportunity here for immutable collection types... at least the sort that you know at the time ... bascule (Tony Arcieri)
06:49 AM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
Any other thoughts on this? Any other reasons why it shouldn't be done?
There are other advantages to having liter...
headius (Charles Nutter)
10:41 AM Bug #8952 (Closed): [DOC] required keyword arguments
Shouldn't "required keyword arguments" be described in the doc, probably in syntax/methods.rdoc?
There is only "opti...
nobu (Nobuyoshi Nakada)
10:38 AM Feature #8796 (Closed): Use GMP to accelerate Bignum operations
Introduced on r42743. naruse (Yui NARUSE)
09:07 AM Feature #8951: Please add a hash-to-hash alternative of the map method to Hash
In my private library, I have 3 map-like methods defined on hash:
Hash#with_keys
Hash#with_values
Hash#modify
They ...
Anonymous

09/25/2013

11:46 PM Feature #8948: Frozen regex
besides regexps being frozen, there might still be a use case for regexp literals that would only be allocated once:
...
jwille (Jens Wille)
09:46 PM Feature #8948 (Feedback): Frozen regex
sawa: do you want to request `Regexp` to always be `#frozen?` or should the issue be closed? Eregon (Benoit Daloze)
08:42 AM Feature #8948: Frozen regex
Eregon, thank you for the information. sawa (Tsuyoshi Sawada)
06:00 AM Feature #8948: Frozen regex
We already have immutable (created only once) regexps: it is always the case for literal regexps and for dynamic rege... Eregon (Benoit Daloze)
04:08 AM Feature #8948: Frozen regex
Sorry, there was a mistake in the above. The three regexes with the same content `/pattern1/` (or `/pattern1/f`) in t... sawa (Tsuyoshi Sawada)
04:02 AM Feature #8948 (Assigned): Frozen regex
=begin
I see that frozen string was accepted for Ruby 2.1, and frozen array and hash are proposed in https://bugs.ru...
sawa (Tsuyoshi Sawada)
10:27 PM Bug #8680: ruby crashes when built with AddressSanitizer
Attaching latest patch against tip. Feedback is welcome. halfie (Ruby Guy)
05:44 PM Bug #8399 (Closed): Remove usage of RARRAY_PTR in C extensions when not needed
This issue was solved with changeset r43044.
Dirkjan, thank you for reporting this issue.
Your contribution to Ruby i...
ko1 (Koichi Sasada)
12:53 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
(2013/09/25 6:00), Eric Wong wrote:
> Hi, it looks like the API is mostly fleshed out now since 2.1.0preview1
> ...
ko1 (Koichi Sasada)
06:23 AM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
SASADA Koichi <[email protected]> wrote:
> (2013/05/15 14:38), dbussink (Dirkjan Bussink) wrote:
> > If we're changi...
normalperson (Eric Wong)
02:23 PM Feature #8951: Please add a hash-to-hash alternative of the map method to Hash
#rehash is taken: http://www.ruby-doc.org/core-2.0.0/Hash.html#method-i-rehash

I was thinking about 'projection...
fuadksd (Fuad Saud)
01:36 PM Feature #8951: Please add a hash-to-hash alternative of the map method to Hash
How about:
`Hash#graph`
or
`Hash#rehash`
jamonholmgren (Jamon Holmgren)
01:23 PM Feature #8951: Please add a hash-to-hash alternative of the map method to Hash
Wow, I missed this a couple of days ago. Totally supported.

--
Fuad Saud
Sent with Sparrow (http://www.spa...
fuadksd (Fuad Saud)
01:05 PM Feature #8951 (Closed): Please add a hash-to-hash alternative of the map method to Hash
Please see this thread: https://twitter.com/behrangsa/status/382670159086776323
behrangsa (Behrang Saeedzadeh)
01:00 PM Bug #8616: Process.daemon messes up threads
FWIW, it looks like the relevant change that fixed it for 2.1.0-preview1 was https://github.com/ruby/ruby/commit/300b... benweint (Ben Weintraub)
12:56 PM Bug #8616: Process.daemon messes up threads
Actually, it looks like this is fixed in Ruby 2.1.0-preview1 (Thread#alive? returns false for background threads spaw... benweint (Ben Weintraub)
08:06 AM Bug #8616: Process.daemon messes up threads
I agree with Evan. The behavior he describes would be consistent with how threads are handled when a process forks vi... benweint (Ben Weintraub)
12:25 PM Bug #8774: rb_file_dirname return wrong encoding string when dir is "."
Any progress? [email protected] (贾 延平)
12:12 PM Bug #8677: $LOAD_PATH did not encoded into the "internal encoding"
Hope fix in Ruby 2.1 [email protected] (贾 延平)
10:16 AM Bug #8940 (Assigned): printing UTF-32 crashs ruby
r43033, r43034, and r43035 also looks related.
Note that though Unicode spec says non endian encoding should be Bi...
naruse (Yui NARUSE)
06:27 AM Bug #8941 (Rejected): strptime %Y parsing
we don't need any bug reports for python.
ruby's one isn't wrong.
tadf (tadayoshi funaba)
03:29 AM Feature #4830: Provide Default Variables for Array#each and other iterators
I don't like this. The only thing that doesn't hurt so much would be
something like scala's underscores for one pa...
fuadksd (Fuad Saud)
02:59 AM Feature #4830: Provide Default Variables for Array#each and other iterators
How should nested blocks behave?
[[1, 2], [3, 4]].map { item.map { item + 1 } }
alexeymuranov (Alexey Muranov)

09/24/2013

09:40 PM Bug #7940: Mistaken use of inline rescues in stdlib
Bump.
Should dblack be discharged under the 3 month rule? He has not been active for quite some time.
Anonymous
09:34 PM Feature #8947 (Open): make alias, alias_method, attr_* return name of the alias
Now that def returns the method name, it would be handy to have alias/alias_method return the name of the alias:
c...
rkh (Konstantin Haase)
04:29 PM Bug #8946 (Closed): Segmentation fault while NoMemoryError expected

I was trying to watch gc behavior by generating NoMemoryError intentionally, a segmentation fault occurred without ...
tmqhliu (Xiaoding Liu)
02:14 PM Bug #8161 (Closed): String#+ should inherit untrustedness
Untrustedness is now deprecated and behaves the same as tainting.
Taintedness is properly propagated in your examp...
Anonymous
02:02 PM Bug #8930 (Closed): some benchmark programs are slow since r42822
This issue was solved with changeset r43027.
Narihiro, thank you for reporting this issue.
Your contribution to Ruby ...
Anonymous
01:07 PM Bug #8945 (Closed): Unmarshaling an Array containing a Bignum from a tainted String returns a frozen, tainted Bignum
In 2.1, Symbol, Fixnum, Bignum, and Float (at least) have been changed to frozen by default. Consequently, calling #t... brixen (Brian Shirai)
12:18 PM Bug #8944 (Closed): Error in example code of DL::CFunc
I found an error in the example code of DL::CFunc.
libc,['strcpy'] should be libc['strcpy']
phasis68 (Heesob Park)
09:56 AM Bug #8493: Random Segmentation fault in sass
We've encountered the same problem with 1.9.3p488. We have deployed to our Ubuntu 12.04 servers several times without... gchan (Gordon Chan)
05:23 AM Feature #8700: Integer#bitsize (actually Fixnum#bitsize and Bignum#bitsize)
I like it. Pretty neat for low level bit brushing stuff.

--
Fuad Saud
Sent with Sparrow (http://www.sparro...
fuadksd (Fuad Saud)
05:06 AM Feature #8691 (Closed): Add warning for variable that is re-assigned but not re-used
closing, see ruby-core:57091 zzak (zzak _)
03:27 AM Feature #8938 (Closed): it keyword
I'm not familiar with bug process here so let me know if I'm overstepping here. Since there's at least one other bug ... headius (Charles Nutter)
01:41 AM Feature #8938: it keyword
i think the main problem is that some iterators react differently when the block has different block parameters ... w... Hanmac (Hans Mackowiak)
01:33 AM Feature #8938: it keyword
There are two others.
The oldest is here: https://bugs.ruby-lang.org/issues/4475
The most active is here: https...
headius (Charles Nutter)

09/23/2013

10:45 PM Bug #8941 (Assigned): strptime %Y parsing
nobu (Nobuyoshi Nakada)
09:39 PM Bug #8941 (Rejected): strptime %Y parsing
Time.strptime("1", "%Y")
=> 0001-01-01 00:00:00 +0642
Is it expected behavior?
strftime docs say this:
...
exoth (Yury Trofimenko)
10:16 PM Bug #8940 (Closed): printing UTF-32 crashs ruby
This issue was solved with changeset r43023.
Hans, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
08:57 PM Bug #8940: printing UTF-32 crashs ruby
hm it maybe is ...
funny thing:
this works:
"äöü".encode("UTF-32BE") #=> "\u00E4\u00F6\u00FC"
"äöü".encode("UT...
Hanmac (Hans Mackowiak)
08:39 PM Bug #8940: printing UTF-32 crashs ruby
It'd be related to that UTF-32 is a pseudo encoding, probably. nobu (Nobuyoshi Nakada)
06:24 PM Bug #8940 (Closed): printing UTF-32 crashs ruby
using
p "äöü".encode("UTF-32")
does cause a SEGFAULT
-- C level backtrace information ----------------------...
Hanmac (Hans Mackowiak)
08:39 PM Feature #8077: Returning Dir objects from C extensions
Any chance of this going ahead? andrenth (Andre Nathan)
08:30 PM Feature #8938: it keyword
I'm sure that this is a duplicate, but it is hard to search. nobu (Nobuyoshi Nakada)
04:49 PM Feature #8938 (Closed): it keyword
automatic 'it' keyword for block variable:
items.each{|x| puts x.name }
=>
items.each{puts it.name}
Sing9898 (Sing Lou)
07:43 PM Feature #7797: Hash should be renamed to StrictHash and a new Hash should be created to behave like AS HashWithIndifferentAccess
@Sing9898 no you cant do that because it could break existing ruby code
{a:"b"} is the short form for {:a => "b"},...
Hanmac (Hans Mackowiak)
07:35 PM Feature #7797: Hash should be renamed to StrictHash and a new Hash should be created to behave like AS HashWithIndifferentAccess
the confusing became probably more immediate after the introduction of the new {a:"b"} syntax.
because for novices ...
Sing9898 (Sing Lou)
07:27 PM Feature #7797: Hash should be renamed to StrictHash and a new Hash should be created to behave like AS HashWithIndifferentAccess
I am so glad this ticket wasn't rejected because it is a constructive solution to one of the biggest Ruby frustratio... Sing9898 (Sing Lou)
07:42 PM Feature #8939: symbol / string invariance (for hashes)
yes,duplicate, thanks Sing9898 (Sing Lou)
07:07 PM Feature #8939: symbol / string invariance (for hashes)

Duplicate of Feature #7797 "Hash should be renamed to StrictHash and a new Hash should be created to behave like AS...
Hanmac (Hans Mackowiak)
06:36 PM Feature #8939: symbol / string invariance (for hashes)
Update: then let's make HashWithIndifferentAccess the standard hash somehow Sing9898 (Sing Lou)
05:38 PM Feature #8939: symbol / string invariance (for hashes)
no it should not because Symbol and String are two different Classes,
if you want that are the same use ActiveSuppor...
Hanmac (Hans Mackowiak)
04:51 PM Feature #8939 (Closed): symbol / string invariance (for hashes)
hash={key:"value"}
hash["key"] should return "value"
hash={"key"=>"value"}
hash[:key] should return "value"
Sing9898 (Sing Lou)
07:05 PM Bug #8935: Zlib::GzipWriter.new with block truncates output to 20 corrupted bytes
Whoa. Has that always been the case? Cause I'm pretty sure I saw this code used somewhere else too.
The problem wi...
bugmenot123 (DoNot BugMe)
03:00 PM Bug #8935: Zlib::GzipWriter.new with block truncates output to 20 corrupted bytes
Every ruby method can be accept a block.
Zlib::GzipWriter.new just return a object, not callback the block,
Zl...
windwiny (wind winy)

09/22/2013

08:11 PM Bug #8888: Fix grammar for documentation of #bm of Benchmark module
zzak (Zachary Scott) wrote:
> This issue was solved with changeset r43002.
> Prathamesh, thank you for reporting th...
cha1tanya (Prathamesh Sonpatki)
08:05 PM Bug #8936 (Closed): Improve explanation about passing more number of params to instance of Struct
cha1tanya (Prathamesh Sonpatki)
07:26 AM Bug #8935: Zlib::GzipWriter.new with block truncates output to 20 corrupted bytes
Come to think of it, 20 bytes seems like what the gzip header + footer would take up... bugmenot123 (DoNot BugMe)
12:33 AM Bug #8935: Zlib::GzipWriter.new with block truncates output to 20 corrupted bytes
Sorry, another try without any formatting:
#!/usr/bin/ruby -w
require "zlib"
require "stringio"
input = F...
bugmenot123 (DoNot BugMe)
12:31 AM Bug #8935 (Closed): Zlib::GzipWriter.new with block truncates output to 20 corrupted bytes
=begin
(({Zlib::GzipWriter.new})) with block truncates output to 20 corrupted bytes.
#!/usr/bin/ruby -w
requ...
bugmenot123 (DoNot BugMe)

09/21/2013

08:11 PM Bug #8769 (Closed): [PATCH] process.c (rb_fork_internal): remove cloexec setting
This issue was solved with changeset r43008.
Eric, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
06:23 PM Bug #8769: [PATCH] process.c (rb_fork_internal): remove cloexec setting
"nobu (Nobuyoshi Nakada)" <[email protected]> wrote:
> Eric can't?

I never accepted commit bit to any projec...
normalperson (Eric Wong)
12:08 PM Bug #8934 (Third Party's Issue): Shut down my Thin server, then the terminal spit out 1182 lines and told me to report it to you.
Seems it happens in ruby_debug hook. nobu (Nobuyoshi Nakada)
10:34 AM Bug #8934 (Third Party's Issue): Shut down my Thin server, then the terminal spit out 1182 lines and told me to report it to you.
I was debugging my app using rails 4, ruby 2.0 and the Thin gem using OS 10.7.5. Then I stopped doing anything with i... mcodyb (Cody Bertolino)
08:07 AM Bug #8870: Method-Missing breaking irb
I know nothing about what your script does. nobu (Nobuyoshi Nakada)
05:42 AM Bug #8870: Method-Missing breaking irb
I do understand that its bad to use method_missing in the global space, but the behavior should be same irrespective ... bjhaid (Ayodele Abejide)
07:43 AM Bug #8933 (Closed): ruby-2.0.0-p247/gems/rubyzip-0.9.9/lib/zip/inflater.rb:42: [BUG] Segmentation fault
Hello,
My program is working on Linux and Windows but not on my mac OSX, I have the error segmentation fault
Progr...
robino (vincent moreno)
07:41 AM Bug #8932 (Closed): ruby-2.0.0-p247/gems/rubyzip-0.9.9/lib/zip/inflater.rb:42: [BUG] Segmentation fault
Hello,
My program is working on Linux and Windows but not on my mac OSX, I have the error segmentation fault
Progr...
robino (vincent moreno)
01:05 AM Bug #8888 (Closed): Fix grammar for documentation of #bm of Benchmark module
This issue was solved with changeset r43002.
Prathamesh, thank you for reporting this issue.
Your contribution to Rub...
zzak (zzak _)
12:26 AM Bug #8758 (Closed): Add initial documentation for SSLServer
I have committed the changes in r42995 but missed the bug number on the commit :( zzak (zzak _)
12:12 AM Bug #8758: Add initial documentation for SSLServer
I'm going to skip the generator part, its a little verbose for my liking. Thank you for the patch, I will commit the ... zzak (zzak _)
12:25 AM Bug #7348: marshaling an object by a float does not work
commit miss orz zzak (zzak _)

09/20/2013

11:54 PM Bug #8913 (Closed): Unclear licensing terms on lib/gserver.rb
This issue was solved with changeset r42994.
Antonio, thank you for reporting this issue.
Your contribution to Ruby i...
zzak (zzak _)
11:28 PM Bug #8854: Update URL for bug reports
I would like to discuss this as a feature: #8931 zzak (zzak _)
11:27 PM Feature #8931 (Rejected): Update URL in REPORTBUG_MSG
cc #8854 zzak (zzak _)
11:16 PM Feature #8929 (Feedback): CSV.foreach(filename) without block returns failing Enumerator
zzak (zzak _)
05:48 PM Feature #8929: CSV.foreach(filename) without block returns failing Enumerator
=begin
why not simply return an Enumerator from `foreach`?
class CSV
def self.foreach(path, options = Ha...
jwille (Jens Wille)
07:28 AM Feature #8929: CSV.foreach(filename) without block returns failing Enumerator
I can see that it is tricky, because a normal enumerator created by calling CSV#each shouldn't necessarily close the ... martinjos (Martin Sidaway)
07:04 AM Feature #8929: CSV.foreach(filename) without block returns failing Enumerator
<snip>
(I thought it had failed to send this message...)
martinjos (Martin Sidaway)
06:24 AM Feature #8929 (Closed): CSV.foreach(filename) without block returns failing Enumerator
CSV.foreach(filename) {|entry| p entry } => works
CSV.foreach(filename).to_a => fails
It gives th...
martinjos (Martin Sidaway)
09:35 PM Feature #8895: Destructuring Assignment for Hash
How about this:
~~~ruby
(x, y, *rest, :a => v1, :b => v2, **options) = 1, 2, 3, 4, :a => :foo, :b => :bar, :c => ...
alexeymuranov (Alexey Muranov)
07:04 PM Bug #8930 (Closed): some benchmark programs are slow since r42822
Hi.
I find some benchmark programs are slow since r42822.
% time ./miniruby -v benchmark/bm_vm3_clearmethodcach...
authorNari (Narihiro Nakamura)
03:51 PM Bug #8886 (Assigned): TracePoint API inconsistence when raise used
drbrain (Eric Hodel)
03:42 PM Bug #8886: TracePoint API inconsistence when raise used
Ping. Could @ko1 or someone review this and (hopefully) merge it? I've been using it for the last week without any is... deivid (David Rodríguez)
 

Also available in: Atom