Activity
From 12/04/2014 to 12/10/2014
12/10/2014
- 08:38 PM Revision 0eebb8f1 (git): * lib/prime.rb: Remove useless loop and block capture.
- See [#10354]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:35 PM Bug #10511 (Feedback): fix for #9940 causes dramatic performance regression
- could you try r48765?
-
07:35 PM Bug #10511 (Closed): fix for #9940 causes dramatic performance regression
- Applied in changeset r48765.
----------
* vm_core.h: introduce new field
rb_thread_t::local_storage_recursive_hash... - 07:35 PM Revision 05f087c8 (git): * 2014-12-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:35 PM Revision 1de3e801 (git): * vm_core.h: introduce new field
- rb_thread_t::local_storage_recursive_hash_for_trace to store
recursive hash to avoid creating new recursive (nested... -
06:46 PM Feature #10575: [RFC] struct: avoid all O(n) behavior on access
- Sorry for late.
> Benchmark results:
>
> vm2_struct_big_aref_hi* 1.305
> ...
how to read? seconds? compared... -
04:47 PM Feature #10575: [RFC] struct: avoid all O(n) behavior on access
- Couple of other struct optimizations in #10585
-
04:34 PM Bug #10583: Process.spawn stalls forever opening named pipes (fifo)
- While open(2) blocks, the spawn should NOT block. Only the spawned process itself should block waiting on the open()...
-
08:23 AM Bug #10583 (Rejected): Process.spawn stalls forever opening named pipes (fifo)
- `open(2)` either blocks until the file gets ready or fails with `ENXIO`.
Open in a thread. -
02:41 PM Feature #10585 (Open): struct: speedup struct.attr = v for first 10 attributes and struct[:attr] for big structs
- 0001 - Define optimized setters for first 10 attributes.
0002 - Cache members definition in an subclasses - it is ... -
01:13 PM Feature #8566 (Open): [PATCH] Allow to configure additional preludes
- Unfortunately placing something like:
~~~
begin
require 'abrt'
rescue LoadError
end
~~~
into operating_s... -
12:26 PM Revision 7a77cf71 (git): string.c: term fill
- * string.c (rb_str_delete_bang): fill wchar terminator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48764 b2dd... -
12:09 PM Revision 117438ee (git): string.c: term fill
- * string.c (rb_str_sub_bang): fill wchar terminator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48763 b2dd03c... -
11:21 AM Bug #10584: String.valid_encoding?, String.ascii_only? fails to account for BOM.
- This isn't as simple as you describe it. With respect to BOMs, there is a clear distinction between external data and...
-
12:55 AM Bug #10584 (Rejected): String.valid_encoding?, String.ascii_only? fails to account for BOM.
- IMO:
- A Unicode (UTF-16, UTF-32) string with a valid BOM should not be considered a valid encoding if endianness ... -
07:49 AM Revision 9d170963 (git): string.c: term fill
- * string.c (rb_str_splice_0): fill wchar terminator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48762 b2dd03c... -
07:48 AM Revision ed94c249 (git): string.c: term fill
- * string.c (rb_str_chop_bang): fill wchar terminator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48761 b2dd03... -
07:48 AM Revision c77efe11 (git): string.c: term fill
- * string.c (rb_str_chomp_bang): fill wchar terminator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48760 b2dd0... -
07:48 AM Revision 0c50d7ba (git): string.c: term fill
- * string.c (rb_str_times): fill wchar terminator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48759 b2dd03c8-3... -
07:48 AM Revision c00aca4a (git): string.c: term fill
- * string.c (rb_str_plus): fill wchar terminator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48758 b2dd03c8-39... -
07:48 AM Revision b890ed92 (git): string.c: local variables
- * string.c (rb_str_plus, rb_str_splice_0): extract local
variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr... -
07:48 AM Revision 516b9026 (git): string.c: chompped_length chomp_rs
- * string.c (chompped_length, chomp_rs): extract from
rb_str_chomp_bang to share with rb_str_chomp.
git-svn-id: svn... -
04:39 AM Revision d5b53384 (git): test_cstr.rb: all wchar encodings
- * test/-ext-/string/test_cstr.rb (assert_wchars_term_char): test
for all wide char encodings.
git-svn-id: svn+ssh:... -
04:39 AM Revision 8efe878d (git): struct.c: use iseqval
- * struct.c (define_aref_method, define_aset_method): use iseq
VALUE instead of rb_iseq_t to prevent from GC, as RB_... -
12:40 AM Revision bf74f633 (git): test_cstr.rb: failed encoding name
- * test/-ext-/string/test_cstr.rb (test_wchar_long): show the
failed encoding name in error messages.
git-svn-id: s... -
12:38 AM Revision 8cbf4003 (git): thread.c: use the same method name
- * thread.c (exec_recursive): use the same last method name as
recursive_push in the error message when recursive_po...
12/09/2014
-
08:47 PM Bug #10582: String#chomp strips off more newlines than its documentation states
- Looks good to me. Thanks!
-
12:27 PM Bug #10582: String#chomp strips off more newlines than its documentation states
- I merged https://github.com/ruby/ruby/pull/780
-
02:49 AM Bug #10582 (Assigned): String#chomp strips off more newlines than its documentation states
-
02:32 AM Bug #10582 (Closed): String#chomp strips off more newlines than its documentation states
- Given an empty string as its parameter, String#chomp strips off as many trailing newlines as are present, plus a prec...
- 05:51 PM Revision bf4b7f3b (git): * test/net/http/test_https.rb
- (TestNetHTTPS#test_certificate_verify_failure): on Windows,
Errno::ECONNRESET will be raised when the verify is fai... -
05:44 PM Bug #10583 (Rejected): Process.spawn stalls forever opening named pipes (fifo)
- Ruby's implementation of Process.spawn seems to attempt to send error/success information from the spawned process ba...
-
03:44 PM Feature #10575 (Closed): [RFC] struct: avoid all O(n) behavior on access
- Applied in changeset r48748.
----------
struct: avoid all O(n) behavior on access
This avoids O(n) on lookups with ... -
08:52 AM Feature #10575: [RFC] struct: avoid all O(n) behavior on access
- Looks fine.
- 03:44 PM Revision 9d237f43 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:44 PM Revision 45210a36 (git): * 2014-12-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:43 PM Revision 65651b34 (git): struct: avoid all O(n) behavior on access
- This avoids O(n) on lookups with structs over 10 members.
This also avoids O(n) behavior on all assignments on Struct... -
11:24 AM Revision 93db27d5 (git): * string.c: [DOC] Add missing documentation around String#chomp.
- Patchby @stderr [ci skip][fix GH-780]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48747 b2dd03c8-39d4-4d8f-98f... -
09:20 AM Bug #10526 (Closed): [DOC] Revise documentation in object.c
- Applied in changeset r48746.
----------
object.c: [DOC] Revise documentation
* object.c: [DOC] Revise documentation... -
09:20 AM Revision 9e256261 (git): object.c: [DOC] Revise documentation
- * object.c: [DOC] Revise documentation by Marcus Stollsteimer at
[ruby-core:66368]. [Bug #10526]
* #inspect: be ... -
04:27 AM Bug #10450: multiple assignment in conditional
- Yukihiro Matsumoto wrote:
>
> But I am afraid it's meaningless, since multiple assignment always return an array a... -
03:48 AM Revision 3992aaa3 (git): vm_eval.c: fix `rb_eval_string_wrap` rdoc
- * vm_eval.c (rb_eval_string_wrap): [DOC] Fix `rb_eval_string_wrap`
documentation. It is referencing `require` inst... -
01:16 AM Bug #10579 (Closed): Segmentation fault at 0x00000000000000
- Applied in changeset r48744.
----------
thread.c: get rid of invalid ID symbol
* eval.c (rb_frame_last_func): retur... -
01:16 AM Revision 42879154 (git): thread.c: get rid of invalid ID symbol
- * eval.c (rb_frame_last_func): return the most recent frame method
name.
* thread.c (recursive_list_access): use th... - 01:05 AM Revision 1b13e1e6 (git): * 2014-12-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:05 AM Revision 3b0ca105 (git): ruby.c: do not modify shared string
- * ruby.c (ruby_init_loadpath_safe): get rid of modify shared
string directly.
git-svn-id: svn+ssh://ci.ruby-lang.o...
12/08/2014
-
11:48 PM Bug #10579: Segmentation fault at 0x00000000000000
- One of the simplest code to reproduce it is:
~~~
$ ruby -e '{["foo"]=>nil}; p Thread.current[:__recursive_key__]'... -
09:12 PM Bug #10579: Segmentation fault at 0x00000000000000
- Not only openssl.so, resolv.rb too.
The cause is `exec_recursive` used by `rb_hash_any` stores the current method ... -
02:12 PM Bug #10579: Segmentation fault at 0x00000000000000
- The root cause of this issue is openssl.so.
~~~
C:\>ruby -ropenssl.so -e "ObjectSpace.each_object{|obj| p obj}"
... -
12:54 PM Bug #10579 (Closed): Segmentation fault at 0x00000000000000
- Following script cause a Segmentation fault
~~~
$ ruby -rresolv -e 'ObjectSpace.each_object { |obj| p obj }' > te... -
10:20 PM Bug #10581 (Rejected): OpenSSL::ASN1 fails to decode DKIM public keys
- Recently I needed to decode a DKIM public key. I found that OpenSSL::ASN1 failed to decode the key, while Krypt::ASN1...
-
08:44 PM Feature #10499: Eliminate implicit magic in Proc.new and Kernel#proc
- Adding a deprecation warning would be easy if we can get buy-in from matz.
matz: ball's in your court, I think! -
08:20 PM Bug #10564: DelegateClass, method_missing, and instance_eval -- different behavior in ruby 2.1
- Okay, thanks.
What I don't understand is, if `method_missing` is not defined in the `< DelegateClass(Object)` cla... -
04:24 PM Bug #10580 (Closed): TestProcess#test_deadlock_by_signal_at_forking fails on ARM
- Testing with Fedora Rawhide:
~~~
1) Error:
TestProcess#test_deadlock_by_signal_at_forking:
Timeout::Error: ex... -
01:40 PM Feature #10510: Remove REXML instead of patching it
- Erik Michaels-Ober wrote:
> I believe semantic versioning prevents doing this until Ruby 3 is released (many years f... -
01:05 PM Bug #9249: Ruby incorrectly inspects opaque libc jmp_buf for pointers to heap during GC.
- Was this resolved somehow? Testing this on Fedora 20, where the FP mangling was enabled [1], Ruby 2.0.0 fails:
htt... -
10:09 AM Bug #10578 (Closed): Allow undefining methods in refinements
- Since refinements are locally scoped monkey patches, and it is possible and useful to undef a method globally, I thin...
-
09:42 AM Bug #10450: multiple assignment in conditional
- Multiple assignment returns the object on the right hand side, *before* `to_ary` is called on it:
~~~Ruby
irb(mai... - 04:18 AM Revision 3af8e150 (git): * 2014-12-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:18 AM Revision 07bb8b4c (git): struct.c: trivial optimization
- * struct.c (rb_struct_set): get rid of calling rb_frame_this_func
twice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
02:00 AM Bug #10466: rb_eval_string_wrap does not actually wrap in a module binding
- You can reproduce this without C code also.
```ruby
Module.new {X = 5} #=> #<Module:0x000000012186c0>
Module.ne...
12/07/2014
-
07:26 PM Bug #10450: multiple assignment in conditional
- Yukihiro Matsumoto wrote:
>
> But I am afraid it's meaningless, since multiple assignment always return an array a... -
03:34 PM Bug #10450 (Rejected): multiple assignment in conditional
- It's a limitation of LALR syntax defined by yacc.
Wrap the multiple assignment in parentheses.
```
if (a,b = 1,2... -
05:40 PM Bug #10317: JSON::State is not using the parameter space_before
- Sent pull request to the JSON implementation repo:
https://github.com/flori/json/pull/225 -
02:01 PM Revision f975d115 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:59 PM Revision f53a1931 (git): * test/net/imap/test_imap.rb (ImapTest#imaps_test): forced error on SSL sockets
- causes Errno::ECONNRESET or Errno::ECONNABORTED instead of Errno::EPIPE on
Windows.
git-svn-id: svn+ssh://ci.rub... -
01:03 PM Bug #10577 (Rejected): Confusing behavior of File.open with bad filenames in windows
- Google "NTFS Alternate Data Streams".
-
12:44 PM Bug #10577 (Rejected): Confusing behavior of File.open with bad filenames in windows
- I've used a colon in a filename in my script and confronted with a confusing behavior when ran program in windows. Ru...
-
10:40 AM Revision eebb6bfc (git): * ext/socket/basicsocket.c, ext/socket/sockssocket.c:
- remove code for $SAFE=4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:40 AM Revision c6380006 (git): known_classes.rb: remove DL
- * lib/rdoc/known_classes.rb: reverted regression changes of rdoc
known class.
git-svn-id: svn+ssh://ci.ruby-lang.o... - 02:20 AM Revision 512705e6 (git): io.c: Typo close -> closes.
- Patch by @cirosantilli [Fixes GH-757]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48735 b2dd03c8-39d4-4d8f-98f... - 01:22 AM Revision b75be6b7 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:22 AM Revision 4b0ebe8f (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:22 AM Revision 4260aa1d (git): * lib/rdoc: Update to RDoc 4.2.0.
- * test/rdoc: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:53 AM Revision 7d2d6d0a (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:53 AM Revision 04a79e46 (git): * 2014-12-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:53 AM Revision 97f80207 (git): * lib/rubygems: Update to RubyGems 2.4.5.
- * test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/06/2014
-
07:20 PM Bug #10576: [DOC] Several fixes for the BigDecimal documentation
- Patch 3:
Improve documentation for #round and #truncate. -
01:56 PM Bug #10576 (Closed): [DOC] Several fixes for the BigDecimal documentation
- Patch 1:
Clarify the return value types of abs, fix, and frac.
(They return the results as a BigDecimal; target... -
07:14 PM Bug #10450: multiple assignment in conditional
- It seems wierd to me that this is a syntax error.
~~~
def foo
a,b = (1,2)
end
if foo
put 'hello'
end
~~... -
02:01 PM Bug #10569: BigDecimal#fix returns a BigDecimal object instead of a Integer
- I submitted a patch that clarifies the documentation accordingly, see issue #10576 (and provides some additional impr...
-
01:13 AM Revision a0b80a44 (git): * lib/net/imap.rb: Fix undefined variable usage & refactor/DRY
- code. Patch by @aledovsky. [Fixes GH-770]
* test/net/test_imap.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lan... - 01:10 AM Revision f9e3213f (git): thread.c (do_select): rename parameters to avoid shadowing
- Sometimes we may use write(2) syscalls for debugging inside
this function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
12:31 AM Feature #10575 (Closed): [RFC] struct: avoid all O(n) behavior on access
- This avoids O(n) on lookups with structs over 10 members.
This also avoids O(n) behavior on all assignments on Struc... -
12:22 AM Revision e2bbfaa6 (git): * lib/rake: Update to rake 10.4.2
- * test/rake: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/05/2014
- 09:49 PM Revision e70210ca (git): compile.c (rb_iseq_build_from_ary): remove misc handling
- iseq->local_size is calculated, too, along with stack_size and
param.size, meaning there is no need to blindly load v... -
09:37 PM Revision dd155e02 (git): ruby.c: no safe_level 4
- * ruby.c (process_options): safe_level 4 was removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48724 b2dd03... -
09:14 PM Bug #10572 (Closed): configure with custom ruby-version does not work
- Applied in changeset r48723.
----------
configure.in: fix --with-ruby-version [ci skip]
* configure.in (RUBY_LIB_VE... -
12:51 PM Bug #10572 (Closed): configure with custom ruby-version does not work
- ~~~
$ configure --with-ruby-version=foo
...
snip
...
$ make
...
snip
...
In file included from loadpath.... -
09:14 PM Revision deba55eb (git): configure.in: fix --with-ruby-version [ci skip]
- * configure.in (RUBY_LIB_VERSION): Fix --with-ruby-version
configuration option. get rid of quoting in config.stat... -
08:43 PM Revision 4a69c35c (git): io.c: fix rdoc [ci skip]
- * io.c (Init_IO): ARGF is not a class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48722 b2dd03c8-39d4-4d8f-98... -
08:37 PM Feature #10574 (Assigned): Add String#lchomp and String.lchomp!
- With the expected behavior, i.e.
~~~
irb(main):013:0> 'foobar'.lchomp('foo')
=> "bar"
irb(main):014:0> 'foobar'... - 07:48 PM Revision d0352860 (git): * test/test_pp.rb (PPTestModule::PPFileStatTest): test for r48719.
- is this the right place here?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48721 b2dd03c8-39d4-4d8f-98ff-823f... - 07:35 PM Revision b614474e (git): * 2014-12-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:35 PM Revision d2cee782 (git): * lib/pp.rb (File::Stat#pritty_print): some platforms (such as Windows)
- does not have major/minor parts of device.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48719 b2dd03c8-39d4-4d... -
05:05 PM Bug #10573 (Rejected): bigdecimal, io-console and json gems update error
- There is a known issue of Ruby 1.9.3 and RubyGems 2.4.x:
- https://groups.google.com/forum/#!topic/rubyinstaller/2... -
04:59 PM Bug #10573 (Rejected): bigdecimal, io-console and json gems update error
- Environment:
OS: Win7 Ent SP1 x64
Ruby: 1.9.3p545
gem: 2.4.5
DevKit: DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe
... -
01:43 PM Revision e599d8d1 (git): * ext/psych/lib/psych.rb: bump version to 2.0.8
- * ext/psych/psych.gemspec: ditto.
* ext/psych/psych_emitter.c: ditto.
* ext/psych/psych_parser.c: ditto.
git-svn-id:... -
11:37 AM Revision 8a7690a5 (git): test_rubyoptions.rb: non-codepage names glob
- * test/ruby/test_rubyoptions.rb (test_command_line_glob_noncodepage):
more assertion for fallback replacement on no... -
10:35 AM Revision bbd0c7a3 (git): test_rubyoptions.rb: non-codepage names glob
- * test/ruby/test_rubyoptions.rb (test_command_line_glob_noncodepage):
test for command line globbing on non-codepag... -
09:57 AM Feature #10571: Keyword arguments with local variable
- @Yukihiro Matsumoto san
Thank you so much. It does make sense, I need to more deepen understanding your language.
... -
09:10 AM Feature #10571: Keyword arguments with local variable
- You can define a method shares the scope with the outside by `define_method`.
-
06:06 AM Feature #10571 (Closed): Keyword arguments with local variable
-
06:06 AM Feature #10571: Keyword arguments with local variable
- `var` is a local variable in the class scope, which cannot be accessed from the method. a method has independent scop...
-
06:05 AM Feature #10571: Keyword arguments with local variable
- Ops.. not only Keyword arguments also other arguments with default value has same behavior.
I suppose there must b... -
05:53 AM Feature #10571 (Closed): Keyword arguments with local variable
- It's kind of curiosity. As far as I searched, I couldn't get sensible reason.
Please give me information if you have... -
09:35 AM Revision da2f1a2d (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:08 AM Bug #10568: segmentation fault after pack & ioctl & unpack
- Sorry, forgot to explicitly mention that this is running on linux and that sudo is required to run the snippet (becau...
-
08:09 AM Revision c2fb27ac (git): socket/option.c: fix inet_ntop link error on mswin
- * ext/socket/option.c (inet_ntop): link aliased inet_ntop in
libruby on mswin not rb_w32_inet_ntop which fails to l... -
07:28 AM Feature #10570: Allow `+=` etc. to be methods
- Yukihiro Matsumoto wrote:
> `Array#[]=` can be defined by alternation of elements of an array, which does not contai... -
12:57 AM Feature #10570: Allow `+=` etc. to be methods
- `Array#[]=` can be defined by alternation of elements of an array, which does not contain any assignment to variables...
-
12:56 AM Feature #10570: Allow `+=` etc. to be methods
- David MacMahon wrote:
> Yukihiro Matsumoto wrote:
> > For example, how can we define `Integer#+=`?
>
> Immutable... -
12:48 AM Feature #10570: Allow `+=` etc. to be methods
- Thanks for your thoughtful reply!
Yukihiro Matsumoto wrote:
> `a+=b` is a short hand form of `a = a + b` by defin... -
12:15 AM Feature #10570 (Rejected): Allow `+=` etc. to be methods
- `a+=b` is a short hand form of `a = a + b` by definition. It's fundamentally an assignment. Target of assignment (inc...
-
03:39 AM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
- nobu: any comment? Should I commit my original patch? Thanks.
We'll also need to investigate why Alex's test co... -
03:21 AM Bug #9580: Refinements regression in IRB
- I'm embarrassed that I missed these responses to my bug report. I had forgotten that I had created this issue. Sorry!...
-
02:58 AM Misc #10541: Remove shorthand string interpolation syntax
- Recursive Madman wrote:
> Did you also check what character followed those interpolations? e.g. "#{@foo}bar" wouldn'... -
02:10 AM Feature #10565 (Closed): [cleanup] remove unused rb_iseq_new_with_bopt
- Applied in changeset r48713.
----------
iseq.c: remove unused rb_iseq_new_with_bopt
* iseq.c (prepare_iseq_build): ... - 02:10 AM Revision d71c745b (git): iseq.c: remove unused rb_iseq_new_with_bopt
- * iseq.c (prepare_iseq_build): remove unused block_opt param
(rb_iseq_new_with_bopt_and_opt): remove
(rb_iseq_new... -
12:46 AM Revision cbdac1ea (git): parse.y: fix lex_state after tLABEL_END
- * parse.y (parser_yylex): fix lex_state after tLABEL_END, should
be EXPR_LABELARG to be followed by "paren with arg...
12/04/2014
-
10:49 PM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
- I think the name #path should always refer to a #path of sorts using it as #filename is kind of odd. Which is a big r...
-
07:22 PM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
- I'd like to have some extra clarification on this matter as well. Right now in Rubinius we return _just_ the filename...
-
10:30 PM Feature #10570 (Rejected): Allow `+=` etc. to be methods
- In MRI, it is currently possible to create `#+=` methods in C extensions and even `+=` aliases for existing methods i...
-
07:28 PM Feature #4276: Allow use of quotes in symbol syntactic sugar for hashes
- Hi, any reason it doesn't work with inner hashes or arrays?
```
{ foo: {} } # => {:foo=>{}}
{ 'foo': {} }
# Syn... -
06:35 PM Feature #10481: Add "if" and "unless" clauses to rescue statements
- Brian Hempel wrote:
> Sometimes code libraries forget to make a separate object for every error
This was, in fact... -
04:38 PM Feature #10481: Add "if" and "unless" clauses to rescue statements
- You’re right there may be some risk for anti-patterns, but from my experience this example in the original proposal i...
-
08:24 AM Feature #10481: Add "if" and "unless" clauses to rescue statements
- Any update on this? Is this just waiting for 2.2 to make it out the door?
-
06:31 PM Misc #10560: confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
- David MacMahon wrote:
> Maybe this could become a feature request to allow `<OP>=` to be methods instead of just syn... -
05:11 PM Misc #10560: confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
- I imagine that Python also lets one override the `+=` method. I think this is impossible on Ruby because I think it ...
-
08:55 AM Misc #10560: confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
- Of note, Python does implement `+=` this way. `+=` is (almost) an alias for `list.extend`:
~~~
>>> x = []
>>> y ... -
06:28 PM Bug #10569 (Rejected): BigDecimal#fix returns a BigDecimal object instead of a Integer
- It returns the integer part as a `BigDecimal`.
-
04:14 PM Bug #10569: BigDecimal#fix returns a BigDecimal object instead of a Integer
- Seems that Python works the same way. Probably is not a bug:
~~~
>>> decimal.Decimal(7).imag
Decimal('0')
>>> d... -
03:56 PM Bug #10569: BigDecimal#fix returns a BigDecimal object instead of a Integer
- BigDecimal, sorry for the typo :)
I'm pasting again the example because some chars were deleted in the original re... -
03:51 PM Bug #10569 (Rejected): BigDecimal#fix returns a BigDecimal object instead of a Integer
- According docs (http://www.ruby-doc.org/stdlib-2.1.5/libdoc/bigdecimal/rdoc/BigDecimal.html#method-i-fix): fix metho...
-
06:25 PM Bug #10566: Failure to compile ruby-trunk via mingw-w64 on linux
- Nobuyoshi Nakada wrote:
> Applied in changeset r48711.
>
> ----------
> extmk.rb: no EXTOBJS to main if enable-s... -
05:42 PM Bug #10566: Failure to compile ruby-trunk via mingw-w64 on linux
- Ah, one second. Some of the redundancy is due to archlinux shipping a pair of configure wrapper scripts to make loopi...
-
05:28 PM Bug #10566 (Closed): Failure to compile ruby-trunk via mingw-w64 on linux
- Applied in changeset r48711.
----------
extmk.rb: no EXTOBJS to main if enable-shared
* ext/extmk.rb: as all extens... -
04:39 PM Bug #10566 (Feedback): Failure to compile ruby-trunk via mingw-w64 on linux
- Could you show your exts.mk file?
And...
* --enable-static is not a valid option
* --disable-install-doc impli... -
08:10 AM Bug #10566: Failure to compile ruby-trunk via mingw-w64 on linux
- my configure command:
configure_args=' '\''--host=i686-w64-mingw32'\'' '\''--target=i686-w64-mingw32'\'' '\''--build... -
08:05 AM Bug #10566 (Closed): Failure to compile ruby-trunk via mingw-w64 on linux
- =begin
Greetings;
In my quest for optimizing my network usage (very slow connection), I've been migrating my
arc... -
05:38 PM Bug #10558: failing require digest.so on OSX statically compiled ruby
- it's few libraries, most important here `openssl 1.0.1j`:
~~~
CFLAGS="-fPIC" LDFLAGS="-fPIC" ./Configure darwin6... -
05:27 PM Revision 1e6a1012 (git): extmk.rb: no EXTOBJS to main if enable-shared
- * ext/extmk.rb: as all extension objects including initializations
of ext and enc shouild be linked to libruby if e... - 05:10 PM Revision 34c3ac0e (git): * 2014-12-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:09 PM Revision 10cd530e (git): socket/option.c: use rb_w32_inet_ntop
- * ext/socket/option.c (inet_ntop): the fallback implementaion is
always available on Windows.
git-svn-id: svn+ssh:... -
02:01 PM Bug #10568 (Closed): segmentation fault after pack & ioctl & unpack
- This snippet produces a segmentation fault on rubies on ruby_2_1 branch from git commit [1]
onwards and ruby_2_0_0 b... -
11:30 AM Bug #10511: fix for #9940 causes dramatic performance regression
- Koichi Sasada wrote:
> Ok, I understand the reason.
>
> For each hash access, new Hash object are created each ti... -
10:31 AM Bug #10511: fix for #9940 causes dramatic performance regression
- Ok, I understand the reason.
For each hash access, new Hash object are created each time.
You can check this beha... -
10:27 AM Bug #10511: fix for #9940 causes dramatic performance regression
- Perhaps there is some VM optimization? As for the test: I've just mimic the code we have in debase native code, I do...
-
10:21 AM Bug #10511: fix for #9940 causes dramatic performance regression
- I understood.
First hash (Hash.new) contains empty st table.
Second hash ({}) does not have st table (NULL).
S... -
10:12 AM Bug #10511: fix for #9940 causes dramatic performance regression
- I found strange behaviour.
Using Hash.new, it is slow as you say:
```
Hash.new
ruby 2.2.0dev (2014-12-02 trun... -
09:35 AM Bug #10511: fix for #9940 causes dramatic performance regression
- Eric Wong wrote:
> Oops, [Feature #9425] (power-of-two hash sizes :)
If the problem is in implementation of hash ... -
06:48 AM Bug #10511: fix for #9940 causes dramatic performance regression
- Oops, [Feature #9425] (power-of-two hash sizes :)
-
05:21 AM Bug #10511: fix for #9940 causes dramatic performance regression
- Eric Wong wrote:
> Oops, OK. I was suspicious of [Feature #9325] hurting performance
> (for cases where a hash fu... -
05:08 AM Bug #10511: fix for #9940 causes dramatic performance regression
- Oops, OK. I was suspicious of [Feature #9325] hurting performance
(for cases where a hash function needs tuning). -
04:30 AM Bug #10511: fix for #9940 causes dramatic performance regression
- Eric Wong wrote:
> [email protected] wrote:
> > I think I've found one more source of performance degradation:
> ... -
10:28 AM Bug #10567 (Closed): A fiber issue with `autoload`: `fiber called across stack rewinding barrier (FiberError)`
- We have two ruby files as following:
test.rb
autoload :User, './user.rb'
f = Fiber.new do
p U... -
09:37 AM Feature #10565: [cleanup] remove unused rb_iseq_new_with_bopt
- No problem.
Thanks. -
12:22 AM Feature #10565 (Closed): [cleanup] remove unused rb_iseq_new_with_bopt
- OK to remove? Or is block-inlining to be resurrected in the future?
rb_iseq_new_with_bopt seems unused and block_... -
08:21 AM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
- I'm no longer able to reproduce the issue on trunk, so this looks fine. I tested both patches and Eric's does indeed ...
-
01:13 AM Feature #4147: Array#sample で重みを指定したい
- Yui NARUSE wrote:
> わたしの知る限りでは進捗ないと思います。
> うらべさん、あるいは他のどなたか何かありますか?
進捗ダメです。
このスレッドのコメント#1でも書きましたが実装があると話が大幅に進...
Also available in: Atom