Project

General

Profile

Activity

From 04/12/2013 to 04/18/2013

04/18/2013

09:13 PM Feature #6216: SystemStackError backtraces should not be reduced to one line
It has been pointed out to me that the patched ruby will likely crash when the patched code run on a sigaltstack.
...
drkaes (Stefan Kaes)
08:48 PM Bug #8268: ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
I can add "rb_cv_have_signbit=no" to workaround the make error for now. mattconnolly (Matt Connolly)
08:35 PM Bug #8268: ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
Actually, I just found this page: http://docs.oracle.com/cd/E19082-01/819-0690/chapter4-29405/index.html
It appear...
mattconnolly (Matt Connolly)
08:30 PM Bug #8268: ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
Hello naruse and nobu, thank you for looking into this issue.
I have recorded a log of attempting to build ruby-2....
mattconnolly (Matt Connolly)
04:33 PM Bug #8286 (Closed): Can't decode non-MIME Base64
nobu (Nobuyoshi Nakada)
01:23 PM Bug #8286: Can't decode non-MIME Base64
2013/4/18 adacosta (Alan Da Costa) <[email protected]>

>
> Issue #8286 has been updated by adacosta (Alan...
naruse (Yui NARUSE)
10:02 AM Bug #8286: Can't decode non-MIME Base64
duerst (Martin Dürst) wrote:
> On 2013/04/18 8:20, naruse (Yui NARUSE) wrote:
> >
> > Issue #8286 has been updat...
naruse (Yui NARUSE)
09:53 AM Bug #8286: Can't decode non-MIME Base64
On 2013/04/18 8:20, naruse (Yui NARUSE) wrote:
>
> Issue #8286 has been updated by naruse (Yui NARUSE).
>
> ...
duerst (Martin Dürst)
09:47 AM Bug #8286: Can't decode non-MIME Base64
My confusion on this issue might have stemmed from a client sending Base64 without padding, and decode64 not managing... adacosta (Alan Da Costa)
09:29 AM Bug #8286: Can't decode non-MIME Base64
Hi Naruse, thank you for looking at my issue and sorry for wasting your time. I should have spent more time verifying... adacosta (Alan Da Costa)
08:20 AM Bug #8286 (Rejected): Can't decode non-MIME Base64
Your Base64Compatible.encode64 is buggy.
Base64Compatibleencode64("Lorem ipsum dolor sit amet, consectetur adipiscin...
naruse (Yui NARUSE)
08:14 AM Bug #8286: Can't decode non-MIME Base64
Could you show self-contained reproducible example? naruse (Yui NARUSE)
07:49 AM Bug #8286 (Closed): Can't decode non-MIME Base64
=begin
In https://github.com/ruby/ruby/blob/trunk/lib/base64.rb#L42 , RFC 2045 is mentioned for encode64/decode64 su...
adacosta (Alan Da Costa)
02:57 PM Feature #8110: Regex methods not changing global variables
headius (Charles Nutter) wrote:
> naruse (Yui NARUSE) wrote:
> > You may misunderstand, unlike Perl, Ruby's setting...
naruse (Yui NARUSE)
01:20 AM Feature #8110: Regex methods not changing global variables
sam.saffron (Sam Saffron) wrote:
> @naruse @charlie should this be moved to ruby common?
If CommonRuby officially...
headius (Charles Nutter)
01:19 AM Feature #8110: Regex methods not changing global variables
naruse (Yui NARUSE) wrote:
> You may misunderstand, unlike Perl, Ruby's setting global variable cost is small.
> Ru...
headius (Charles Nutter)
01:38 PM Bug #8287 (Rejected): Regexp performance issue
ADDRESS = # RFC-5322 : http://tools.ietf.org/html/rfc5322
/
(?<mailbox>
(?<name_addr>
(?<display_name...
mghomn (Justin Peal)
01:26 PM Feature #8237: Logical method chaining via inferred receiver
Wow, inferred reciever, cool. But wait, in Ruby, there is already self! When you type often
fred.do_this && fred.do_...
Anonymous
01:42 AM Feature #8237: Logical method chaining via inferred receiver
Charles, I understand that you don't like this code style. But I'm pretty sure you consider bad several other code st... rosenfeld (Rodrigo Rosenfeld Rosas)
01:29 AM Feature #8237: Logical method chaining via inferred receiver
I believe this has been suggested and rejected before. It's similar to Groovy's ?. operator, which only proceeds with... headius (Charles Nutter)
07:44 AM Bug #8285: Resolv::DNS: TCP fallback fails with multiple resolvers
Also, ruby -v actually is: ruby 1.9.3p374 (2013-01-15 revision 38858) [x86_64-darwin11]
julian.mehnle (Julian Mehnle)
07:42 AM Bug #8285: Resolv::DNS: TCP fallback fails with multiple resolvers
Why has @monospace@ formatting been disabled in this Redmine? Bleh! julian.mehnle (Julian Mehnle)
07:36 AM Bug #8285: Resolv::DNS: TCP fallback fails with multiple resolvers
The problem is caused by my original TCP fallback code reusing a Resolv::DNS::Requester::TCP::Sender object that was ... julian.mehnle (Julian Mehnle)
07:15 AM Bug #8285 (Closed): Resolv::DNS: TCP fallback fails with multiple resolvers
Since my TCP fallback support patch from #3835 was merged Resolv::DNS would sometimes fail with a @"host/port don't m... julian.mehnle (Julian Mehnle)
06:23 AM Bug #8148: [patch] reduce allocations due to __FILE__ and {class,module}_eval
On Wed, Apr 17, 2013 at 11:49 AM, Eric Wong <[email protected]> wrote:
> "headius (Charles Nutter)" <headius@h...
tmm1 (Aman Karmani)
03:53 AM Bug #8148: [patch] reduce allocations due to __FILE__ and {class,module}_eval
"headius (Charles Nutter)" <[email protected]> wrote:
> I'd like to work with you to find more places we could b...
normalperson (Eric Wong)
12:51 AM Bug #8148: [patch] reduce allocations due to __FILE__ and {class,module}_eval
I'd like to work with you to find more places we could be sharing frozen strings. A change over the summer made defin... headius (Charles Nutter)
05:49 AM Bug #8159: Build failure introduced by Rinda changes
Could you temporally commit the patch because it causes test failure? naruse (Yui NARUSE)
03:06 AM Feature #8259: Atomic attributes accessors
Having some discussions with dbussink on IRC...
I think the most universally correct option is to have two differe...
headius (Charles Nutter)
02:50 AM Feature #8259: Atomic attributes accessors
dbussink (Dirkjan Bussink) wrote:
> I highly doubt the neverending complaints case, since this I think people using ...
headius (Charles Nutter)
02:26 AM Feature #8259: Atomic attributes accessors
I highly doubt the neverending complaints case, since this I think people using CAS would usually know what they are ... dbussink (Dirkjan Bussink)
01:08 AM Feature #8259: Atomic attributes accessors
dbussink (Dirkjan Bussink) wrote:
> What I'm wondering is, do we want to enforce the overhead of numeric CAS for all...
headius (Charles Nutter)
01:00 AM Feature #8259: Atomic attributes accessors
What I'm wondering is, do we want to enforce the overhead of numeric CAS for all applications of CAS? Also in the cas... dbussink (Dirkjan Bussink)

04/17/2013

08:37 PM Bug #8148: [patch] reduce allocations due to __FILE__ and {class,module}_eval
ko1-san, do you have any opinion on this patch? Is there a simpler solution instead of adding NODE_FILE?
I convert...
tmm1 (Aman Karmani)
07:38 PM Feature #8110: Regex methods not changing global variables
@naruse @charlie should this be moved to ruby common? sam.saffron (Sam Saffron)
12:29 PM Bug #8208: Raise cached exceptions for nonblocking IO to avoid allocation/stack-copying costs
Charles Nutter <[email protected]> wrote:
> Which issue is tracking an exceptionless nonblocking API? Maybe we c...
normalperson (Eric Wong)
11:53 AM Bug #8208: Raise cached exceptions for nonblocking IO to avoid allocation/stack-copying costs
On Apr 16, 2013, at 8:42 PM, Eric Wong <[email protected]> wrote:
> How does this compare to an implementation ...
headius (Charles Nutter)
10:53 AM Bug #8208: Raise cached exceptions for nonblocking IO to avoid allocation/stack-copying costs
"headius (Charles Nutter)" <[email protected]> wrote:
> Perf change for an implementation of this in JRuby:

...
normalperson (Eric Wong)
12:33 AM Bug #8208: Raise cached exceptions for nonblocking IO to avoid allocation/stack-copying costs
No comments?
Perf change for an implementation of this in JRuby:
Before:
$ jruby -rbenchmark -rsocket -e "s ...
headius (Charles Nutter)
10:04 AM Feature #8273 (Rejected): Make it possible to treat objects as falsy in order to make NullObjects more convenient
Rejected for the same reason as #6180.
Matz.
matz (Yukihiro Matsumoto)
03:50 AM Feature #8273: Make it possible to treat objects as falsy in order to make NullObjects more convenient
@headius
I understand your oppositions. IMO, NullObject should be a kind of immutable/singleton object so that objec...
prijutme4ty (Ilya Vorontsov)
07:32 AM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
I think that was tossed around on IRC or somewhere. It would certainly work, but it feels a little too hacky to me.
...
headius (Charles Nutter)
04:59 AM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
Has anyone talked about .backtrace returning a subclass of String (or singleton) which duck-types to the same methods... enebo (Thomas Enebo)
02:54 AM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
What's the next step here? Do we need a patch to proceed? It seems like this feature is universally liked. headius (Charles Nutter)
03:57 AM Feature #8259: Atomic attributes accessors
The "while true" loop is there in order to re-check if the value is == after a change. My justification is that the o... headius (Charles Nutter)
03:53 AM Feature #8259: Atomic attributes accessors
Charles, I really sure there is no need for `while true` in your numeric
handling cas -
the nature of cas is "ch...
funny_falcon (Yura Sokolov)
03:33 AM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
naruse (Yui NARUSE) wrote:
> headius (Charles Nutter) wrote:
> > * Documentation about how to file feature requests...
headius (Charles Nutter)
03:21 AM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
headius (Charles Nutter) wrote:
> @naruse: I will try to summarize what implementation of this proposal will involve...
naruse (Yui NARUSE)
12:13 AM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
@naruse: I will try to summarize what implementation of this proposal will involve:
Required changes:
* CommonR...
headius (Charles Nutter)
03:12 AM Feature #8275: Add Module#public_const_get
rkh (Konstantin Haase) wrote:
> I was considering a boolean. However, const_get already takes a boolean argument ind...
headius (Charles Nutter)
03:02 AM Feature #8275: Add Module#public_const_get
I was considering a boolean. However, const_get already takes a boolean argument indicating whether or not to include... rkh (Konstantin Haase)
02:55 AM Feature #8088: Method#parameters (and friends) should provide useful information about core methods
marcandre: Have you had a chance to prototype what you were talking about? I'll be on #jruby Freenode IRC today if yo... headius (Charles Nutter)
02:53 AM Feature #6308: Eliminate delegation from WeakRef
Here's a patch that removes delegation from Weakref: https://github.com/headius/ruby/commit/431b971a147daf8a9b2185d11... headius (Charles Nutter)
02:36 AM Feature #6308: Eliminate delegation from WeakRef
Moving into CommonRuby headius (Charles Nutter)
12:39 AM Feature #8239: Inline rescue bug
I also think this is a bug, but it may not be backported because of backward compatibility. nobu (Nobuyoshi Nakada)
12:24 AM Feature #7701: Non-optional (required) keyword args
Oh, a question... target version will be 2.1, yes? headius (Charles Nutter)
12:23 AM Feature #7701: Non-optional (required) keyword args
Oh, excellent! I had not noticed this was completed until today.
Thanks, everyone!
headius (Charles Nutter)
12:20 AM Feature #8270: Ruby should build without thread support (aka minix)
nobu (Nobuyoshi Nakada) wrote:
> I have never played with it at all.
> "does not yet" means there is a plan to impl...
headius (Charles Nutter)
12:04 AM Feature #8096: introduce Time.current_timestamp
phluid61 (Matthew Kerwin) wrote:
> Actually since making the jruby branch, and based on some conversations here, I h...
headius (Charles Nutter)

04/16/2013

11:58 PM Feature #8275: Add Module#public_const_get
What about an optional boolean for the existing const_get/const_set that indicates whether private constants should b... headius (Charles Nutter)
08:02 PM Feature #8275: Add Module#public_const_get
=begin
And vice-versa for set too maybe
(({Module#public_const_set}))/
(({Module#private_const_set}))
=end
vipulnsward (Vipul Amler)
06:28 PM Feature #8275 (Open): Add Module#public_const_get
Right now, `const_get` will always return a constant, no matter the visibility, which is probably what we want most o... rkh (Konstantin Haase)
11:54 PM Feature #8259: Atomic attributes accessors
I have completed adding the numeric logic to the atomic gem and pushed 1.1.8.
The version for JRuby is here: https...
headius (Charles Nutter)
01:54 PM Feature #8259: Atomic attributes accessors
Comparison of two numeric values *should* be consistent and unchanging, or else I feel that various contracts of numb... headius (Charles Nutter)
01:42 PM Feature #8259: Atomic attributes accessors
Comparison is not atomic. It is used to be ensure, we could use value, stored in @ivar for real CAS. Semantic of meth... funny_falcon (Yura Sokolov)
10:59 AM Feature #8259: Atomic attributes accessors
Why do you consider comparison atomic? nobu (Nobuyoshi Nakada)
08:09 AM Feature #8259: Atomic attributes accessors
FYI, link to a current issue with the atomic gem I'm fixing using a loop + == + CAS: https://github.com/headius/ruby-... headius (Charles Nutter)
06:34 AM Feature #8259: Atomic attributes accessors
funny_falcon (Yura Sokolov) wrote:
> I think, @ivar access should not be volatile as in any other language,
> but ...
headius (Charles Nutter)
11:51 PM Feature #8273: Make it possible to treat objects as falsy in order to make NullObjects more convenient
@rosenfeld That would certainly be less impact, but not zero-impact. I do not have a strong opinion one way or the ot... headius (Charles Nutter)
09:07 PM Feature #8273: Make it possible to treat objects as falsy in order to make NullObjects more convenient
I should agree with Charles although I understand Ilya's concerns. Maybe another attempt to get this implemented woul... rosenfeld (Rodrigo Rosenfeld Rosas)
01:45 PM Feature #8273: Make it possible to treat objects as falsy in order to make NullObjects more convenient
I think you might have submitted this before, but I'd like to enter my *strong* opposition to this.
* It most defi...
headius (Charles Nutter)
08:11 AM Feature #8273 (Rejected): Make it possible to treat objects as falsy in order to make NullObjects more convenient
NullObject is quite a useful pattern. But refactoring from conditionals to null-object can be very painful because an... prijutme4ty (Ilya Vorontsov)
09:39 PM Bug #8279 (Closed): Single-line rescue parsing
Hi,
there seems to be a bug in parser for single-line rescue statement. It fails in case of multiple assignment st...
dunric (David Unric)
09:02 PM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
Just for the record, I'm +1 and I'm not an implementer. I'm only interested in the Ruby language discussion itself an... rosenfeld (Rodrigo Rosenfeld Rosas)
04:37 PM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
I still don't understand why headius want to do this and it is reasonable, but I understand what he want to do.
So I...
naruse (Yui NARUSE)
03:41 PM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
duerst (Martin Dürst) wrote:
> I wanted to oppose a more formal process because I think it's
> unnecessary overk...
headius (Charles Nutter)
03:29 PM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
On 2013/04/16 5:35, headius (Charles Nutter) wrote:
>
> Issue #8271 has been reported by headius (Charles Nutter)....
duerst (Martin Dürst)
01:50 PM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
I should say...if feature requests for bundled libraries are currently marked as "feature" in trunk, they'd just be i... headius (Charles Nutter)
01:49 PM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
naruse (Yui NARUSE) wrote:
> People can't make feature request other than trunk.
> There's only backport request in...
headius (Charles Nutter)
09:44 AM Feature #8271 (Assigned): Proposal for moving to a more visible, formal process for feature requests
> * No confusion about where feature requests should be filed. Currently, people usually file feature requests agains... naruse (Yui NARUSE)
06:17 AM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
I wonder if issues for Ruby can have a simple front-end wizard where new users will get funneled to the correct syste... enebo (Thomas Enebo)
05:40 AM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
A correction...
The latter governs all visible feature changes to Python independent of bug reports to the main "C...
headius (Charles Nutter)
05:37 AM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
For reference, the current CommonRuby project in Redmine is here: https://bugs.ruby-lang.org/projects/common-ruby headius (Charles Nutter)
05:35 AM Feature #8271 (Assigned): Proposal for moving to a more visible, formal process for feature requests
Proposal for moving to a more visible, formal process for feature requests.
1. Introduction
In order to make it...
headius (Charles Nutter)
06:20 PM Feature #8096: introduce Time.current_timestamp
headius (Charles Nutter) wrote:
> phluid61 (Matthew Kerwin) wrote:
> > There is this: https://github.com/phluid61/...
phluid61 (Matthew Kerwin)
02:21 PM Feature #8096: introduce Time.current_timestamp
JRuby patch to add Time.timestamp/current_timestamp and Time.microtime: https://gist.github.com/headius/5393552
Th...
headius (Charles Nutter)
02:10 PM Feature #8096: introduce Time.current_timestamp
phluid61 (Matthew Kerwin) wrote:
> There is this: https://github.com/phluid61/timestamp-gem
>
> The java stuff is...
headius (Charles Nutter)
05:07 PM Feature #8270: Ruby should build without thread support (aka minix)
I have never played with it at all.
"does not yet" means there is a plan to implement?
nobu (Nobuyoshi Nakada)
03:20 PM Feature #8270: Ruby should build without thread support (aka minix)
Minix...hard core. I haven't played with that in...20 years?
Perhaps for such a limited system you can just use an...
headius (Charles Nutter)
04:04 AM Feature #8270 (Assigned): Ruby should build without thread support (aka minix)
I tried to ./configure ruby on Minix 3.2.1,
The configure failed, because minix does not yet implement threads.
I...
eike.rb (Eike Dierks)
05:03 PM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
More tests may be needed. nobu (Nobuyoshi Nakada)
04:59 PM Bug #7829: Rounding error in Ruby Time
On Apr 16, 2013, at 12:44 AM, David MacMahon wrote:
^^^^^^^^^^^^

> Please see my other reply to this topic th...
david_macmahon (David MacMahon)
04:53 PM Bug #7829: Rounding error in Ruby Time
I think using floor is correct when reducing the precision of time. We don't round "15:00 on Monday" to "Tuesday", ... david_macmahon (David MacMahon)
04:29 PM Bug #7829: Rounding error in Ruby Time
On Apr 10, 2013, at 9:36 PM, Zachary Scott wrote:

> So is this a documentation bug? I haven't read the entire dis...
david_macmahon (David MacMahon)
03:24 PM Feature #7149: Constant magic for everyone.
const_assigned is not a bad hook at all, imho. headius (Charles Nutter)
02:53 PM Bug #8274 (Closed): No tests for PKCS7::write_smime
There are no tests for OpenSSL::PKCS7::write_smime.
That is all :-)
A recent pull request for JRuby attempts to...
headius (Charles Nutter)
12:18 PM Bug #8204: ObjectSpace.each_object(Bignum) can generate Bignums that are to small to be Bignums
> x = (1 << 100).coerce(42).first # => 42
> x.class # => Bignum
It's a Feature.
Numeric#coerce must return a p...
nobu (Nobuyoshi Nakada)
11:04 AM Bug #8268: ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
At least, gcc 4.7 on Debian 7 and MacPorts work fine with -ggdb3, so it's not gcc 4.7 specific. nobu (Nobuyoshi Nakada)
11:02 AM Bug #8268: ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
Could you show your config.log? nobu (Nobuyoshi Nakada)
08:16 AM Bug #8268: ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
What is $target_os in configure on SmartOS? naruse (Yui NARUSE)
09:25 AM Feature #8265 (Rejected): -0.0 does not have a Flonum like 0.0
It seems not practical problem.
Please reopen this ticket if you find real problem.
(for example, there are too m...
ko1 (Koichi Sasada)
06:41 AM Bug #7584 (Closed): Ruby hangs when shutting down an ssl connection in gc finalization
Great, thanks for checking! I'll close this, too, then. If anyone still runs into this or a similar issue, please let... MartinBosslet (Martin Bosslet)
06:29 AM Bug #7584: Ruby hangs when shutting down an ssl connection in gc finalization
Looks like that fixes it! I was unable to reproduce with "ruby 2.1.0dev (2013-04-15 trunk 40308) [x86_64-linux]".
bpot (Bob Potter)
06:03 AM Feature #8257: Exception#cause to carry originating exception along with new one
rkh (Konstantin Haase) wrote:
> I think allowing rescue lines to take other objects besides modules would this would...
headius (Charles Nutter)
05:45 AM Feature #8272 (Open): Transfer feature tracking to CommonRuby
If my proposal in #8271 is accepted, we'll need to:
1. Document in appropriate places that CommonRuby is the place...
headius (Charles Nutter)

04/15/2013

10:32 PM Feature #8269 (Feedback): stdlib: Add Find.each_file to accompany Find.find
Often when I use the find module, I am only interested in files.
Since Find.find returns files and directories, I of...
tommylommykins (Thomas Green)
07:38 PM Feature #8258: Dir#escape_glob
nobu (Nobuyoshi Nakada) wrote:
> It reminded me about old proposal, `Dir#glob` (not `Dir.glob`).
Interesting, do...
Eregon (Benoit Daloze)
09:23 AM Feature #8258: Dir#escape_glob
(13/04/14 18:34), Eregon (Benoit Daloze) wrote:
> I guess the most common use case is globbing on a directory recurs...
nobu (Nobuyoshi Nakada)
07:29 AM Feature #8258: Dir#escape_glob
rkh (Konstantin Haase) wrote:
> > - Rubinius does not handle escaped `[`, `{` and `}`.
> > - JRuby does not handle ...
Eregon (Benoit Daloze)
04:41 PM Feature #8265: -0.0 does not have a Flonum like 0.0
for me it doesnt make much sense that some Floats have fixed object_ids and some Floats does have not, so i think, wh... Hanmac (Hans Mackowiak)
08:50 AM Feature #8265 (Feedback): -0.0 does not have a Flonum like 0.0
nobu (Nobuyoshi Nakada)
06:04 AM Feature #8265: -0.0 does not have a Flonum like 0.0
> i think that -0.0 should have fixed object_id too
Why?
ko1 (Koichi Sasada)
03:50 PM Bug #8268 (Closed): ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
When compiling ruby from source on Smart OS, which uses gcc-4.7, the configure script fails to correctly detect a com... mattconnolly (Matt Connolly)
12:02 PM Feature #8237: Logical method chaining via inferred receiver
wardrop (Tom Wardrop) wrote:
> =begin
> Don't pick apart the trivial examples too much Henry..
>
> =end
I...
henry.maddocks (Henry Maddocks)
11:06 AM Bug #7584: Ruby hangs when shutting down an ssl connection in gc finalization
Bob, could you please check if the patch applied in https://bugs.ruby-lang.org/issues/8240 fixed this? Thanks! MartinBosslet (Martin Bosslet)
01:26 AM Feature #8110: Regex methods not changing global variables
You may misunderstand, unlike Perl, Ruby's setting global variable cost is small.
Ruby only set a MatchData object t...
naruse (Yui NARUSE)

04/14/2013

11:19 PM Feature #8110: Regex methods not changing global variables
headius (Charles Nutter) wrote:
> Crazy idea: what if in the future you needed to set $~ to nil in order for it to b...
naruse (Yui NARUSE)
10:33 PM Feature #8257: Exception#cause to carry originating exception along with new one
I think allowing rescue lines to take other objects besides modules would this would greatly ease building something ... rkh (Konstantin Haase)
10:27 PM Feature #8258: Dir#escape_glob

> - Rubinius does not handle escaped `[`, `{` and `}`.
> - JRuby does not handle escaped `[` and `]`
These are ...
rkh (Konstantin Haase)
08:39 PM Feature #8258: Dir#escape_glob
What is more worrying is implementations differ quite a bit in treating `\` as an escape for these glob characters `(... Eregon (Benoit Daloze)
06:34 PM Feature #8258: Dir#escape_glob
headius (Charles Nutter) wrote:
> rkh (Konstantin Haase) wrote:
> > `File.fnmatch_escape` would make more sense, im...
Eregon (Benoit Daloze)
03:58 PM Feature #8265 (Rejected): -0.0 does not have a Flonum like 0.0
=begin
with Flonum,
fixed id for 0.0
(0.0).object_id #=> -9223372036854775806
(0.0).object_id #=> -9223372036...
Hanmac (Hans Mackowiak)
03:36 PM Feature #6216: SystemStackError backtraces should not be reduced to one line
It seems to me that a full backtrace can safely be generated (patch against trunk attached).
The one line backtrac...
drkaes (Stefan Kaes)
09:34 AM Feature #7701: Non-optional (required) keyword args
Thanks, the BTS seems missing the commit.
I've thought this ticket had been closed already.
nobu (Nobuyoshi Nakada)
01:55 AM Feature #7701 (Closed): Non-optional (required) keyword args
I think it was committed at r39735. nagachika (Tomoyuki Chikanaga)
02:57 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
Eregon (Benoit Daloze) wrote:
> Although I am not sure of the importance of having TAU. One PI is fine for unit conve...
bug (Harrison Reiser)
02:05 AM Bug #8139 (Closed): keyreq and keyrest
It is a bugfix about require keyword arguments which is a new feature of 2.1. [Feature #7701]
No need to backport. s...
nagachika (Tomoyuki Chikanaga)

04/13/2013

11:55 PM Feature #8259: Atomic attributes accessors
I think, @ivar access should not be volatile as in any other language,
but obj.ivar could be volatile if attr_atomi...
funny_falcon (Yura Sokolov)
01:27 AM Feature #8259: Atomic attributes accessors
Great to see this proposed officially!
I implemented something very much like this for JRuby as a proof-of-concept...
headius (Charles Nutter)
11:43 PM Bug #8205 (Feedback): Regexp.union behavior and Regexp.try_convert
Hello,
Could you show us a reproducive code or a testcase?
nagachika (Tomoyuki Chikanaga)
11:39 AM Feature #8264 (Closed): define struct under the given namespace
=begin
As commented in ((%struct.c%)), it's old style to define (({Struct::Foo})) automatically.
But there is no ...
nobu (Nobuyoshi Nakada)
11:18 AM Feature #8263 (Assigned): Support discovering yield state of individual Fibers
Related to #8215, when debugging a multi-Fiber application or library it is useful to be able to look at the stack fo... halorgium (Tim Carey-Smith)
08:07 AM Feature #8258: Dir#escape_glob
I don't feel strongly about the name, specifically. steveklabnik (Steve Klabnik)
01:31 AM Feature #8258: Dir#escape_glob
rkh (Konstantin Haase) wrote:
> `File.fnmatch_escape` would make more sense, imo.
But it would be harder to remem...
headius (Charles Nutter)
12:01 AM Feature #8258: Dir#escape_glob
`File.fnmatch_escape` would make more sense, imo. rkh (Konstantin Haase)
07:53 AM Feature #8096: introduce Time.current_timestamp
On Apr 13, 2013 2:33 AM, "headius (Charles Nutter)" <[email protected]>
wrote:
>
> Any other input here? It ...
phluid61 (Matthew Kerwin)
01:32 AM Feature #8096: introduce Time.current_timestamp
vipulnsward (Vipul Amler) wrote:
> After the conversation, I hope its reasonable implement this.
Indeed!
Any o...
headius (Charles Nutter)
06:23 AM Feature #6693 (Closed): Don't warn for unused variables starting with _
marcandre (Marc-Andre Lafortune)
05:27 AM Feature #7149 (Open): Constant magic for everyone.
I've never needed this, but I could envision a `const_assigned` callback. Whenever a constant is assigned to an objec... marcandre (Marc-Andre Lafortune)
04:59 AM Feature #7149: Constant magic for everyone.
I have put my library in public ( https://github.com/boris-s/y_support ), so I can now exemplify. After installing th... Anonymous
04:14 AM Feature #7872 (Rejected): `block_given?` does not work inside `define_method`
I'll mark this request as rejected, as it appears based on the misconception that `block_given?` was `false` while `y... marcandre (Marc-Andre Lafortune)
12:43 AM Feature #7872: `block_given?` does not work inside `define_method`
Rebinding block_given? on define_method might be confusing, as the block might be passed to an API without the user b... rkh (Konstantin Haase)
03:58 AM Bug #8261: module_function for methods of same name
Right. Unlike `private`, `protected`, `public`, the method `module_function` called with no arguments does nothing.
...
marcandre (Marc-Andre Lafortune)
12:55 AM Bug #8261 (Rejected): module_function for methods of same name
Correct behavior. nobu (Nobuyoshi Nakada)
03:51 AM Feature #8262: Confusing "undefined method" exception when using - operator on a string
The thing is that the name of the "unary minus" method is "-@", and what you did was send that to "5".
42.send...
marcandre (Marc-Andre Lafortune)
01:17 AM Feature #8262 (Closed): Confusing "undefined method" exception when using - operator on a string
When trying to use the minus operator (-) on a String, Ruby reports the following exception:
> -"5"
> NoMethodErr...
ajack (Jack Weeden)
03:44 AM Feature #8181: New flag for strftime that supports adding ordinal suffixes to numbers
tkellen (Tyler Kellen) wrote:
> naruse (Yui NARUSE) wrote:
> > tkellen (Tyler Kellen) wrote:
> > > strftime curren...
naruse (Yui NARUSE)
01:03 AM Feature #8257: Exception#cause to carry originating exception along with new one
rkh (Konstantin Haase) wrote:
> Should there also be a mechanism to rescue based on cause that's transparent of wrap...
headius (Charles Nutter)
12:13 AM Feature #8257: Exception#cause to carry originating exception along with new one
This would indeed be useful. We have built our own solutions for this many times.
Should there also be a mechanism...
rkh (Konstantin Haase)

04/12/2013

11:27 PM Feature #8181: New flag for strftime that supports adding ordinal suffixes to numbers
naruse (Yui NARUSE) wrote:
> tkellen (Tyler Kellen) wrote:
> > strftime currently supports several flags for format...
tkellen (Tyler Kellen)
10:49 PM Feature #8181: New flag for strftime that supports adding ordinal suffixes to numbers
duerst (Martin Dürst) wrote:
> On 2013/04/12 9:07, tkellen (Tyler Kellen) wrote:
>
> > -∞ for ActiveSupport.
>...
tkellen (Tyler Kellen)
05:53 PM Feature #8181: New flag for strftime that supports adding ordinal suffixes to numbers
On 2013/04/12 9:07, tkellen (Tyler Kellen) wrote:

> -∞ for ActiveSupport.
>
> I don't need or want to require t...
duerst (Martin Dürst)
10:49 AM Feature #8181: New flag for strftime that supports adding ordinal suffixes to numbers
tkellen (Tyler Kellen) wrote:
> strftime currently supports several flags for formatting the time output, why not th...
naruse (Yui NARUSE)
09:07 AM Feature #8181: New flag for strftime that supports adding ordinal suffixes to numbers
zzak (Zachary Scott) wrote:
> ActiveSupport has ordinalize, maybe you want to use that instead.
-∞ for ActiveSupp...
tkellen (Tyler Kellen)
10:54 PM Bug #8261 (Rejected): module_function for methods of same name
This affects all versions from 1.8 to 2.0 I have tested.
I'd expect all three examples below to have the same outp...
manveru (Michael Fellinger)
06:42 PM Bug #8256 (Closed): dependency to include/ruby/version.h
This issue was solved with changeset r40261.
Akira, thank you for reporting this issue.
Your contribution to Ruby is ...
akr (Akira Tanaka)
12:45 AM Bug #8256: dependency to include/ruby/version.h
もうちょっと考えたら、common.mk で単に {$(VPATH)}version.h を
$(srcdir)/include/ruby/version.h に変えればいいような気がしてきました。
そうすべきでない理由はある...
akr (Akira Tanaka)
12:19 AM Bug #8256 (Closed): dependency to include/ruby/version.h
気がついたのですが、in-place で ruby を build した場合に
include/ruby/version.h を更新して make しても version.o が更新されません。
以下では、include/ru...
akr (Akira Tanaka)
05:43 PM Feature #8259 (Open): Atomic attributes accessors
Motivated by this gist ((<URL:https://gist.github.com/jstorimer/5298581>)) and atomic gem
I propose Class.attr_ato...
funny_falcon (Yura Sokolov)
04:45 PM Feature #8110: Regex methods not changing global variables
Crazy idea: what if in the future you needed to set $~ to nil in order for it to be settable by downstream calls (e.g... headius (Charles Nutter)
01:53 PM Feature #8110: Regex methods not changing global variables
=begin
sam.saffron (Sam Saffron) wrote:
> sorry, I really did not mean to say the language should ship a crazy _G
...
phluid61 (Matthew Kerwin)
01:40 PM Feature #8110: Regex methods not changing global variables
sorry, I really did not mean to say the language should ship a crazy _G macro it was just a simple polyfill in the ap... sam.saffron (Sam Saffron)
01:23 PM Feature #8110: Regex methods not changing global variables
=begin
sam.saffron (Sam Saffron) wrote:
> Has anyone given any thought at how to make this friendly with older
>...
phluid61 (Matthew Kerwin)
12:06 PM Feature #8110: Regex methods not changing global variables
Has anyone given any thought at how to make this friendly with older versions of Ruby ... say I have
```ruby
def...
sam.saffron (Sam Saffron)
11:21 AM Bug #8203: Rinda: recycled object
再現しないと書きましたが、実は DRb.here? の誤判定は起きていて _id2ref でたまたま同じ object_id のオブジェクトがあったのでエラーにならず、また TupleSpace#write の戻り値を利用していないの... nagachika (Tomoyuki Chikanaga)
10:55 AM Bug #8203: Rinda: recycled object
おそらくですが、DRb.here? が誤判定していてリモートのオブジェクト(TupleEntry)の参照をカレントプロセス(子プロセス)のオブジェクトと思って object_id から ObjectSpace._id2ref でオブジ... nagachika (Tomoyuki Chikanaga)
10:05 AM Feature #8258 (Feedback): Dir#escape_glob
This is inspired by https://github.com/rails/rails/issues/6010.
Basically, if you do a Dir.glob in a directory who...
steveklabnik (Steve Klabnik)
05:02 AM Feature #8229: extend Hash.include?
As a feature that affects all Ruby implementations, this should probably move to CommonRuby: https://bugs.ruby-lang.o... headius (Charles Nutter)
05:01 AM Feature #8237: Logical method chaining via inferred receiver
As a feature that affects all Ruby implementations, this should probably move to CommonRuby: https://bugs.ruby-lang.o... headius (Charles Nutter)
05:00 AM Feature #8246: Hash#traverse
As a feature that affects all Ruby implementations, this should probably move to CommonRuby: https://bugs.ruby-lang.o... headius (Charles Nutter)
04:59 AM Feature #7604: Make === comparison operator ability to delegate comparison to an argument
As a feature that affects all Ruby implementations, this should probably move to CommonRuby: https://bugs.ruby-lang.o... headius (Charles Nutter)
01:38 AM Feature #7604: Make === comparison operator ability to delegate comparison to an argument
I'have started working on it (first I have to handle switch to 2.0 on my machine). Anonymous
04:53 AM Feature #8168: Feature request: support for (single) statement lambda syntax/definition
As a feature that affects all Ruby implementations, this should probably move to CommonRuby: https://bugs.ruby-lang.o... headius (Charles Nutter)
04:11 AM Feature #8168: Feature request: support for (single) statement lambda syntax/definition
Oops except then they are symbols. Darn, too much to worry about... garysweaver (Gary Weaver)
04:11 AM Feature #8168: Feature request: support for (single) statement lambda syntax/definition
Thinking about it a bit more, I guess it would have to be context sensitive. Just some character that is parsed when ... garysweaver (Gary Weaver)
03:47 AM Feature #8168: Feature request: support for (single) statement lambda syntax/definition
@matz, You know best. :) !! I know that this request varies a bit when you consider that stab is a function call, but... garysweaver (Gary Weaver)
04:48 AM Feature #8257: Exception#cause to carry originating exception along with new one
Links to implementation of "cause" rendering and Kernel#raise logic from Rubinius:
"cause" rendering: https://gith...
headius (Charles Nutter)
01:40 AM Feature #8257 (Closed): Exception#cause to carry originating exception along with new one
Often when a lower-level API raises an exception, we would like to re-raise a different exception specific to our API... headius (Charles Nutter)
01:52 AM Bug #8255: File#each_line omits last byte (==\0) if encoding is utf-16
Just FYI, you can propose transparent treatment along UTF-16 series ;-) naruse (Yui NARUSE)
01:21 AM Bug #8255 (Closed): File#each_line omits last byte (==\0) if encoding is utf-16
Sorry, I've only changed 'rb:utf-16le' when I wrote above comments.
It's running fine if I chaned 'wb:utf-16le' when...
arton (Akio Tajima)
01:15 AM Bug #8255: File#each_line omits last byte (==\0) if encoding is utf-16
Attachment is the fixed version of test I'd expected the behaviour. arton (Akio Tajima)
01:13 AM Bug #8255: File#each_line omits last byte (==\0) if encoding is utf-16
OK, I've fixed my test code. It had some bugs and change the 2nd arg of File#open to 'rb:UTF-16LE'.
Invoking Strin...
arton (Akio Tajima)
12:11 AM Bug #8255: File#each_line omits last byte (==\0) if encoding is utf-16
This is because
* UTF-16 is dummy encoding; you must use UTF-16BE, UTF-16LE, or BOM|UTF-* specifier; OR some other t...
naruse (Yui NARUSE)
 

Also available in: Atom