Activity
From 02/26/2012 to 03/03/2012
03/03/2012
-
11:38 PM Bug #6110 (Rejected): #respond_to? returns true on 1.9.3 and false on ruby-head
- Sound intentional change.
http://ruby.11.n6.nabble.com/ruby-dev-40461-respond-to-lt-protected-method-name-gt-returns-true-td3535926.html
http://stackoverflow.com/questions/2569490/respond-to-and-protected-methods
-
05:42 PM Bug #6110 (Rejected): #respond_to? returns true on 1.9.3 and false on ruby-head
- Under ruby-head, when calling #respond_to? on another object of the same type false is always returned, even though the method can be called. However, this returns true under ruby 1.9.3.
Attached is a test that reproduces the problem. -
11:03 PM Feature #5484: regexp comparison bug
- Well, I originally reported it as a bug, since I got bit by it. I can't recall the context let alone the specifics.
Anyway... Feel free to close if you think this is to be expected (I'd argue it shouldn't...) -
09:41 PM Feature #4890: Enumerable#lazy
- I've faced problems while trying to push this idea further
so I came up with the straight C implementation of ruby code, submitted by Yutaka HARA.
Please, see this new PR https://github.com/ruby/ruby/pull/101
-
01:53 PM Revision 61c14872 (git): * process.c (rb_run_exec_options_err): chdir at last to interpret
- relative pathnames from the current directory of the parent process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:14 PM Bug #6109 (Closed): plain-char for isdigit(), etc
-
07:52 AM Bug #6109 (Closed): plain-char for isdigit(), etc
- =begin
cygwinで、以下のように((%date%))で警告が出ます。
compiling date_parse.c
date_parse.c: In function ‘s3e’:
date_parse.c:92:2: 警告: array subscript has type ‘char’
date_parse.c:141:2: 警告: array subscript has type ‘char’
date_parse.c:1... -
09:46 AM Feature #5873 (Closed): Adopt FFI over DL
- DL uses fiddle (with ffi) as a backend if ffi is available, so I will close this. We can talk about embedding libraries in a different thread. :-)
-
08:03 AM Bug #6108 (Closed): plain-char for isdigit()
- This issue was solved with changeset r34881.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/syck/rubyext.c (mktime_do): use ISDIGIT().
[ruby-cor... -
07:52 AM Bug #6108 (Closed): plain-char for isdigit()
- =begin
On cygwin, ((%syck%)) is warned as:
compiling rubyext.c
rubyext.c: In function 'mktime_do':
rubyext.c:280:9: warning: array subscript has type 'char'
compiling token.c
token.re: In function 'sycklex_yaml_utf8':
... -
06:13 AM Bug #6107 (Closed): Documentation Abbrev (stdlib) confusing
- The example in the documentation suggests Abbrev::abrev returns an Array. It does return a hash; the array is the result of the #sort method.
- 03:29 AM Revision cb521708 (git): trivial changes
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:22 AM Revision 7aa308f8 (git): typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:21 AM Revision e3b989c7 (git): * ext/date/date_strftime.c: reassigned some variables.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:14 AM Revision 9a0cb802 (git): * ext/date/date_{parse,strptime}.c [ruby-dev:45303].
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:12 AM Revision 85e86697 (git): remove another call to Net::HTTP.version_1_2
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:10 AM Revision 46e293ec (git): * lib/xmlrpc/client.rb (initialize): net/http defaults to 1_2 in 1.8+,
- so we can safely remove the call to enable it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:40 AM Revision 5812975f (git): * test/xmlrpc/test_client.rb: property.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/02/2012
-
11:46 PM Revision 1836f44f (git): * lib/xmlrpc/client.rb (new2): use URI for uri parsing.
- * test/xmlrpc/test_client.rb: test that query params are passed to the
client constructor.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:36 PM Feature #3176 (Closed): Thread#priority= should actually do something
- 1.9.3 has new thread scheduler and this problem is no longer reprodusable. closed then.
% ruby-193 thprio.rb
77219459 3027217 0.9245522144742793 true
% ruby-193 thprio.rb
78194222 2953676 0.9272026491678195 true
% ruby-193 t... -
11:21 PM Revision cd85cd25 (git): * lib/xmlrpc/client.rb (new2): raises an ArgumentError on bad
- arguments.
* test/xmlrpc/test_client.rb: tests for bad uris
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:12 PM Revision 60282ebf (git): * lib/xmlrpc/client.rb (new2): fix custom port specification when an
- SSL uri is used.
* test/xmlrpc/test_client.rb: tests for XMLRPC::Client.new2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:03 PM Revision b854733d (git): * ext/syck/rubyext.c (mktime_do): use ISDIGIT().
- [ruby-core:43060] [Bug #6108]
* ext/syck/token.c (sycklex_yaml_utf8): cast as unsigned char.
[ruby-core:43060] [Bug #6108]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:57 PM Revision 5c9d7c54 (git): * configure.in (ruby_pc): make configurable. [Bug #6051]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:02 PM Revision d45a9e77 (git): * 2012-03-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:02 PM Revision 34fca5d7 (git): * 2012-03-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:02 PM Revision e794994b (git): * .travis.yml: property.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:02 PM Revision 0f3e2cd1 (git): * .travis.yml: property.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:35 PM Bug #6087: How should inherited methods deal with return values of their own subclass?
- > This has two problems:
> ...
You took me a bit too literally. I only meant it should be _equivalent_ too calling `self.class.new`. In other words, it should return an instance of the subclass, not the base class. I did not mean to imp... -
12:31 PM Bug #6087: How should inherited methods deal with return values of their own subclass?
- Yes, I do second this.
-
11:22 AM Bug #6087: How should inherited methods deal with return values of their own subclass?
- I apparently forgot to mention that I prefer the second approach, i.e. the equivalent of calling `dup` on the receiver.
I believe Aaron Patterson seconds this in [ruby-core:43030]
If this approach is accepted, the last remaining questi... -
10:50 AM Bug #6087: How should inherited methods deal with return values of their own subclass?
- Hi,
Thomas Sawyer wrote:
> I would think these methods should be using `self.class.new` for constructors thus returning the subclass. Although, that might not always possible.
This has two problems:
1) It imposes an API on the co... -
02:05 PM Revision 4525bcae (git): subclass of String
- * test/ruby/test_string.rb (TestString2): tests for subclass of
String.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:12 PM Revision ae323a98 (git): * .travis.yml: Backport TravisCI configuration from trunk.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:50 AM Revision 9dcddfba (git): * .travis.yml (branches): Enable TravisCI for ruby_1_9_3.
- cf. https://twitter.com/#!/nalsh/status/170351549955055616
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:16 AM Revision effb5248 (git): * test/ruby/test_array.rb (test_combination2): Make the test case for
- [ruby-core:29240] more descriptive.
cf. http://bugs.jruby.org/6518
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:37 AM Revision 8d07e087 (git): * common.mk (clean-ext, distclean-ext, realclean-ext): remove exts.mk too.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:37 AM Revision ee98d58f (git): * file.c (file_expand_path): use wcscasecmp().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:36 AM Revision ac018e7b (git): * thread_pthread.c (native_cond_timeout): cast explicitly to suppress
- a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:36 AM Revision 9d420721 (git): * 2012-03-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:36 AM Revision 82543043 (git): * io.c (pipe_open): cmd is no longer used if fork is available.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:49 AM Feature #5120: String#split needs to be logical
- Well, i didn't really want to keep '@', splitting on it and then joining with it would be fine :).
Thanks anyway. -
04:07 AM Feature #5120: String#split needs to be logical
- =begin
Tell split you want to keep the @ if you want to keep the @:
[' sam @ ', 'jim@'].map { |e| e.split(/(@)/).map(&:strip).join }" # => ["sam@", "jim@"]
=end
-
12:36 AM Feature #5120: String#split needs to be logical
- I would like add a use case which may be not very useful, but in my opinion illustrates the issue well.
I wanted to normalize some mistyped email addresses in a database and i did like this (because i forgot about this issue):
```r... -
03:58 AM Bug #6078: The name of a module nested in an anonymous module depends on how it was created
- There is a case not given above where it may make sense to give the class/module a name based on #inspect output of the containing class. This case is when the containing class is a singleton class:
$ irb
1.9.3p125 :001 > obj = Objec... -
03:44 AM Bug #6106 (Closed): Ruby documentation ambiguous about mixed sign ranges in indexes
- Although syntax like s[3..-1] is legal and will return element 4 to the end of the indexed object, the documentation is ambiguous and does not make it clear that this is legal. (Apparently the documentation in 1.4 and before did indicate...
-
02:45 AM Revision c31e7c1e (git): merge revision(s) 25230,34866:
- * marshal.c (struct {dump,load}_arg): manage with dfree, instead
of using local variable which may be moved by context switch.
[ruby-dev:39425]
* marshal.c (mark_dump_arg): mark destination string. patch by
... -
01:53 AM Revision 6e7e726b (git): * marshal.c (mark_dump_arg): mark destination string. patch by
- Vit Ondruch. [Bug #4339]
* marshal.c (clear_dump_arg, clear_load_arg): clean up also data
tables as same as symbols tables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@34866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/01/2012
-
09:41 AM Revision b1bcb826 (git): merge revision(s) r33525: [Backport #6104]
- * file.c (rb_file_join): honor input encodings than ASCII-8BIT.
[ruby-core:40338] [Bug #5483]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:13 AM Revision 0b89081b (git): * internal.h (rb_file_const, rb_file_load_ok): moved functions for
- internal use only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:44 AM Revision 27fbcb8e (git): doc/capi
- * common.mk (doc/capi): use macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:40 AM Revision 29c630e7 (git): * win32/makedirs.bat: new command to make intermediate
- directories, and not to report any errors if the directory
already exists.
* win32/Makefile.sub (MAKEDIRS): enable command extensions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:46 AM Feature #6070: The scope of for loop variables
- =begin
This patch (for_loop_scope_fix_0224.diff) introduces a confusing change. With current Ruby, for loops and loops never have local variables. With this patch, for loops have local variables, but while loops never have them. Here is... -
03:17 AM Bug #5297: Either File.expand_path or File.join is corrupting string encoding
- Patrick Bennett wrote:
> With ruby 1.9.3p125 (2012-02-16) [i386-mingw32] File.join always converts to ASCII-8BIT for me no matter the encoding passed to it.
> ...
The problem is your system encoding.
For some reason from IBM437 to W... -
03:13 AM Bug #5297: Either File.expand_path or File.join is corrupting string encoding
- With ruby 1.9.3p125 (2012-02-16) [i386-mingw32] File.join always converts to ASCII-8BIT for me no matter the encoding passed to it.
So, using your irb example up through the File.join
irb(main):001:0> a = File.expand_path "."
=> "d:/t... -
02:48 AM Bug #5297: Either File.expand_path or File.join is corrupting string encoding
- Patrick Bennett wrote:
> Which other issue is this associated with?
> ...
Sorry, but with released patchlevel 125 I can no longer reproduce this: -
02:34 AM Bug #5297: Either File.expand_path or File.join is corrupting string encoding
- Which other issue is this associated with?
Is this going to be patched back to 1.9.3? It's still present in 1.9.3p125
02/29/2012
-
10:59 PM Bug #6103: Build failure on trunk 34850 with VC 2010
- Hello,
In message "[ruby-core:43016] Re: [ruby-trunk - Bug #6103][Open] Build failure on trunk 34850 with VC 2010"
on Feb.29,2012 17:53:30, <h.shirosaki@gmail.com> wrote:
> > # Building ruby from a release package MUST NOT ... -
05:59 PM Bug #6103: Build failure on trunk 34850 with VC 2010
- > I did not notice such a trap...
>
> Please check r34859.
>
Thank you. I checked your commit.
>
> # Building ruby from a release package MUST NOT depend on
> # the preinstalled ruby.
>
Sorry. I didn't understand th... -
04:23 PM Bug #6103: Build failure on trunk 34850 with VC 2010
- Hello,
In message "[ruby-core:43013] Re: [ruby-trunk - Bug #6103][Open] Build failure on trunk 34850 with VC 2010"
on Feb.29,2012 13:04:47, <h.shirosaki@gmail.com> wrote:
> > If this means executing "win32\configure.bat" is... -
04:13 PM Bug #6103 (Closed): Build failure on trunk 34850 with VC 2010
- This issue was solved with changeset r34859.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* win32/Makefile.sub (MAKEDIRS): use mkdir of cmd.exe instead o... -
01:23 PM Bug #6103: Build failure on trunk 34850 with VC 2010
- Hi,
> executable host ruby is required. use --with-baseruby option.
> NMAKE : fatal error U1077: 'echo' : '0x1' 반환 코드입니다.
> Stop.
>
> If this means executing "win32\configure.bat" is not sufficient any more and required preinstal... -
12:36 PM Bug #6103 (Closed): Build failure on trunk 34850 with VC 2010
- I get the following failure on Windows XP with VC 2010 while building trunk@34850.
C:\work\snapshot>win32\configure.bat
Checking unicows.lib
Creating Makefile.new
"type `nmake' to make ruby."
C:\work\snapshot>nmake
Microsoft(... -
07:42 PM Bug #6089: Test suite fails with OpenSSL 1.0.1
- Unfortunately, I didn't get very helpful response :/
> Tomas Mraz 2012-02-29 11:03:26 CET
> ...
- 04:29 PM Revision f9cec708 (git): * 2012-03-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:29 PM Revision 291fa223 (git): * regparse.c (is_onechar_cclass): optimize character class
- Merge Onigmo 27278c12e6674043cc8affca6507e20e119a86ee.
* regparse.c (is_onechar_cclass): [bug] unexpected match occurs when a
char class contains no char
* enc/unicode.c (init_case_fold_table): define the sizes of case
folding tabl... -
01:53 PM Bug #5719: Hash::[] can't handle 100000+ args
- Hello Koichi,
On 2012/02/25 13:34, SASADA Koichi wrote:
> (2011/12/07 14:26), Martin Dürst wrote:
>> This is related to http://redmine.ruby-lang.org/issues/982. In terms of what needs to be done, it may even be "the same" bug, ... - 07:13 AM Revision 31eb29fe (git): * win32/Makefile.sub (MAKEDIRS): use mkdir of cmd.exe instead of ruby.
- [Bug #6103] [ruby-core:43012]
* win32/README.win32: added a notice about command extension of cmd.exe.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:53 AM Bug #5765: [PATCH] modernize Timeout usage in net/{http,pop,smtp,telnet}
- Eric Hodel <drbrain@segment7.net> wrote:
> Since the original patch was approved and Net::HTTP::OpenTimeout was
> approved in #6001, I applied a combined patch in r34843, replacing
> Net::HTTP::OpenTimeout.
Thanks! I hope to... - 06:40 AM Revision 70581477 (git): * test/ruby/test_io.rb (TestIO#test_readpartial_locktmp): skip on
- windows because of the platform restriction.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:39 AM Revision 74b70ad8 (git): * test/ruby/memory_status.rb (Memory): syntax error.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:07 AM Revision 1673881f (git): /proc/self/status format check
- * test/ruby/memory_status.rb: use /proc/self/status if it is in
the expected format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:07 AM Revision fc493491 (git): fix indent
- * win32/file.c (rb_file_load_ok): fix indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:07 AM Revision 23008fcc (git): define PLATFORM_DIR if needed
- * Makefile.in, configure.in (PLATFORM_DIR): define if needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:07 AM Revision afa7b27e (git): clean-platform
- * Makefile.in, win32/Makefile.sub (clean-platform): use macro instead
hardcoded path names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:44 AM Bug #6102 (Closed): Crash when calling OpenSSL::Integer#to_der with nil value
- ruby -ropenssl -e 'OpenSSL::Integer.new(nil).to_der'
crashes. -
12:59 AM Feature #5999: Optimize for faster loading time and win32/file.c refactoring
- > I don't object.
> Shirosaki-san, please commit it.
Thank you. I committed it at r34849.
--
Hiroshi Shirosaki -
12:51 AM Feature #5999 (Closed): Optimize for faster loading time and win32/file.c refactoring - This issue was solved with changeset r34849.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* Makefile.in (PLATFORM_DIR): add a variable for `win32` direc...
02/28/2012
-
11:24 PM Feature #6074: Allow alias arguments to have a comma
- I myself prefer "alias" because:
- It does not require a ','
- It is shorter to type
- It reads easier.
def bar
puts 'Hi from bar.'
end
alias foo bar
alias_method :foo, :bar
The first way is more readable f... - 09:53 PM Revision 329ae747 (git): replaced rdoc for Complex::I
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:17 PM Revision f400ba10 (git): * ext/date/date_core.c: reverted r34825.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:28 PM Bug #6101 (Closed): Undesirable result of DateTime#iso8601 with floating point argument
-
06:51 PM Bug #6101 (Closed): Undesirable result of DateTime#iso8601 with floating point argument
- DateTime#iso8601, DateTime#rfc3339 and DateTime#jisx0301 have same behavior as Bug #6100.
C:\>irb
irb(main):001:0> require 'date'
=> true
irb(main):002:0> a = DateTime.now
=> #<DateTime: 2012-02-28T18:41:01+09:00 ((2455986j,34861s... -
06:33 PM Bug #6099 (Closed): [BUG] probable buffer overflow
- This issue was solved with changeset r34846.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (io_fread, io_getpartial, rb_io_sysread): set buffer size... -
03:33 PM Bug #6099: [BUG] probable buffer overflow
- =begin
IO#readpartialにも同様の問題があるようです。
require "fcntl"
r, w = IO.pipe
r.fcntl(Fcntl::F_SETFL, Fcntl::O_NONBLOCK)
buf = " " * 100
t = Thread.new{p r.readpartial(100, buf)}
sleep 0.1
Thread.pass
buf.replace("")
p buf.... -
01:53 PM Bug #6099 (Closed): [BUG] probable buffer overflow
- ふと思い立って以下のようなコードを実行してみたところ、表題の[BUG]となりました。
あんまり重大ではないと考えますが、一応報告しておきます。
他のメソッドでも似たようなことができるものはあると思います。
なお、プラットフォーム依存はないはずです。
% ruby -e '
r, w = IO.pipe
buf = " " * 100
Thread.new{p r.sysread(100, buf)}
Thread.pass
buf.replace(... -
05:16 PM Bug #6100 (Closed): Unexpected value of Time#iso8601 with floating point argument.
- This issue was solved with changeset r34845.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/time.rb (Time#xmlschema): use strftime specifiers instead... -
04:16 PM Bug #6100 (Closed): Unexpected value of Time#iso8601 with floating point argument.
- I found Time#iso8601 returns unexpected value in case of floating point argument.
C:\>irb
irb(main):001:0> require 'time'
=> true
irb(main):002:0> a = Time.now
=> 2012-02-28 16:12:18 +0900
irb(main):003:0> a.iso8601(10)
=> "2012... - 03:51 PM Revision f3b685d1 (git): * 2012-02-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:51 PM Revision 4b1e9f0c (git): * Makefile.in (PLATFORM_DIR): add a variable for `win32` directory.
- * Makefile.in (clean-platform): add new target.
It cleans `win32` directory.
* common.mk (clean): add a dependency for `win32` directory.
* common.mk (distclean): ditto.
* common.mk (distclean-platform): add new target.
It cleans `w... -
02:17 PM Bug #5765: [PATCH] modernize Timeout usage in net/{http,pop,smtp,telnet}
- Since the original patch was approved and Net::HTTP::OpenTimeout was approved in #6001, I applied a combined patch in r34843, replacing Net::HTTP::OpenTimeout.
-
02:16 PM Bug #5765 (Closed): [PATCH] modernize Timeout usage in net/{http,pop,smtp,telnet}
- This issue was solved with changeset r34843.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/protocol.rb: Add OpenTimeout subclass of Timeout::Error... -
01:51 PM Bug #6001 (Closed): Retry idempotent HTTP requests for more errors
- This issue was solved with changeset r34842.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/http.rb: Retry HTTP requests for additional network er... - 11:28 AM Revision 3486a98a (git): * ext/date/date_core.c: [ruby-core:42998]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:56 AM Bug #6092 (Closed): tests of psych reports many errors and failures when external encoding is not unicode
- I fixed this in r34839, but it seems redmine isn't closing the ticket automatically.
-
12:31 AM Bug #6092: tests of psych reports many errors and failures when external encoding is not unicode
- I also see this on my [i386-mingw] and [i686-linux] (Arch 3.2.7-1) systems.
A quick workaround for mingw is `chcp 65001` in cmd.exe before starting `sh` to run `make test-all`, and for Arch, set `LOCALE="en_US.utf8"` (not en_US.iso885... -
10:53 AM Feature #6079: Hash#each_sorted
- Hi,
(12/02/25 9:24), Yusuke Endoh wrote:
> Agreed. If we can implement the feature without creating an
> intermediate array, it might be useful. But I have no idea
> to implement.
It would be possible, if you can tell ... -
08:11 AM Feature #6079: Hash#each_sorted
- =begin
{1 => 2, 0 => 4}.lazy.sort.each{|k, v| p "#{k} => #{v}"}
=end
?
-
10:30 AM Bug #6098 (Closed): Re: GVL改善案
- こんにちは、なかむら(う)です。
In message "[ruby-dev:43483] Re: GVL改善案"
on May.09,2011 07:19:30, <matz@ruby-lang.org> wrote:
> |0 until hogehoge
> |
> |みたいなビジーループ書くとハマるので、これを「直すべき」とするか、
> |「言語仕様だ、ユーザは気をつけてスクリプト書きやがれ」とするか決めないと
> |... -
09:47 AM Revision 97d6e56b (git): * io.c (io_binwrite, rb_io_syswrite): use shared frozen source
- strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:44 AM Bug #6097 (Rejected): Weird constant behavior during inheritance...
- Learn Ruby-way, please.
-
02:20 AM Bug #6097: Weird constant behavior during inheritance...
- Once Test::Child gets defined, both Parent and Test have Child among their very constants (and they are different classes). The ancestry chain is not even checked.
-
02:03 AM Bug #6097 (Rejected): Weird constant behavior during inheritance...
- >> class Parent
> ...
=> nil
>> class Test < Parent
> ...
=> nil
>> Test.const_defined?(:Child)
=> true
> ...
=> nil
>> Test::Child.new.respond_to?(:bar)
=> true
> ...
=> false # true expected...
Obviously, testing the object... -
09:33 AM Revision 9b02a72d (git): * io.c (io_fread, io_getpartial, rb_io_sysread): set buffer size
- after check if readable, which can cause thread switch.
[ruby-dev:45297][Bug #6099]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:16 AM Revision 007b7fcd (git): * lib/time.rb (Time#xmlschema): use strftime specifiers instead of
- fractional exponential calcuation which yields undesirable
result. [ruby-core:42997][Bug #6100]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:49 AM Revision 3ee4c4fd (git): Remove duplicated entry, thanks znz
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:15 AM Revision 09f27873 (git): * lib/net/protocol.rb: Add OpenTimeout subclass of Timeout::Error
- * lib/net/pop.rb: Modernize Timeout usage. Patch by Eric Wong.
Use Net::OpenTimeout instead of Timeout::Error. [Bug #5765]
* lib/net/http.rb: ditto
* lib/net/smtp.rb: ditto
* lib/net/telnet.rb: dit... -
04:51 AM Revision 8a7da58c (git): * lib/net/http.rb: Retry HTTP requests for additional network errors.
- Introduce OpenTimeout subclass of Timeout::Error. [Bug #6001]
* test/net/http/test_http.rb: Reduce timeout to 0.01s for faster test
* test/net/http/test_https.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru... -
02:56 AM Revision ffdaca1d (git): merge revision(s) 34840:
- * configure.in (debugflags): check if -ggdb is accepted.
[ruby-core:42875][Bug #6080]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:44 AM Revision 1c85a648 (git): * configure.in (debugflags): check if -ggdb is accepted.
- [ruby-core:42875][Bug #6080]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:57 AM Feature #5999 (Assigned): Optimize for faster loading time and win32/file.c refactoring
- I don't object.
Shirosaki-san, please commit it. -
01:41 AM Feature #5999: Optimize for faster loading time and win32/file.c refactoring
- As there's been no negative feedback in the past 17 days, is this patch acceptable as-is and can it now be committed to trunk?
-
01:56 AM Feature #6096 (Rejected): Parser tweak - curly braces followed by a coma...
- It would be sweet if ruby treated curly braces followed by a coma as a hash rather than as a coma:
>> def foo(bar, baz)
> ...
=> nil
>> foo {}, :baz
SyntaxError: (irb):3: syntax error, unexpected ',', expecting $end
foo {}, :baz
... -
01:49 AM Feature #6095 (Closed): Question about block parameter syntax
- fixed by r34835
-
12:53 AM Feature #6095 (Closed): Question about block parameter syntax
- ささだです.
1.times{
|
x,
y|
}
は通りますが,
1.times{
|
x,
y
|
}
は通りません.閉じる | が行頭に来るのがまずいようです.これは,そういう
もんでしょうか.下記のように,ブロックパラメータにコメント入れようと思っ
て気づきました.
1.times{
|
... -
01:30 AM Revision 0cb987bc (git): * ext/psych/lib/psych.rb: default open YAML files with utf8 external
- encoding. [ruby-core:42967]
* test/psych/test_tainted.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/27/2012
-
09:21 PM Bug #6089: Test suite fails with OpenSSL 1.0.1
- Vit Ondruch wrote:
> I contacted openssl's Fedora maintainer, but since he was on holidays last week, I expect some explanation tomorrow.
Great, please let me know if you find out something!
-
04:38 AM Bug #6089: Test suite fails with OpenSSL 1.0.1
- I contacted openssl's Fedora maintainer, but since he was on holidays last week, I expect some explanation tomorrow.
-
04:36 AM Bug #6089: Test suite fails with OpenSSL 1.0.1
- Vit Ondruch wrote:
> However, it already breaks Ruby on Fedora 17/Rawhide, so for me, it is quite high priority to solve it.
Sure, I'll try to find out how it can be circumvented. Did you try to contact OpenSSL about this? I
haven't... -
04:30 AM Bug #6089: Test suite fails with OpenSSL 1.0.1
- I don't know yet why it was changed. However, it already breaks Ruby on Fedora 17/Rawhide, so for me, it is quite high priority to solve it.
-
04:27 AM Bug #6089 (Assigned): Test suite fails with OpenSSL 1.0.1
-
04:27 AM Bug #6089: Test suite fails with OpenSSL 1.0.1
- Thanks for reporting this. I guess we shouldn't
take any actions until 1.0.1 gets officially
released.
If it should continue to break things then, we'll
have to find a way working around it. In the
meantime, I could try to find... -
05:50 PM Bug #6094 (Closed): [OpenSSL] wrong argument of rsa_generate()
- =begin
Seems the type of second argument of ((%ext/openssl/ossl_pkey_rsa.c%)):(({rsa_generate()})) should be (({unsigned long})), not (({int})).
=end
- 04:27 PM Revision 58fb7e91 (git): forgotten to commit at r34834.
- * test/ruby/test_io.rb (TestIO#test_setpos): use binmode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:11 PM Revision d8c26724 (git): * 2012-02-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:11 PM Revision 9f0de403 (git): Paranoia: /^/ -> /\A/ in regexp in rdoc. Pointed out by nobu.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:47 PM Revision f3e1c29b (git): * parse.y (opt_bv_decl): allow newline at the end. [ruby-dev:45292]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:11 PM Bug #6091 (Rejected): ruby-mode.el variable typo
- not a typo
-
12:24 AM Bug #6091 (Rejected): ruby-mode.el variable typo
- (defcustom ruby-deep-indent-paren '(?\( ?\[ ?\] t)
should be:
(defcustom ruby-deep-indent-paren '(?\( ?\[ ?\{ t)
-
12:08 PM Bug #6092 (Closed): tests of psych reports many errors and failures when external encoding is not unicode
- after r34722, tests of psych reports many errors and failures, such as;
test_parse_file_exception(Psych::TestException) [C:/Users/usa/ruby/test/psych/test_exception.rb:63]:
[Psych::SyntaxError] exception expected, not
Class: <Argume... - 11:46 AM Revision d74ccf8f (git): * io.c (rb_io_set_pos): add rdoc about textmode.
- * test/ruby/test_io.rb (TestIO#test_setpos): use binmode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:44 AM Feature #6073: Proposal of extending syntax of for loop
- Hi,
Shugo Maeda wrote:
> I think it's good to support both each and map/flat_map.
> ...
Though supporting both each and map/flat_map makes code simpler but,
I'm not completely sure if it's a good idea. I think we've got to
get mor... -
09:40 AM Feature #6012: Proc#source_location also return the column
- Well, that failed miserably. LOL :-)
-
09:39 AM Feature #6012: Proc#source_location also return the column
- Thanks Eric! I ((*never*)) noticed that ((%RD%)) "button" before (hardly looks like a button).
Why did it put:
=begin
=end
In the textarea when I clicked on it? ... maybe I'll find out by submitting this...
=begin
What'... -
05:23 AM Feature #6012: Proc#source_location also return the column
- On Feb 26, 2012, at 6:33 AM, Thomas Sawyer wrote:
> BTW & OT: When is any one going to explain how we format code examples as monospace text on this site?
Click the RD button and use RD formatting (two spaces).
Here's a bash alia... -
08:40 AM Revision 475422fa (git): * ext/sdbm/_sdbm.c (fitpair): suppress shortening warnigns.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:27 AM Revision 2a19074c (git): * test/ruby/test_syntax.rb (test_newline_in_block_parameters):
- test for [ruby-dev:45292].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:25 AM Revision e9ef9bd0 (git): merge revision(s) 34829:
- * ext/bigdecimal/bigdecimal.c (GetVpValueWithPrec): since methods
can be overridden, so should not make an assumption on the type
of results. [ruby-core:42969][Bug #6093]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby... - 08:07 AM Revision 34205bc4 (git): * string.c (rb_str_crypt): Update rdoc and state that this
- function is system dependent. Reviewed by nobu, thanks to
@takai.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:03 AM Revision f5482e4c (git): * ext/bigdecimal/bigdecimal.c (GetVpValueWithPrec): since methods
- can be overridden, so should not make an assumption on the type
of results. [ruby-core:42969][Bug #6093]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:24 AM Feature #5958: ThreadGroup#join
- As another design restriction, the thread list should ensure that threads started in the `ThreadGroup` appear at the end of the list and not randomly to ensure all the threads are joined. Otherwise, joining a `ThreadGroup` may leave thr...
-
01:53 AM Feature #5958: ThreadGroup#join
- On 26/02/2012 08:32, Masaki Matsushita wrote:
>
> ...
It'd be much less surprising to go through the normal rescue mechanism
if possible. How about something like this:
```ruby
module ThreadGroupExceptions
attr_accessor :next... -
01:54 AM Revision ce2211bf (git): * lib/mkmf.rb (try_cppflags, try_cflags, try_ldflags): replace the
- target flags if the given flag is accepted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:53 AM Revision 8e683a8a (git): * test/rubygems/test_gem_specification.rb (test_self_from_yaml_syck_default_key_bug):
- ignore the test for too old versions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:53 AM Revision 90080e3a (git): * lib/test/unit.rb (Test::Unit::Runner#puke): skips with no
- messages should be trivial.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:50 AM Revision 80429eed (git): * io.c, process.c, time.c, ext: use rb_sys_fail_str instead of
- rb_sys_fail.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:48 AM Revision 2c3cc479 (git): * 2012-02-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:48 AM Revision 4c12eb74 (git): * ext/openssl/extconf.rb: suppress useless deprecation warnings
- from OpenSSL added by Apple.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:03 AM Bug #6090 (Third Party's Issue): ruby-mode.el font-lock fails with some interpolated strings
- "<ul><li>#{@files.join("</li><li>")}</li></ul>"
The above line does not font-lock properly.
02/26/2012
-
11:33 PM Feature #6012: Proc#source_location also return the column
- BTW & OT: When is any one going to explain how we format code examples as monospace text on this site?
-
11:32 PM Feature #6012: Proc#source_location also return the column
- Would this effect Method#source_location too?
I'm not sure I am really digging this idea. First of all it means I have to go back and fix some code. Secondly it means I have to always worry about the additional piece of data even thou... -
06:26 PM Bug #6089 (Closed): Test suite fails with OpenSSL 1.0.1
- It seems that the patch [1] changes the behavior of openssl and makes the test_x509cert.rb fail:
1) Failure:
test_dsig_algorithm_mismatch(OpenSSL::TestX509Certificate) [test/openssl/test_x509cert.rb:175]:
OpenSSL::X509::Certificat... -
06:23 PM Feature #5958: ThreadGroup#join
- (2012/02/26 17:32), Masaki Matsushita wrote:
> I think `ThreadGroup#join` may be more useful if it catches exceptions from all its threads and handles them like the following.
> ...
This behavior is very confusing for me.
I know it... -
05:32 PM Feature #5958: ThreadGroup#join
- Koichi Sasada wrote:
> What should happen when at least one thread causes an exception?
Under the patch, joining thread also causes the exception if the thread is being joined.
Otherwise, nothing will happen on joining thread.
It b... -
05:28 PM Revision 660a3298 (git): merge revision(s) 34821:
- * regparse.c (add_code_range_to_buf0): wrong condition of duplicated
warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:58 PM Bug #6058: Stack overflow in SEGV Handler
- r34817 の修正で私の手元でも直っていることを確認しました(ありがとうございます!)。
一応ご報告しておきます。 -
05:48 AM Bug #6058: Stack overflow in SEGV Handler
- ああ、思い出した。もともと buf[256] をここで使ってなかったのは
・ファイル名、行番号はスクリプト依存なので非常に長いファイル名を故意に生成可能なので二重SEGVを防ぐために上限を決める必要がある。ふつうファイル名は256程度で十分だろう
・fmt引数はRuby本体からわたされるので、長すぎるfmtがわたされたら呼び出し側のバグだろう
という意図でした。なので、256のままでいいのかちょっと自信がありません。たぶん大丈夫だと思いますが -
05:44 AM Bug #6058 (Assigned): Stack overflow in SEGV Handler
- workaroundとしてはこれで直りそうですが、元々のSEGVがあんまりなっとくいってないのでしばらく開き続けさせてください。ひまが出来たら追っかける
-
05:37 AM Bug #6058 (Closed): Stack overflow in SEGV Handler
- This issue was solved with changeset r34817.
Narihiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* error.c (report_bug): use buf and snprintf to avoid consumi... -
02:32 PM Revision a77ea177 (git): * regparse.c (add_code_range_to_buf0): wrong condition of duplicated
- warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:08 PM Bug #6066: Fix "control may reach end of non-void function" warnings for clang
- =begin
This patch updates existing (({return Qnil; /* not reached */})) with (({UNREACHABLE;}))
I did not change (({trace_en()})) in variable.c as it seems to return, I think the (({/* not reached */})) should be removed, but can you... -
01:39 PM Bug #6066: Fix "control may reach end of non-void function" warnings for clang
- This patch updates all -Wreturn-type warning locations to use the UNREACHABLE macro.
-
07:02 AM Bug #6066: Fix "control may reach end of non-void function" warnings for clang
- Thank you, I will post an updated patch using UNREACHABLE
-
01:52 PM Bug #6001: Retry idempotent HTTP requests for more errors
- Eric Hodel wrote:
> If I update to (({assert_raises(EOFError, IOError, Errno::ECONNRESET) {})) may I commit?
Yes, please -
06:57 AM Bug #6001: Retry idempotent HTTP requests for more errors
- =begin
If I update to (({assert_raises(EOFError, IOError, Errno::ECONNRESET) {})) may I commit?
=end
-
06:15 AM Bug #6001: Retry idempotent HTTP requests for more errors
- > - assert_raises(EOFError) {
> ...
On my environment, EOFError and Errno::ECONNRESET may happen.
Others are ok. -
11:30 AM Feature #6082: io_binwrite()内でwritev()を使う
- Nobuyoshi Nakada wrote:
>sys/uio.hが必要です。
ご指摘とpatchをありがとうございます。
なかださんのpatchを適用して1つにまとめたpatchを添付します。 -
11:26 AM Bug #5966 (Closed): ->{} doesn't work in BasicObject
- This issue was solved with changeset r34819.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* compile.c (iseq_compile_each): call on special object instead... -
04:23 AM Bug #5966: ->{} doesn't work in BasicObject
- Hi,
(2012/02/11 6:56), Nobuyoshi Nakada wrote:
> File 0001-Bug-5966-lambda-in-BasicObject.patch added
> Status changed from Open to Assigned
> Assignee set to Koichi Sasada
Thank you. Please commit it.
> I'm not su... -
07:53 AM Bug #5765: [PATCH] modernize Timeout usage in net/{http,pop,smtp,telnet}
- Eric Hodel <drbrain@segment7.net> wrote:
> I like this patch.
>
> This patch will collide with #6001, though, since I introduce
> Net::HTTP::OpenTimeout as a subclass of Timeout::Error. Should we add
> Net::OpenTimeout inste... -
07:22 AM Bug #5765: [PATCH] modernize Timeout usage in net/{http,pop,smtp,telnet}
- The attached patch combines the original patch with the introduction of Net::OpenTimeout.
-
07:15 AM Bug #5765: [PATCH] modernize Timeout usage in net/{http,pop,smtp,telnet}
- I like this patch.
This patch will collide with #6001, though, since I introduce Net::HTTP::OpenTimeout as a subclass of Timeout::Error. Should we add Net::OpenTimeout instead of Net::HTTP::OpenTimeout?
See also #6088 where I intr... -
06:23 AM Bug #5765: [PATCH] modernize Timeout usage in net/{http,pop,smtp,telnet}
- Koichi Sasada <redmine@ruby-lang.org> wrote:
> Any progress?
Patch still applies to trunk with offsets. I was hoping somebody
else can review it (I never trust anything I write :)
> I think it is good timing that you beco... -
07:24 AM Feature #6088: Add Net::ReadTimeout to distinguish which operation failed
- The attached patch adds Net::ReadTimeout to Net::Telnet.
-
07:14 AM Feature #6088 (Closed): Add Net::ReadTimeout to distinguish which operation failed
- This relates to #5765 which improves use of timeout in net/ and #6001 which introduces Net::HTTP::OpenTimeout.
This patch introduces Net::ReadTimeout as a subclass of Timeout::Error and raises it when a read operation takes too long. ... -
06:21 AM Bug #6087: How should inherited methods deal with return values of their own subclass?
- I would think these methods should be using `self.class.new` for constructors thus returning the subclass. Although, that might not always possible.
-
06:02 AM Bug #6087 (Closed): How should inherited methods deal with return values of their own subclass?
- Just noticed that we still don't have a consistent way to handle return values:
```ruby
class A < Array
end
a = A.new
a.flatten.class # => A
a.rotate.class # => Array
(a * 2).class # => A
(a + a).class # => Array
```
S... -
06:02 AM Bug #4821 (Feedback): Random Segfaults (in start_thread?)
-
05:35 AM Feature #1586: Including a module already present in ancestors should not be ignored
- Koichi Sasada wrote:
> I want to change this behavior as permitting multiple modules in an ancestors list (option B).
> ...
That would be great.
I'm assuming it be allowed to include a module multiple times in a row too?
~~~ruby
... -
05:19 AM Feature #1586 (Open): Including a module already present in ancestors should not be ignored
- I want to change this behavior as permitting multiple modules in an ancestors list (option B).
Can I do it? (If I can, I'll implement it after this Apr).
-
04:13 AM Feature #6074: Allow alias arguments to have a comma
- I might have sounded more negative than I intended, so let me say that I also agree that we should allow a comma.
-
03:26 AM Revision 331d6b34 (git): merge revision(s) 34819:
- * compile.c (iseq_compile_each): call on special object instead of
self. since stabby lambda is a syntax, so it should not be
affected by the context. [ruby-core:42349][Bug #5966]
* insns.def (send): no spe... -
02:26 AM Revision 6a8d0097 (git): * compile.c (iseq_compile_each): call on special object instead of
- self. since stabby lambda is a syntax, so it should not be
affected by the context. [ruby-core:42349][Bug #5966]
* insns.def (send): no special deal for FCALL. self should be put
on TOS instead.
git-svn-id: svn+ssh://ci.ruby-lang... -
01:06 AM Feature #5690: Module#qualified_const_get
- @Xavier Let me "qualify" that ;-) I think your reasoning made very good sense for adding to ActiveSupport. But becoming part of Ruby, there is the opportunity to do it "right", as your last statement concurs.
-
01:04 AM Feature #5690: Module#qualified_const_get
I don't think the name is particularly obvious. Nevertheless, I am hopeful that it won't matter. I think `const_get` can accommodate. In fact, I think it can even be made to handle:
const_get('Foo', 'Bar::Baz') #=> Foo::Bar::Baz
...-
12:58 AM Feature #6065: Allow Bignum marshalling/unmarshalling from C API
- Yusuke Endoh wrote:
> I agree with akr; Martin's proposal depends on the type long, which
> ...
Having something like that would of course be pure luxury :) I really
like it because it is friendly to clients in the sense that
they c... -
12:51 AM Feature #6065: Allow Bignum marshalling/unmarshalling from C API
- Akira Tanaka wrote:
> 2012/2/25 Martin Bosslet <Martin.Bosslet@googlemail.com>:
> ...
I meant that it would become tightly coupled without further
comment on the expected transfer format. If the internal
representation happens to...