Activity
From 03/12/2012 to 03/18/2012
03/18/2012
-
11:43 PM Bug #6172 (Rejected): Inconsistent behaviour of defined?
- The former is analogous to Foo.bar(Misio), while the latter is analogous to Foo.bar("zot").
Object.const_get is mere method call. -
07:23 PM Bug #6172 (Rejected): Inconsistent behaviour of defined?
- Following behavior is obvious:
irb(main):004:0> Object.const_get("Misio")
NameError: uninitialized constant Misio
from (irb):4:in `const_get'
from (irb):4
from /Users/pawel/.rbenv/versions/1.9.4-dev/bin/irb:12:in `<main>'
irb(... -
11:14 PM Feature #6173 (Closed): re.cのrb_memsearch()におけるmemchr()の利用
- re.cのrb_memsearch()では、m == 1な場合にはfor文で各バイトと比較していますが、memchr()を用いると性能の改善がみられます。
次のようなベンチマークを実行したところ、以下のような結果となりました。
require 'benchmark'
str = "hoge" * 10000 + "\n"
Benchmark.bm do |x|
x.report do
str.index("\n")
end
e... -
11:05 PM Feature #3916: Add flag to ruby to make warnings fatal.
- Hmm... I just wrote article related to this:
https://github.com/trans/trans.github.com/wiki/2012-02-25-setting-priorities-trumps-warnings
-
06:46 PM Feature #3916 (Assigned): Add flag to ruby to make warnings fatal.
-
11:01 PM Feature #4151: Enumerable#categorize
- I'm sorry, but #categorize has big code smell. Seems like too much functionality is being shoved into one method. It is still not clear to me after reading over explanation many times how #categorize works. So either it is relatively str...
-
10:36 PM Feature #5534: Redefine Range class and introduce RelativeNumeric and RelativeRange
- More of my crazy ideas. Wouldn't it be nice to be able to write:
a, b = 0.5, 10.5
(a..b).each(Integer) { |n| puts n } -
10:11 PM Feature #4102: Proposal for 'let'. A new approach using block-defaults in 1.9
- It would conflict with RSpec's definition of #let.
Other then as a teaching tool for block scope what are the use cases? This seems to have very limited use. I find defining a new method is better way to get clean scope.
-
06:46 PM Feature #4102 (Assigned): Proposal for 'let'. A new approach using block-defaults in 1.9
-
09:53 PM Feature #4553: Add Set#pick and Set#pop
- I would expect `Array#pick` to work too. Which then leads one to think Array might support the equivalent of `Set#pop` as well. But since Array already has `#pop` it's not really a good idea to reuse same term, although in the case of Se...
-
07:26 PM Feature #4553 (Assigned): Add Set#pick and Set#pop
-
09:31 PM Feature #1873: MatchData#[]: Omits All But Last Captures Corresponding to the Same Named Group
- This is the first time I've seen regular expression groups, so it's interesting.
It occurs to me that with this addition MatchData is both a sort of Array and a sort of Hash. That being so consider `md.to_h`.
-
03:01 PM Feature #1873 (Feedback): MatchData#[]: Omits All But Last Captures Corresponding to the Same Named Group
- This feature itself is acceptable, but proposed method name (API) is not acceptable.
-
07:25 PM Feature #4551 (Assigned): uri.set_scheme should downcase schemes
-
07:22 PM Feature #4523: Kernel#require to return the path of the loaded file
- I don't think it's useful if it may return false.
What's the use case?
I agree that the way to know the loaded path would be useful sometimes, but this doesn't seem nice. -
07:12 PM Feature #4513 (Assigned): allow whitespace following EOL continuation backslash
- Regardless it's acceptable or not, we want to check nobu's local patches first. Don't you have that?
-
07:08 PM Feature #4483 (Assigned): PStoreをデフォルトで複数のスレッドから扱えるようにしたい
-
07:05 PM Feature #4475 (Assigned): default variable name for parameter
-
07:04 PM Feature #4414 (Rejected): Addition to String.split
- Please use unpack instead.
-
07:04 PM Feature #4335 (Rejected): String#split for empty string is always empty array
- It's intended feature, and -1 is prepared for your purpose as Nobu said. #3575
-
07:01 PM Feature #4276 (Assigned): Allow use of quotes in symbol syntactic sugar for hashes
-
06:56 PM Feature #4254 (Rejected): Allow method transplanting
-
06:49 PM Feature #4168 (Assigned): WeakRef is unsafe to use in Ruby 1.9
- Nobu, can we close this now?
-
06:47 PM Feature #4146 (Assigned): Improvement of Symbol and Proc
-
06:46 PM Feature #5096 (Assigned): offer Logger-compatibility for syslog ext
-
06:46 PM Bug #5073 (Assigned): Ruby 1.9.2 may fail to build ri data when an RDoc plugin is installed
-
06:46 PM Feature #5011 (Assigned): Add Perl 6-like main method definition support: accept command-line arguments as method arguments
-
06:46 PM Feature #5010 (Assigned): Add Slop(-like) in stdlib and deprecate current OptionParser API
-
06:46 PM Feature #4985 (Assigned): Add %S[] support for making a list of symbols
-
06:46 PM Bug #4974 (Assigned): [ext/tk] ruby_1_9_2@32391 build failure with MinGW
-
06:46 PM Bug #4971 (Assigned): Module#class_variables
-
06:46 PM Feature #4938 (Assigned): Add Random.bytes [patch]
-
06:46 PM Bug #4911 (Assigned): timer_thread_function() が thead unsafe
-
06:46 PM Feature #4872 (Assigned): REXML::XMLDecl#encodingがStringではなくEncodingを返すようにする
-
06:46 PM Feature #4831 (Assigned): Integer#prime_factors
-
06:46 PM Feature #4788 (Assigned): resolv.rb refactoring
-
06:46 PM Feature #4787 (Assigned): Integer#each_modulo(n)
-
06:46 PM Feature #4649 (Assigned): Adding parallel constructors to Ruby 2.0
-
06:46 PM Feature #4614 (Assigned): [RFC/PATCH] thread_pthread.c: lower RUBY_STACK_MIN_LIMIT to 64K
-
06:46 PM Feature #4570 (Assigned): [PATCH v2] io.c (rb_io_close): release GVL if possible
-
06:46 PM Feature #4521 (Assigned): NoMethodError#message may take very long to execute
-
06:46 PM Feature #4086 (Assigned): Feature request: add String#contain? and {Enumerable,Array}#contain? methods
-
06:46 PM Feature #4085 (Assigned): Refinements and nested methods
-
06:46 PM Feature #3953 (Assigned): TCPSocket / UDPSocket do not accept IPAddr objects.
-
06:22 PM Feature #3953: TCPSocket / UDPSocket do not accept IPAddr objects.
- knu, how do you think?
-
06:18 PM Feature #3953: TCPSocket / UDPSocket do not accept IPAddr objects.
- If we implement this feature, we need a method for duck type, such as IPAddr#to_ipaddress to convert to IP-address string.
-
06:46 PM Feature #3946 (Assigned): Array#packのqQ指定子に機種依存サイズフラグ!を追加
-
06:46 PM Feature #3901 (Assigned): WIN32OLE_VARIANT.new method lacks consistency
-
06:46 PM Bug #3781 (Assigned): FIBER_USE_NATIVE が有効だと落ちるスクリプトがある
-
06:46 PM Feature #3731 (Assigned): Easier Embedding API for Ruby
-
06:06 PM Feature #3731 (Open): Easier Embedding API for Ruby
-
06:46 PM Feature #3620 (Assigned): Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
-
06:46 PM Feature #3608 (Assigned): Enhancing Pathname#each_child to be lazy
-
06:46 PM Bug #3594 (Assigned): URI class doesn't do file URL's properly.
-
06:46 PM Feature #3479 (Assigned): Array#binary_find et al
-
05:27 PM Feature #3479: Array#binary_find et al
- Endoh-san, how do you think?
-
06:46 PM Feature #3450 (Assigned): Format Strings with Named Arguments & Hash#default
-
06:46 PM Feature #3399 (Assigned): UNC path is not handled properly
-
06:46 PM Feature #3333 (Assigned): mkmf (have|find)_cxx_header
-
03:56 PM Feature #3333: mkmf (have|find)_cxx_header
- Imported from #3330
うっかりruby-listに投げてしまったきしもとです
[ruby-list:47092] で振ってみた話題に関係して、なのですが(ツリーになりませんでしたが)、
mkmf に C++ のヘッダをチェックする機能を追加するパッチです。
```diff
Index: configure.in
===========================================================... -
06:46 PM Feature #3328 (Assigned): Kernel#p outputs as default_internal encoding, and so on
-
06:46 PM Feature #3322 (Assigned): Simple Patch to make ruby copy-on-write-friendly
-
06:46 PM Feature #3206 (Assigned): Problems manipulating the signal mask with Ruby
-
06:46 PM Feature #3187 (Assigned): Allow dynamic Fiber stack size
-
02:36 PM Feature #3187: Allow dynamic Fiber stack size
- How about;
```ruby
t = Thread.new(stack_size: 1024)
t.stack_size = 1024
t[:initial_tls_hash] = {}
t.run {
...
}
``` -
06:46 PM Feature #3163 (Assigned): SyntaxError when using variable which is also a method in current scope with a Symbol argument
-
06:46 PM Feature #2837 (Assigned): Compile-time constant for HEAP_GROWTH_FACTOR (patch attached)
-
06:46 PM Feature #2709 (Assigned): $VERBOSE, $DEBUG and Kernel#sprintf
-
06:46 PM Feature #2643 (Assigned): test/unit redefinition check of test_* method
-
03:11 PM Feature #2643: test/unit redefinition check of test_* method
- Shota, please handle this. We also added you as a maintainer of test/unit. http://bugs.ruby-lang.org/projects/ruby/wiki/Maintainers
-
06:46 PM Feature #2631 (Assigned): Allow IO#reopen to take a block
-
03:12 PM Feature #2631: Allow IO#reopen to take a block
- I don't feel changing `IO#reopen` is great way to solve this issue.
How about `spawn()`?
Since Ruby 1.9, `spawn` provides a primitive for redirection.
It is thread safe.
Apart from that, I think `$stdin`, `$stdout`, `$stderr` c... -
02:58 PM Feature #2631: Allow IO#reopen to take a block
- Method name?
-
06:46 PM Feature #2324 (Assigned): Dir instance methods for relative path
-
06:46 PM Feature #2322 (Assigned): [PATCH] Add standard deviation function to Math Module
-
06:46 PM Bug #1792 (Assigned): Fixnum#& 等が、Rational などを受けつける
-
06:46 PM Feature #1586 (Assigned): Including a module already present in ancestors should not be ignored
-
06:46 PM Bug #953 (Assigned): 深い入れ子の配列の取り扱いで落ちる
-
06:46 PM Feature #6163 (Assigned): Remove syck YAML extension
-
06:46 PM Bug #6161 (Assigned): Document interpretation of backslashes in string transliterations
-
06:46 PM Bug #6147 (Assigned): should we check a result returned by fcntl?
-
06:46 PM Bug #6145 (Assigned): two possible bugs in Onigmo
-
06:46 PM Bug #6143 (Assigned): Onigmo allows broken regexp: /(?(x.)/
-
06:46 PM Bug #6141 (Assigned): rails-3.2.2+1.9.3p125 の環境で SEGV が発生
-
06:46 PM Bug #6131 (Assigned): Ctrl-C handler do not work from exec process (Windows)
-
06:46 PM Bug #6124 (Assigned): remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)
-
06:46 PM Bug #6122 (Assigned): OpenSSL::PKCS7 verify
-
06:46 PM Bug #6120 (Assigned): Float and BigDecimal bug in remainder in corner cases
-
06:46 PM Bug #6119 (Assigned): Usage of CPPFLAGS during configure result in duplicated values for RbConfig CPPFLAGS information
-
06:46 PM Bug #6117 (Assigned): Transfers allowed into Fibers that have resumed into other fibers
-
06:46 PM Feature #6111 (Assigned): Request for making ruby multiarchable
-
06:46 PM Bug #6107 (Assigned): Documentation Abbrev (stdlib) confusing
-
06:46 PM Bug #6098 (Assigned): Re: GVL改善案
-
06:46 PM Bug #6094 (Assigned): [OpenSSL] wrong argument of rsa_generate()
-
06:46 PM Bug #6090 (Assigned): ruby-mode.el font-lock fails with some interpolated strings
-
06:46 PM Bug #6087 (Assigned): How should inherited methods deal with return values of their own subclass?
-
06:46 PM Bug #6086 (Assigned): Number of arguments and named parameters
-
06:46 PM Bug #6078 (Assigned): The name of a module nested in an anonymous module depends on how it was created
-
06:46 PM Bug #6067 (Assigned): Conditional assignment of a nested constant raises a SyntaxError
-
06:46 PM Bug #6066 (Assigned): Fix "control may reach end of non-void function" warnings for clang
-
06:46 PM Bug #6057 (Assigned): URI - Nonsensical Behavior
-
06:46 PM Feature #6056 (Assigned): Enhancements to OpenStruct
-
06:46 PM Bug #6039 (Assigned): lambda vs proc; #to_ary w/ splat bug
-
06:46 PM Bug #6038 (Assigned): #instance_eval bug
-
06:46 PM Bug #6030 (Assigned): Thread-local "leak" in rb_exec_recursive*
-
06:46 PM Bug #6029 (Assigned): Should OpenStruct implement #eql? and #hash?
-
06:46 PM Bug #6024 (Assigned): Failure to execute test_modify_expand_memory_leak under Windows (MinGW)
-
06:46 PM Feature #6023 (Assigned): Add "a ?= 2" support for meaning "a = a.nil? ? 2 : a"
-
06:46 PM Feature #6012 (Assigned): Proc#source_location also return the column
-
06:46 PM Bug #6011 (Assigned): ruby-1.9.3-p0/lib/webrick/utils.rb:184: [BUG] Segmentation fault
-
06:46 PM Bug #5993 (Assigned): Thread.new{ Fiber.new { Thread.exit }.resume }.join で例外
-
06:46 PM Bug #5985 (Assigned): miniruby skews "make benchmark" results
-
06:46 PM Bug #5954 (Assigned): IO.read_nonblock on IO.pipe generates Errno::EBADF (MinGW)
-
06:46 PM Bug #5932 (Assigned): gc_mark_children で SEGV が発生
-
06:46 PM Bug #5930 (Assigned): source_location of blocks incorrect
-
06:46 PM Bug #5912 (Assigned): Interpreter crashes when trying to invoke implicit block via Binding#eval
-
06:46 PM Feature #5896 (Assigned): object representation in rb_enc_vsprintf()
-
06:46 PM Bug #5882 (Assigned): segfault in miniruby in ruby1.9.3 crosscompile for ARM
-
06:46 PM Bug #5829 (Assigned): /dl/test_cptr.rb Segmentation fault on Ruby 1.9.3 P0
-
06:46 PM Bug #5828 (Assigned): Non anonymous classes can't be frozen, cloned and then inspected
-
06:46 PM Bug #5811 (Assigned): Ruby Process Deadlocks With Fork on Mac OS X Lion
-
06:46 PM Feature #5785 (Assigned): Readline に pre_input_hook, insert_text, redisplay を追加
-
06:46 PM Feature #5784 (Assigned): Readline.special_prefixes の追加
-
06:46 PM Bug #5780 (Assigned): test/fileutils/test_fileutils.rb:86: [BUG] Segmentation fault
-
06:46 PM Bug #5774 (Assigned): [PATCH] xmlrpc client handling cookies
-
06:46 PM Bug #5772 (Assigned): Segmentation Fault on Mac (crash)
-
06:46 PM Bug #5771 (Assigned): WIN32OLERuntimeError using 1.9.2
-
06:46 PM Bug #5761 (Assigned): Array#flatten(N) calls to_ary on the (N+1)-level objects
-
06:46 PM Bug #5759 (Assigned): flatten calls to_ary on everything
-
06:46 PM Bug #5750 (Assigned): Thread.current local-variables behavior
-
06:46 PM Bug #5747 (Assigned): Proc#curry doesn't always detect too many arguments
-
06:46 PM Bug #5746 (Assigned): Proc#curry too strict about lambda's arity.
-
06:46 PM Bug #5737 (Assigned): WEBrick doesn't support keep alive connections for 204 and 304 responses
-
06:46 PM Bug #5736 (Assigned): Numeric#quo should convert with #to_r
-
06:46 PM Bug #5719 (Assigned): Hash::[] can't handle 100000+ args
-
06:46 PM Bug #5715 (Assigned): +/-1 ** Bignum returns different results than +/-1 ** Fixnum
-
06:46 PM Bug #5713 (Assigned): Fixnum#** returns Infinity for 0 ** negative Bignum
-
06:46 PM Bug #5694 (Assigned): Proc#arity doesn't take optional arguments into account.
-
06:46 PM Bug #5686 (Assigned): compile error for ext/tk/tcltklib.c: ‘ruby_errinfo’ undeclared
-
06:46 PM Bug #5680 (Assigned): IPPROTO_GGP undeclared when compiling ext/socket/constants.c
-
06:46 PM Bug #5670 (Assigned): Emacs ruby-mode syntax highlighting issue
-
06:46 PM Bug #5648 (Assigned): irb does not handle recursive heredocs
-
06:46 PM Bug #5647 (Assigned): Possible use of uninitialized value in Init_bigdecimal
-
06:46 PM Feature #5630 (Assigned): Missing custom transfer modes in Net::FTP
-
06:46 PM Bug #5619 (Assigned): Segfault on OS X
-
06:46 PM Bug #5618 (Assigned): Exceptions cause DRb connection to be closed
-
06:46 PM Bug #5608 (Assigned): make -j 16 sometimes fail
-
06:46 PM Bug #5563 (Assigned): Fix bug in drb tests if hostname does not resolve to a local IP
-
06:46 PM Feature #5543 (Assigned): rb_thread_blocking_region() API is poorly designed
-
06:46 PM Bug #5538 (Assigned): ruby memory error running minitests
-
06:46 PM Bug #5515 (Assigned): Integer#quo(aFloat) の結果が Rational になる
-
06:46 PM Bug #5511 (Assigned): "make test" failure on HP-UX/PA
-
06:46 PM Bug #5510 (Assigned): "make test" failure on HP-UX/IA
-
06:46 PM Bug #5508 (Assigned): Is BigDecimal really not $SAFE?
-
06:46 PM Bug #5497 (Assigned): Math.log10(10_000) error on HP-UX/PA
-
06:46 PM Bug #5485 (Assigned): ERB html_escape should follow OWASP recommendations
-
06:46 PM Bug #5463 (Assigned): PTY or IO.select timing issue results in no EOF
-
06:46 PM Bug #5437 (Assigned): Using fibers leads to huge memory leak
-
06:46 PM Bug #5420 (Assigned): RubyGems misleading error message for "update -l"
-
06:46 PM Bug #5418 (Assigned): Some properties of WEBrick::HTTPRequest could be malformed
-
06:46 PM Bug #5368 (Assigned): ensure節でsleepするようなThreadがあるとインタプリタが終了しない
-
06:46 PM Bug #5358 (Assigned): YAML 中のタグの扱いについて
-
06:46 PM Bug #5355 (Assigned): Sync_mにBug #5195やBug #5258と同様のバグ
-
06:46 PM Bug #5330 (Assigned): Bug Report: wrong backtrace
-
06:46 PM Bug #5269 (Assigned): All ThreadError in PStore transaction will be caught and replaced with PStore::Error
-
06:46 PM Bug #5266 (Assigned): BigDecimal#sqrt で、大きな数の平方根の、要求する精度が低いある範囲のとき、結果がおかしい
-
06:46 PM Bug #5246 (Assigned): bootstraptest fails on ia64
-
06:46 PM Bug #5236 (Assigned): Including a module in a superclass after it has been included in a subclass leads to infinite recursion if the module uses `super`
-
06:46 PM Bug #5214 (Assigned): "not (true)" should not warn "(...) interpreted as grouped expression"
-
06:46 PM Bug #5199 (Assigned): ext/tk: RB_GC_GUARD seems to be needed in several places
-
06:46 PM Bug #5179 (Assigned): Complex#rationalize and to_r with approximate zeros
-
06:46 PM Feature #5174 (Assigned): Export ruby_init_prelude()
-
06:46 PM Feature #5138 (Assigned): Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
-
06:46 PM Feature #5133 (Assigned): Array#unzip as an alias of Array#transpose
-
06:42 PM Feature #4057: FileUtils.copy with FIFOs and Special Devices
- I feel following hang is bad behavior.
% mkfifo p
% ruby -v -rfileutils -e 'FileUtils.copy "p", "p2"'
ruby 2.0.0dev (2012-03-16 trunk 35049) [x86_64-linux]
...hang...
However cp also hangs.
% cp p p2
..hang...
... -
06:42 PM Feature #4095: C1 Coverage
- Contribution are welcomed...
-
06:36 PM Feature #4046 (Feedback): Saving C's **argv and cwd allows Ruby programs to reliably restart themselves
- argv[0] is not reliable on some environment.
see "#! - the Unix truth as far as I know it."
http://homepages.cwi.nl/~aeb/std/hashexclam.html
I tried to implement with vendor specific functions.
https://gist.github.com/1129437
... -
06:26 PM Feature #3995 (Rejected): Hash#update with Enumerable
-
06:11 PM Feature #3773 (Rejected): Module#parent
- I mark this Rejected since Matz rejected it. Sorry for not respecting your extra concern. It would be good to file this as a new issue.
-
06:10 PM Feature #3727 (Closed): rb_f_require_relative not included in Ruby API
- closing because no feedback..
-
06:05 PM Feature #3727: rb_f_require_relative not included in Ruby API
- I think it is difficult to determine the base directory of relative directory in C.
-
06:07 PM Feature #3897 (Rejected): Pathname sub_ext! method
- Pathname is immutable as commented.
-
06:07 PM Feature #3715 (Rejected): Enumerator#size and #size=
- As matz already rejeted I hereby close this issue. If you still need it, please open a new ticket with revisied AIPs. Thank you.
-
05:57 PM Feature #3688 (Assigned): redef keyword for method redefinition in Ruby 2.0
-
05:51 PM Feature #3619 (Rejected): \x{XXXX} as an escape sequence of string
-
05:46 PM Feature #3575: String#split is inconsistent with empty string and negative limit
- I think Ruby thinks "" has no fields, not one field which have empty string.
So, "".split(",", -1) should return [].
Documentation issue, maybe. -
05:39 PM Feature #3511 (Feedback): rb_path_to_class should call custom const_defined? methods
- Aaron, is this hook extension still needed for your usecase? (assuming Rails?)
Not bad but it would affect performance... -
05:23 PM Feature #6129: String#each_lineにおけるmemmem()の利用
- Nobuyoshi Nakada wrote:
>* パラグラフモードでも効果があるか
> ...
パラグラフモードでも効果があるかどうかについてですが、次のようなベンチマークを実行してみました。
require 'benchmark'
rs = "\n" * ARGV.first.to_i
str = "hoge#{rs}fuga" * 10_0000
Benchmark.bm do |x|
x.report do
str.ea... -
05:19 PM Feature #3447 (Feedback): argument delegation
- * このスレッドの現状をどなたか教えていただけませんか。
* この記法のユースケースをどなたか教えていただけませんか。 -
05:17 PM Feature #3429 (Closed): Integer#**(large) warns "in a**b, b may be too big" and return Infinity
- This issue was solved with changeset r35081.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* bignum.c (rb_big_pow): estimate result bit size more precisel... -
04:50 PM Feature #3429: Integer#**(large) warns "in a**b, b may be too big" and return Infinity
- mrkn, please handle this.
-
04:37 PM Feature #3427 (Rejected): instances of Dir class can't be compared
- Marked as Rejected since the original poster agreed that it's less likely to be needed.
-
04:34 PM Feature #3426 (Rejected): exec doesn't allow command lines which begin with an env variable assignment
- Mark as Rejected since Endoh-san said it's duplicated of #3321, and #3321 is rejected.
-
04:28 PM Feature #3388: regexp support for start_with? and end_with?
- I think we can cache regexp structure according to regexp source, options, encoding.
If regexp structure is cached, /\A#{pattern}/ and /#{pattern}\z/ is not slow for
second and successive dynamic regexp creation.
If it is not slo... -
04:25 PM Feature #3388: regexp support for start_with? and end_with?
- rindex(pattern) would fail to detect proper end_of_string index. It must be /{suffix}\Z/.
-
03:49 PM Feature #3300 (Feedback): onig_number_of_captures に相当するメソッド Regexp#ncapture
-
03:37 PM Feature #3001 (Feedback): Ruby stdlib: Benchmark::Tms #memberwise drops labels
-
03:36 PM Feature #2975 (Closed): Kernel.warn always writes despite $VERBOSE value
- I mark as Closed since it seems we already have it in docs.
Please file a new ticket for the proposed API change since it's dated... -
03:28 PM Feature #2824 (Closed): Backtrace from Singleton Classes is Unclear
- This issue was solved with changeset r35079.
Run Paint, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* compile.c: typo fix by Run Paint Run Run.
[ruby-core:283... -
03:22 PM Feature #2715: Optimization to avoid spawning shell in Kernel#system call should check for failure conditions
- I feel the optimization (avoid shell when no meta characters) can be removed.
We have many ways to avoid shell such as system(command, arg1, arg2).
And recent computers are fast enough to run command via shell. - 03:21 PM Revision 27c53898 (git): * 2012-03-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:21 PM Revision f4aff7fe (git): num2ll and num2ull
- * ext/-test-/num2int/num2int.c (print_num2ll, print_num2ull): define
only if long long is available, and use long long printf modifier
checked by configure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35086 b2dd03c8-39d4-4d8f-... -
03:21 PM Revision bd377449 (git): volatile errinfo
- * eval_jump.c (rb_exec_end_proc): need volatile to prevent from
setjmp/longjmp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:05 PM Feature #2645: Have a method in StringScanner which returns the position in characters rather than in bytes
- gettalong wrote:
> I had a similar problem: I wanted to extract a part of a StringScanner-backed string.
> ...
You can use String#byteslice. -
02:50 PM Feature #2351 (Rejected): system() hardlinked to /bin/sh
- I close this as 'Rejected' since no update given long time.
-
02:21 PM Revision e30dbb36 (git): fix condition for free
- * gc.c (aligned_free): fix condition for free. memalign() and
posix_memalign() are not defined together normally.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:05 PM Feature #1952: cannot stop with Ctrl+C
- 開発者会議で笹田さんなどと議論したところ、
以下のスクリプトで、2回め以降の ^C で 1 が表示されないのはバグであるという
結論になりました。
% ruby -ve '
Thread.new do
begin
begin
p 1
sleep
ensure
raise
end
rescue
retry
end
end... -
01:50 PM Feature #1952: cannot stop with Ctrl+C
- 現在の挙動。
% cat foo.rb
Thread.new do
begin
begin
p :sleep
sleep
ensure
p :raise
raise
end
rescue
p :retry
retry
end
end.join
% ruby foo.rb
:sleep
^C:raise
:retry
:sleep... -
01:38 PM Feature #3908 (Closed): private constant
- Closing as implemented at 1.9.3.
-
11:16 AM Bug #6168 (Assigned): Segfault in OpenSSL bindings
-
05:21 AM Bug #6168 (Third Party's Issue): Segfault in OpenSSL bindings
- Hello,
A few days ago I updated my Arch Linux server to OpenSSL 1.0.1-1 and Ruby 1.9.3_p125-2. Since then I have been experiencing an odd service failure where a Ruby TLS service of mine would disconnect users with "invalid MAC" excep... -
11:15 AM Revision 1d006f35 (git): * gc.c (aligned_malloc, aligned_free): added fallback implementations
- for platforms like OSX Leopard.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:06 AM Feature #5422: File.fnmatch != Dir.glob # {no,sets}
- Works for me if it works for the API.
-
10:45 AM Revision 3175fbf1 (git): * win32/Makefile.sub: put an empty line between stub and script.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:20 AM Bug #5544: Lookup scope for class variables in class_eval'd procs changed in 1.9.3
- I suppose so long as it is documented, the difference is ok. I think this can be closed in that case.
-
09:10 AM Feature #6166: Enumerator::Lazy#pinch
- Happy St. Patty's Day ;)
I don't seen any green on this site... *pinch* -
12:47 AM Feature #6166 (Rejected): Enumerator::Lazy#pinch
- In previous issue #6158 it has been determined that Enumerator::Lazy#take should be lazy. But an eager form of #take would still be useful.
To this end I'll suggest `Enumerator::Lazy#pinch`. Examples of usage:
e.lazy.pinch 1
... -
08:17 AM Revision ed4c5f38 (git): * bignum.c (rb_big_pow): estimate result bit size more precisely.
- [ruby-core:30735][Feature #3429]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:17 AM Revision 2555f3f5 (git): * gc.c (free_method_entry_i): method entry may be in
- unlinked_method_entry_list. [ruby-core:43383][Bug #6171]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:53 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
- I thought about that...it would still be better to add EWOULDBLOCKReadable,
etc, than to pay the .extend toll every time.
On Mar 17, 2012 10:28 AM, "Tanaka Akira" <akr@fsij.org> wrote:
> 2012/3/16 Charles Nutter <headius@headiu... -
06:28 AM Revision 7e78f6f5 (git): * compile.c: typo fix by Run Paint Run Run.
- [ruby-core:28368] [Bug #2824]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:09 AM Bug #6170 (Rejected): Compile error: "implicit declaration of function 'pthread_get_stackaddr_np'", "'pthread_get_stacksize_np'"
- =begin
When compiling Ruby 1.9.3 (I've tested 1.9.3p0 and 1.9.3p125), (({thread_pthread.c})) produces a compile error.
The following is the GCC output for the error:
compiling thread.c
In file included from thread.c:204:
thread... -
06:00 AM Bug #6169: Compile error "implicit declaration of function 'ruby_setreuid'", "'ruby_setregid'"
- =begin
This is fixed by removing lines 111-116 from (({process.c})), reproduced here:
#ifdef BROKEN_SETREUID
#define setreuid ruby_setreuid
#endif
#ifdef BROKEN_SETREGID
#define setregid ruby_setregid
#endif
Edit: forgot to menti... -
05:58 AM Bug #6169 (Closed): Compile error "implicit declaration of function 'ruby_setreuid'", "'ruby_setregid'"
- =begin
When compiling Ruby 1.9.3 (I've tested 1.9.3p0 and 1.9.3p125), process.c produces a compile error
The following is the GCC output for the error:
compiling process.c
process.c: In function 'p_sys_setreuid':
process.c:41... -
05:26 AM Revision 58f269d0 (git): merge revision(s) 34433: [Backport #6153]
- * encoding.c (rb_enc_compatible): return ASCII-8BIT even if 2nd string
is ascii only string. [ruby-core:42354] [Bug #5968]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:02 AM Bug #6167: String#count: wrong result for multiple complements of multi-byte characters
- Other incorrect results:
>> "\u0100\u0101".count("a", "\u0100")
=> 1
> ...
=> 1
Both should be 0. -
02:37 AM Bug #6167 (Closed): String#count: wrong result for multiple complements of multi-byte characters
- >> "\u0100\u0101".count("^\u0100", "^\u0101")
=> 2
Since multiple arguments are intersected, the expected result is 0. Compare:
> ...
=> 0
This takes a different path through tr_setup_table and returns the correct result.
An... - 01:03 AM Revision ef4ea58c (git): * 2012-03-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:03 AM Revision 42c18fe7 (git): * lib/profiler.rb: support calling singleton methods of
- an instance of BasicObject.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/17/2012
-
10:35 PM Bug #6158: Enumerator::Lazy#take: should it be lazy?
- matz:
> use #first. map! etc. do not conform other bang method naming convention.
Thank you for taking the decision.
Shugo:
I understand the use, so I also think it's worth having some form of lazy #take.
However, I think many... -
10:02 AM Bug #6158: Enumerator::Lazy#take: should it be lazy?
- use #first. map! etc. do not conform other bang method naming convention.
-
07:36 AM Bug #6158: Enumerator::Lazy#take: should it be lazy?
- =begin
Same for me - at first was thinking about having take evaluating makes sense.
But having ability to continue building the lazy chain looks more logical.
Having something like #pinch totally makes sense.
However I'm thinkin... -
12:55 AM Bug #6158: Enumerator::Lazy#take: should it be lazy?
- Both "takes" on this seem valid. Could there be a special method similar to take for de-lazying and taking a segment of the enumeration? e.g. maybe #pinch ?
e.lazy.pinch(3)
e.lazy.pinch(4..6)
e.lazy.pinch(2, 4)
-
05:59 PM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
- On Fri, Mar 16, 2012 at 7:24 PM, Eric Wong <normalperson@yhbt.net> wrote:
>> The only cases that break are cases that check e.class == EAGAIN,
>> which is probably not a good pattern anyway.
>
> I also noticed some test failures wit... -
09:29 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
- Charles Nutter <headius@headius.com> wrote:
> I should have mentioned that JRuby has been running this way for a
> while (on master) and we have had no reports of incompatibility. The
> concrete subclass is_a EAGAIN and is_a WaitR... -
10:23 AM Bug #6155: Enumerable::Lazy#flat_map raises an exception when an element does not respond to #each
- Hi,
In message "Re: [ruby-core:43357] [ruby-trunk - Bug #6155] Enumerable::Lazy#flat_map raises an exception when an element does not respond to #each"
on Sat, 17 Mar 2012 06:42:22 +0900, Marc-Andre Lafortune <ruby-core@marc-... -
06:42 AM Bug #6155: Enumerable::Lazy#flat_map raises an exception when an element does not respond to #each
- Hi,
Shugo Maeda wrote:
> I doubt that this behavior of Enumerable#flat_map is reasonable.
> ...
I understand your point of view. This behavior was clearly intended in Matz's original commit, though (r25456). Changing this could also... -
12:48 AM Bug #6155: Enumerable::Lazy#flat_map raises an exception when an element does not respond to #each
- > > [1, 2, 3].flat_map { |n| n }.to_a
> ...
I was writing rubyspec for Enumerable::Lazy#flat_map had the same behaviour as Enumerable#flat_map (besides the obvious differences in return value). Here is what I was using as a basis: htt... -
10:23 AM Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
- Hi,
In message "Re: [ruby-core:43358] [ruby-trunk - Feature #5008] Equal rights for Hash (like Array, String, Integer, Float)"
on Sat, 17 Mar 2012 07:13:17 +0900, Marc-Andre Lafortune <ruby-core@marc-andre.ca> writes:
|E... -
10:08 AM Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
- > "Repeating myself, unlike other classes in the table, Hash does not have "natural" conversion from set of values, so that I don't think it's worth provide to_h method."
> ...
I see, you were referring to Enumerable#to_h and meant t... -
07:13 AM Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
- Hi,
Yukihiro Matsumoto wrote:
> Repeating myself, unlike other classes in the table, Hash does not
> ...
Thanks for taking the time to reply.
Even if you will not accept Enumerable#to_h, how about `to_h` for Hash, Struct, OpenSt... -
08:31 AM Feature #6163 (Closed): Remove syck YAML extension
- =begin
The syck extension should be removed for the following reasons:
Syck only supports YAML 1.0
Syck is not YAML 1.0 compliant.
Syck is not easy to maintain, and many of the bugs existing in it have not been fixed.
Psych ... -
04:24 AM Bug #6151: ArgumentError of lambda shows wrong location
- How can that be by design? What kind of design criteria says that "instance_eval should blow up if a lambda is passed to it"?
So you are saying that instance_eval passes the receiver into the Proc as an argument? Why would it do this... -
03:18 AM Bug #6151: ArgumentError of lambda shows wrong location
- Just the location was fixed. The error is "by design" -- as you discovered, you will need to use Proc.new (or lambda {|*| ... }).
-
03:16 AM Bug #6151: ArgumentError of lambda shows wrong location
- Just to be clear, where both issues fixed? i.e. the fact that an error was raised in this case at all, as well as the location of lambda errors?
-
02:19 AM Bug #6161 (Closed): Document interpretation of backslashes in string transliterations
- =begin
The transliteration string accepted by String#tr, #delete, #squeeze, and #count has its own backslash escape syntax (on top of that provided by string literals), but it isn't documented.
A backlash character escapes the subseq... -
01:49 AM Bug #6160 (Closed): '\\'.delete('\\') raise ArgumentError: empty string
- This issue was solved with changeset r35073.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* string.c (trnext): fix bug with string ending with '\\'.
... -
01:40 AM Bug #6160 (Closed): '\\'.delete('\\') raise ArgumentError: empty string
- r35069 の変更の影響でクリーンビルドすると
../tool/transcode-tblgen.rb:758:in `delete': empty string (ArgumentError)
で止まります。
再現条件を絞り込んだところ '\\'.delete('\\') で ArgumentError になりました。 -
12:35 AM Bug #6159: Enumerable::Lazy#inspect
- Benoit Daloze wrote:
> So something like: #<Enumerator::Lazy: 1..5:each> or #<Enumerator::Lazy: #<Enumerator: 1..5:each>>
> ...
I agree that It would be nice. However, unlike Enumerator, Enumerator::Lazy doesn't have enough informatio...
03/16/2012
-
11:22 PM Bug #6158 (Assigned): Enumerator::Lazy#take: should it be lazy?
- Hello,
Benoit Daloze wrote:
> I noticed #take is now defined on Enumerator::Lazy, and it has lazy behavior:
> ...
At first, I had the same opinion, but lazy take is sometimes useful.
For example, the following code consume much mem... -
08:49 PM Bug #6158 (Closed): Enumerator::Lazy#take: should it be lazy?
- Hello,
I noticed #take is now defined on Enumerator::Lazy, and it has lazy behavior:
(1..1000).lazy.select(&:even?).take 3 # => #<Enumerator::Lazy ...>
I would expect #take to not be lazy and always produce an Array, like th... -
10:05 PM Revision 30c0db4a (git): follow r35040
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:57 PM Revision db3bce11 (git): * object.c: Fix indentation of Class#inherited example.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:59 PM Bug #6159 (Closed): Enumerable::Lazy#inspect
- Hello,
Enumerable::Lazy#inspect is undefined right now and relies on Enumerator#inspect:
(1..5).lazy # => #<Enumerator::Lazy: #<Enumerator::Generator:0x00000101a2f9e8>:each>
I think it would be nice to be similar to (direct)... -
08:06 PM Bug #6156 (Closed): String#tr fails on UTF-16
- This issue was solved with changeset r35069.
John, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* string.c (trnext): should advance char-wise.
[ruby-core:43335... -
03:05 PM Bug #6156 (Closed): String#tr fails on UTF-16
- >> "b".encode("utf-16le").tr("a-z".encode("utf-16le"), "*".encode("utf-16le"))
ArgumentError: invalid byte sequence in UTF-16LE
from (irb):91:in `tr'
from (irb):91
from /Users/john/.rvm/rubies/ruby-1.9.3-p125/bin/irb:16:in `<main>... -
07:41 PM Bug #6107: Documentation Abbrev (stdlib) confusing
- Previous patch is bunk, please disregard.
Attached patch removes the sort from the example and updates the example output with the actual hash. -
04:49 PM Revision ea6511c6 (git): * string.c (trnext): fix bug with string ending with '\\'.
- [ruby-dev:45374][Bug #6160]
* test/ruby/test_string.rb (TestString#test_delete): test for
above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:36 PM Bug #6157 (Closed): Enumerable::Lazy#select does not handle multiple yield arguments
- Dan Kubb wrote:
> When the #each method yields more than one argument, Enumerable::Lazy#select only accepts the first argument, e.g.:
The bug has already been fixed in r35043. Please try the latest revision.
-
03:23 PM Bug #6157 (Closed): Enumerable::Lazy#select does not handle multiple yield arguments
- When the #each method yields more than one argument, Enumerable::Lazy#select only accepts the first argument, e.g.:
class MultiYield
include Enumerable ... -
03:30 PM Revision 2cab78a9 (git): remove a trailing space [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:20 PM Revision 9a4c2a98 (git): * 2012-03-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:20 PM Revision 25755e38 (git): remove a trailing space
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:19 PM Bug #6155 (Assigned): Enumerable::Lazy#flat_map raises an exception when an element does not respond to #each
-
03:19 PM Bug #6155: Enumerable::Lazy#flat_map raises an exception when an element does not respond to #each
- Hello,
Dan Kubb wrote:
> The following statement will raise "NoMethodError: undefined method `each' for 1:Fixnum":
> ...
I doubt that this behavior of Enumerable#flat_map is reasonable.
flat_map is designed to concatenate multiple ... -
02:53 PM Bug #6155 (Closed): Enumerable::Lazy#flat_map raises an exception when an element does not respond to #each
- The following statement will raise "NoMethodError: undefined method `each' for 1:Fixnum":
[1, 2, 3].lazy.flat_map { |n| n }.to_a
It appears as if Enumerable::Lazy#flat_map is calling #each on every element, regardless of whether ... -
02:42 PM Bug #5544: Lookup scope for class variables in class_eval'd procs changed in 1.9.3
- Joshua Ballanco wrote:
> While I prefer the behavior in 1.9.3 (it is more consistent with constant lookup rules), the inconsistency between 1.9.2 and 1.9.3 is unsettling.
It is intended, so I've fixed the documentation of class_eval.... -
02:38 PM Bug #5544 (Closed): Lookup scope for class variables in class_eval'd procs changed in 1.9.3
- This issue was solved with changeset r35057.
Joshua, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_eval.c (rb_mod_module_eval): fix the documentation of
cl... -
02:33 PM Bug #5777: class_eval/module_eval works differently when given a string than when given a block in 1.9.2 and 1.9.3
- George MacKerron wrote:
> Yehuda, thanks for the response. I understand that the lookup rules were changed between 1.9.1 and 1.9.2 -- that's not the issue I'm raising.
> ...
It is intended behavior, because a block closes the environme... -
02:28 PM Bug #5777 (Closed): class_eval/module_eval works differently when given a string than when given a block in 1.9.2 and 1.9.3
- This issue was solved with changeset r35056.
George, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_eval.c (rb_mod_module_eval): fix the documentation of
cl... -
02:23 PM Bug #5570: Encoding of environment variables on Windows
- On Thu, Mar 15, 2012 at 05:16, Nikolai Weibull <now@bitwi.se> wrote:
> On Thu, Mar 15, 2012 at 02:51, U.Nakamura <usa@garbagecollect.jp> wrote:
>> Hello,
>>
>> In message "[ruby-core:43237] [ruby-trunk - Bug #5570][Feedback] Encodin... -
12:46 PM Bug #5570 (Closed): Encoding of environment variables on Windows
- This issue was solved with changeset r35030.
Nikolai, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* win32/win32.c, include/ruby/win32.h (rb_w32_ugetenv): new AP... -
02:23 PM Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
- On Friday, 16 Mar 2012 at 1:13 PM, Yukihiro Matsumoto wrote:
> Hi,
>
> In message "Re: [ruby-core:43310] [ruby-trunk - Feature #5008] Equal
> rights for Hash (like Array, String, Integer, Float)" on Fri, 16 Mar
> 2012 02:58:... -
02:19 PM Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
- "Repeating myself, unlike other classes in the table, Hash does not have "natural" conversion from set of values, so that I don't think it's worth provide to_h method."
What does that even mean?
From a practical vantage, I use #to_... -
01:23 PM Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
- Hi,
In message "Re: [ruby-core:43310] [ruby-trunk - Feature #5008] Equal rights for Hash (like Array, String, Integer, Float)"
on Fri, 16 Mar 2012 02:58:04 +0900, Suraj Kurapati <sunaku@gmail.com> writes:
|Request #3131 ... -
12:18 PM Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
- I approve `to_h` as explicit conversion to a Hash.
It should be created and implemented for NilClass, Hash, Enumerable, Struct, OpenStruct.
It would also pave the way for more generic hash splat if the proposal is accepted (see [ru... -
02:58 AM Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
- =begin
Request #3131 was fulfilled, so here is the updated feature matrix:
| | Kernel | Implicit | Explicit | NilClass |
| Class | method | conversion | conversion | conversion |
| --------- | ... -
02:12 PM Bug #5616 (Closed): * /lib/net/imap.rb exception in IMAP.new when get_response returns nil
- This issue was solved with changeset r35055.
Edsard, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/imap.rb (initialize): raise Net::IMAP::Error when the... -
01:56 PM Bug #5620 (Closed): (Net::IMAP::ResponseParseError) unexpected token LBRA (expected SPACE)
- This issue was solved with changeset r35054.
art , thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/imap.rb (rfc822_text): ignore [] after RFC822.
[ruby-... -
01:06 PM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- Related: http://bugs.ruby-lang.org/issues/6154
-
01:05 PM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
- I should have mentioned that JRuby has been running this way for a while (on master) and we have had no reports of incompatibility. The concrete subclass is_a EAGAIN and is_a WaitReadable, so all typical exception-handling patterns work ...
-
01:02 PM Feature #6154 (Closed): Eliminate extending WaitReadable/Writable at runtime
- The nonblocking IO operations started extending WaitReadable or WaitWritable into the Errno::EAGAIN instance some time during the 1.9 series. This has a rather high cost, since a singleton class must be created and the global method cach...
-
12:42 PM Bug #6151: ArgumentError of lambda shows wrong location
- The reason it raises an error is that instance_eval yields one argument (the receiver), and lambdas are strict about arity -- see #2476.
-
12:30 PM Bug #6151 (Closed): ArgumentError of lambda shows wrong location
- fixed in r35051-r35053.
-
11:59 AM Bug #6151: ArgumentError of lambda shows wrong location
- You need to indent with spaces, before tabs.
-
06:13 AM Bug #6151: ArgumentError of lambda shows wrong location
- That's fun, go to report a bug in Ruby and hit a bug in Ruby's Bug tracker.
Try again, this time with no RD crap.
Given:
#
class BlockParser < BasicObject
def initialize(data={}, &block)
@data = ... -
06:08 AM Bug #6151 (Closed): ArgumentError of lambda shows wrong location
- =begin
Perhaps there is a reason, but it sure seems like a bug to me. Given this simple class:
#
class BlockParser < BasicObject
def initialize(data={}, &block)
@data = data
instance_eval... -
12:07 PM Bug #6142: Enumerable::Lazy#zip doesn't rewind internal enumerators
- Thomas Sawyer wrote:
> A touch OT, but is Brian Candler being involved in the development of this? I don't know of anyone who has discussed and worked on this topic more over the years than Brian and I think it would be most prudent to ... -
12:03 PM Bug #6142: Enumerable::Lazy#zip doesn't rewind internal enumerators
- Innokenty Mikhailov wrote:
> a = (1..3).lazy.zip('a'..'z')
> ...
I agree that the current behavior is confusing, and the attached patch fixes it in the above case, but the patch cannot fix it in the following case:
a = (1..3).la... -
11:25 AM Bug #6152 (Closed): Enumerator::Lazy#take
- Nobuhiro IMAI wrote:
> 以下はテストにある Step クラスですが、
(snip)
> ...
正しくないですね。takeの方のバグだったので修正しました。
-
09:13 AM Bug #6152 (Closed): Enumerator::Lazy#take
- =begin
以下はテストにある Step クラスですが、
class Step
include Enumerable
attr_reader :current, :args
def initialize(enum)
@enum = enum
@current = nil
@args = nil
end
def each(*args)
@args = args
... -
11:06 AM Revision ba20fe62 (git): * string.c (trnext): should advance char-wise.
- [ruby-core:43335][Bug #6156]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:42 AM Revision 7af3e9f0 (git): fix unreachable warning line number
- * parse.y (block_append_gen): fix unreachable warning line number.
should warn at the code, not jump.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:38 AM Revision be2dc443 (git): fix typo
- * test/ruby/test_module.rb (test_method_redefinition): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:38 AM Revision 2b906bf2 (git): verbose_warning
- * test/ruby/envutil.rb (verbose_warning): should not hide execptions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:38 AM Revision d19e5328 (git): suppress warning.
- * test/ruby/envutil.rb: suppress warnings.
* test/ruby/test_exception.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:38 AM Revision 36ada1b3 (git): fix indent
- * test/ruby/test_exception.rb (test_exception): fix indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:38 AM Revision 9faa9109 (git): Tempfile#open
- * test/ruby/test_exception.rb (test_systemexit_new,
test_exception_in_exception_equal): use Tempfile#open.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:38 AM Revision 62cdd6e6 (git): fix argument order
- * test/ruby/test_parse.rb (test_void_expr_stmts_value): expected value
comes first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:38 AM Revision a87f0aa0 (git): bug number
- * test/ruby/test_syntax.rb (test_keyword_rest): give the bug number to assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:33 AM Revision 19451891 (git): * enum.c (enum_take): allocate buffer array before iteration, as well
- as enum_first did.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:02 AM Revision a920c29c (git): * enum.c (enum_first): remove duplication.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:45 AM Revision a157c85a (git): * load.c (ruby_init_ext): don't free the given pointer itself.
- It is not guaranteed even that the pointer is on heap.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:38 AM Revision 58d1b85c (git): * vm_eval.c (rb_mod_module_eval): fix the documentation of
- class_eval to mention class variable lookup. [ruby-core:40649]
[Bug #5544]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:28 AM Revision a377ef5e (git): * vm_eval.c (rb_mod_module_eval): fix the documentation of
- class_eval to mention constant lookup. [ruby-core:41718]
[Bug #5777]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:12 AM Revision 6853b44a (git): * lib/net/imap.rb (initialize): raise Net::IMAP::Error when the
- connection is closed without a greeting response.
[ruby-core:40938] [Bug #5616]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:56 AM Revision ed07df5a (git): * lib/net/imap.rb (rfc822_text): ignore [] after RFC822.
- [ruby-core:40945] [Bug #5620]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:34 AM Feature #6150 (Rejected): add Enumerable#grep_v
- Please add a grep_v() method to Enumerable that behaves like the opposite of grep().
For example, if Enumerable#grep() was implemented like this:
module Enumerable
def grep pattern
select {|x| pattern =~ x }
end
end
... -
03:27 AM Feature #5422: File.fnmatch != Dir.glob # {no,sets}
- What if we pass a File::FNM_EXTGLOB flag to the File.fnmatch methods?
File.fnmatch? '{.g,t}*', '.gem', File::FNM_EXTGLOB
The name "extglob" comes from the Bash/Zsh option for extended globbing. -
03:15 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
- Hello Steve,
I'm glad my patch fixed the problem for you. :)
Regarding what changed in Ruby 1.9 to cause this problem, see this earlier response:
https://bugs.ruby-lang.org/issues/2294#note-3
And to really understand the probl... -
03:09 AM Revision 5308538b (git): * ChangeLog: fix typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:00 AM Revision 817eb7d1 (git): * vm_insnhelper.c (argument_error): use line number at the beginning
- of lambda, not the first code ob its body.
[ruby-core:43314][Bug #6151]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:00 AM Revision e2ca7837 (git): * iseq.c (rb_iseq_first_lineno): constified.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:29 AM Feature #1122: request for: Object#try - > How about just `respond` ?
>
> foo.respond(:bar)
I like it.
-r -
02:24 AM Feature #1122: request for: Object#try
- How about 'can'?
user.can(:talk)
Just my two cents.
-
12:26 AM Feature #1122: request for: Object#try
- How about just `respond` ?
foo.respond(:bar)
And really, there's no reason it can't support delegation style *too*.
foo.respond.bar
This later form will be slower of course because it has to create an intermediate del... -
02:22 AM Revision 29f73009 (git): * enumerator.c (lazy_take): don't enumerate an extra value.
- [ruby-dev:45370] [Bug #6152]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:43 AM Bug #6144: regexec may allocate extra memory?
- > ただ、なぜわざわざ一度 char* 型の変数に代入しているのかはよく分かりません。
あ、stk_alloc の計算のために char* 型でなければならないのを見落としていました。 -
12:36 AM Bug #6144: regexec may allocate extra memory?
- alloc_addr は、その後 OnigStackIndex* にキャストされて、OnigStackIndex の配列として使用されています。
OnigStackIndex は intptr_t の typedef ですので、xalloca で割り当てるサイズは合っています。
ただ、なぜわざわざ一度 char* 型の変数に代入しているのかはよく分かりません。
alloc_addr = (OnigStackIndex* )xalloca(sizeof(On... -
12:21 AM Bug #6144 (Assigned): regexec may allocate extra memory?
- うーん、何か変えるとしたら、以下のような感じですかねぇ。
diff --git a/regexec.c b/regexec.c
index 2587cd9..9e31c71 100644
--- a/regexec.c
+++ b/regexec.c
@@ -446,16 +446,16 @@ onig_region_copy(OnigRegion* to, OnigRegion* from)
#define STACK_INIT(alloc_ad...
03/15/2012
-
11:30 PM Bug #6143: Onigmo allows broken regexp: /(?(x.)/
- Onigmoのmasterブランチには修正を入れました。
https://github.com/k-takata/Onigmo/commit/35f530676970e42b83b5d6789dd5820101e430d7
現在のOnigmoは、条件式の条件には番号または名前による後方参照しか使えないのですが、それ以外のものをエラーではじいていませんでした。 -
09:30 PM Revision a1f4163d (git): * enumerator.c (lazy_zip_func): variadic argument needs explicit cast
- on the platforms where VALUE is longer than int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:29 PM Revision 641e9e7b (git): * enumerator.c (lazy_init_iterator): no need to check overflow twice.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:57 PM Bug #6107: Documentation Abbrev (stdlib) confusing
- Patch to fix this on trunk.
- 08:53 PM Revision 25ac2aaf (git): * 2012-03-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:53 PM Revision 5e726766 (git): * enumerator.c (lazy_init_iterator): Fix type error (int vs long).
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:25 PM Feature #1122 (Rejected): request for: Object#try
- Matz still hate "try", so I'll close this ticket.
Please reopen this ticket if you have good name which convince matz.
Thanks. -
05:53 PM Feature #6070 (Rejected): The scope of for loop variables
- Koichi Sasada wrote:
> (2012/03/05 16:10), Shugo Maeda wrote:
> ...
Matz has the same opinion, so I'll close this ticket.
- 05:16 PM Revision 815d88b5 (git): * 2012-03-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:16 PM Revision a8182419 (git): * version.h: Increase patch level [Issue 6148]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:53 PM Bug #5486: rb_stat() doesn’t respect input encoding
- On Thu, Mar 15, 2012 at 05:24, Nikolai Weibull <now@bitwi.se> wrote:
> 2012/3/15 U.Nakamura <usa@garbagecollect.jp>:
>> Hello,
>>
>> In message "[ruby-core:43260] Re: [ruby-core:43236] [ruby-trunk - Bug #5486][Feedback] rb_stat() do... -
04:43 PM Bug #5486 (Closed): rb_stat() doesn’t respect input encoding
-
02:59 PM Bug #5486: rb_stat() doesn’t respect input encoding
- 2012/3/15 Trevor Wennblom <trevor@well.com>:
> try compiling an updated version of trunk from this repository:
> svn co http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_3
It is ruby_1_9_3 branch, not trunk.
For trunk,
svn ... -
02:23 PM Bug #5486: rb_stat() doesn’t respect input encoding - On 3/14/12 11:24 PM, Nikolai Weibull wrote:
> 2012/3/15 U.Nakamura<usa@garbagecollect.jp>:
>> Hello,
>>
>> In message "[ruby-core:43260] Re: [ruby-core:43236] [ruby-trunk - Bug #5486][Feedback] rb_stat() doesn’t respect input en... -
01:29 PM Bug #5486: rb_stat() doesn’t respect input encoding
- 2012/3/15 U.Nakamura <usa@garbagecollect.jp>:
> Hello,
>
> In message "[ruby-core:43260] Re: [ruby-core:43236] [ruby-trunk - Bug #5486][Feedback] rb_stat() doesn’t respect input encoding"
> on Mar.13,2012 18:03:04, <now@bitwi.se>... -
04:53 PM Bug #6148 (Closed): ruby_1_9_3 revision conflict
- Generally, people who want to backport should use tool/merger.rb.
It increment patch level. -
06:11 AM Bug #6148: ruby_1_9_3 revision conflict
- For backport commits, yes. I also believe rdoc-only clarifications are important and worthy of backporting.
IMO it's not a good thing to have the same A.B.Cpxyz revision available at two different points in history, especially on rele... -
04:54 AM Bug #6148: ruby_1_9_3 revision conflict
- This is because I backported a small documentation change.
Should the version info be changed in those cases too?
I'm assuming it's ok to backport rdoc changes only, although I see that there was no reply to Eric Hodel's request [r... -
04:47 AM Bug #6148 (Closed): ruby_1_9_3 revision conflict
- Please remember to update the version info when backporting. Currently there are two 1.9.3p163's that can be built from ruby_1_9_3:
ruby 1.9.3p163 (2012-03-06 revision 34932) [i386-mingw32]
ruby 1.9.3p163 (2012-03-14 revision 350... -
04:23 PM Bug #6146 (Closed): three possible bugs by nobu
- r35033,r35034,r35035
-
04:15 PM Bug #6149 (Third Party's Issue): Object#tap does not return the object it is called on in some cases
-
03:06 PM Bug #6149 (Rejected): Object#tap does not return the object it is called on in some cases
-
01:11 PM Bug #6149: Object#tap does not return the object it is called on in some cases
- I see that now. I'm going to close this.
-
01:06 PM Bug #6149: Object#tap does not return the object it is called on in some cases
- HTTParty::Response inherits from BasicObject, which doesn't define tap. So the tap method you are calling is provided by HTTParty, not by Ruby core.
-
12:35 PM Bug #6149 (Third Party's Issue): Object#tap does not return the object it is called on in some cases
- # gem install httparty
# then in an irb console enter :
require 'httparty'
class Foo
include HTTParty
base_uri 'http://example.com'
end
Foo.get('/').class # => HTTParty::Response
Foo.get('/').tap {|x| }.class # => String # ... -
02:20 PM Revision 2baeb782 (git): * enum.c (rb_enum_values_pack): rename from enum_values_pack, and
- remove static.
* enumerator.c (lazy_init_iterator, lazy_init_yielder,
lazy_select_func, lazy_reject_func, lazy_grep_func): handle
multiple values correctly.
* enumerator.c (lazy_grep): change the behavior when a block is
given, t... -
01:23 PM Bug #5570: Encoding of environment variables on Windows
- On Thu, Mar 15, 2012 at 02:51, U.Nakamura <usa@garbagecollect.jp> wrote:
> Hello,
>
> In message "[ruby-core:43237] [ruby-trunk - Bug #5570][Feedback] Encoding of environment variables on Windows"
> on Mar.12,2012 06:44:04, <nobu... -
10:14 AM Revision d135138f (git): * enumerator.c (lazy_zip): rescue StopIteration returned by
- Enumerator#next.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:25 AM Revision 032861ad (git): * enumerator.c (lazy_zip, lazy_cycle): Enumerator::Lazy#{zip,cycle}
- should be eager when a block is given, to be consistent with
Enumerable#{zip,cycle}.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:47 AM Revision ff1f6107 (git): * enumerator.c (InitVM_Enumerator): renamed Enumerable::Lazy to
- Enumerator::Lazy.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:38 AM Revision 4a1db362 (git): * enumerator.c (enumerator_lazy): added cycle to the documentation.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:37 AM Revision bf87ec4e (git): * parse.y (parser_yylex): fix warning line number.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:24 AM Revision b30c4aa8 (git): * test/ruby/test_m17n.rb (assert_warning): use common method.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:19 AM Revision fbdce669 (git): * enumerator.c (lazy_cycle): check argument number overflow before
- creating temporary array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:16 AM Bug #6085 (Closed): Treatment of Wrong Number of Arguments
- Hi,
Martin Dürst wrote:
> While we are at it, can we also change the extremely cryptic "for".
> ...
I agree the message could be improved. I'm closing this issue, let's discuss an improved wording in #6086, which also asks the ques... -
06:10 AM Bug #6085: Treatment of Wrong Number of Arguments
- Hi,
Yusuke Endoh wrote:
> You know, making parsing easy is not the purpose or the right way.
> ...
Agreed.
> Looks good to me.
> ...
Thank you for reviewing my patch!
> I noticed some minor issues below.
> ...
Ok, fixed.
... -
06:04 AM Revision a258d6f4 (git): * util.c (ruby_strtod): no need to check same digit for hexdigit
- twice. [ruby-dev:45363][Bug #6146]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:04 AM Revision 375aedbf (git): * parse.y (sym_check_asciionly): check ascii compatibility before
- scanning for code range.
* parse.y (intern_str): set to us-ascii if ascii only.
[ruby-dev:45363][Bug #6146]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:03 AM Revision 36f6ce40 (git): * file.c (ruby_enc_find_basename): allow NULL as alllen.
- [ruby-dev:45363][Bug #6146]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:49 AM Revision 65fcaf41 (git): * string.c (rb_str_conv_enc_opts): default to original encoding.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:49 AM Revision f59caa29 (git): * hash.c (env_str_new, rb_f_getenv, env_fetch): use rb_str_conv_enc()
- instead of rb_str_encode() to simplify the code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:57 AM Revision fcaee4bd (git): * win32/win32.c, include/ruby/win32.h (rb_w32_ugetenv): new API to
- accept and to return UTF-8 strings.
* win32/win32.c (rb_w32_getenv): follow above change.
* win32/win32.c (rb_w32_get_environ): returns UTF-8 environment area.
* hash.c (env_str_new, rb_f_getenv, env_fetch): follow above changes.
[B... -
03:31 AM Revision c6671f10 (git): * adjust style.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:00 AM Revision d18dc746 (git): * enumerator.c (lazy_cycle): add Enumerable::Lazy#cycle.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:39 AM Revision c037f1f6 (git): * adjust style.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:31 AM Revision 9f9201b8 (git): * test/ruby/test_arity.rb (TestArity#err_mess): use assert_raise.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/14/2012
-
10:31 PM Bug #6142: Enumerable::Lazy#zip doesn't rewind internal enumerators
- A touch OT, but is Brian Candler being involved in the development of this? I don't know of anyone who has discussed and worked on this topic more over the years than Brian and I think it would be most prudent to seek his consul on these...
-
06:25 PM Bug #6142 (Closed): Enumerable::Lazy#zip doesn't rewind internal enumerators
- All enumerables passed to Enumerable::Lazy#zip are converted into lazy enumerators.
When result evaluated - ruby iterates over this enumerators while calling #next to retrieve the next value.
But those enumerators are not rewinded:
... -
10:12 PM Revision 724e683e (git): * vm_eval.c (check_funcall): Raise ArgumentError if respond_to?
- requires more than three arguments. [Bug #6000]
* test/ruby/test_object.rb (class TestObject): Test for respond_to?
requiring more than three arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35025 b2dd03c... -
09:23 PM Bug #6085: Treatment of Wrong Number of Arguments
- Let's focus on error message consistency of WNA :-)
We'd better discuss about anything else in another thread.
Stretching a story will make the whole proposal stall.
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:04 PM Bug #6085: Treatment of Wrong Number of Arguments
- Martin Dürst wrote:
> While we are at it, can we also change the extremely cryptic "for".
> ...
I second this.
When I was new to Ruby years ago, I struggled with this "for". I'm not a native English speaker and it always kept me wonder... -
05:53 PM Bug #6085: Treatment of Wrong Number of Arguments
- While we are at it, can we also change the extremely cryptic "for".
Whenever I see an error message of the form "wrong number of arguments
(X for Y)". Is it X arguments given for Y arguments expected, or X
arguments expected fo... - 09:10 PM Revision 73163024 (git): * include/ruby/intern.h: Add rb_check_arity, rb_error_arity [#6085]
- * array.c: Use rb_check_arity / rb_error_arity
* class.c: ditto
* enumerator.c: ditto
* eval.c: ditto
* file.c: ditto
* hash.c: ditto
* numeric.c: ditto
* proc.c: ditto
* process.c: ditto
* random.c: ditto
* re.c: ditto
* sign... - 09:10 PM Revision 35c356ea (git): * vm_insnhelper.c: improve number of arguments error in case of
- optional parameters (issue #6085)
* include/ruby/intern.h: define UNLIMITED_ARGUMENTS
* test/ruby/test_arity.rb: test for above
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:07 PM Bug #6147 (Closed): should we check a result returned by fcntl?
- たぶん kosaki さん (それともささださん?)
thread_pthread.c の rb_thread_create_timer_thread で
fcntl(timer_thread_pipe[1], F_SETFL, oflags);
の返り値チェックしなくていいの?ほかの fcntl の呼び出しでは
全部チェックしてるよ?って Coverity Scan さんが言ってます。
ユーザランドの開発者的にはここで fcntl で... -
08:00 PM Bug #6146 (Closed): three possible bugs by nobu
- なかださん
なかださんの変更が関わってそうな箇所で Coverity Scan が教えて
くれたことを 3 つほど送ります。
1 つめ。file.c について、r34372 の変更で
3566 end = name + *alllen;
という *alllen のデリファレンスがされるようになりましたが、その
あとに
3615 if (alllen)
3616 *alllen = n;
とあるよう... -
07:51 PM Bug #6141: rails-3.2.2+1.9.3p125 の環境で SEGV が発生
- =begin
Extracted backtrace from the dump;
-- C level backtrace information -------------------------------------------
/var/lib/jenkins/.rvm/rubies/ruby-1.9.3-p125/lib/libruby.so.1.9(+0x17ce58) [0x7fa1e47c3e58] vm_dump.c:796
/va... -
06:05 PM Bug #6141 (Rejected): rails-3.2.2+1.9.3p125 の環境で SEGV が発生
- 表題の環境で selenium のテストを実行している最中に net/http の先の何処かで SEGV が発生しました。
スタックトレースを添付します。 -
07:48 PM Bug #6145 (Closed): two possible bugs in Onigmo
- naruse さん、k-takata さん
遠藤です。
Coverity Scan さんが見つけてくれたバグの可能性 2 つです。
(ただし false positive の可能性は高い)
1 つめ。regcomp.c の compile_length_enclose_node という関数で
1222 if (node->target) {
1223 tlen = compile_length_tree(node->targe... -
07:44 PM Bug #6144 (Closed): regexec may allocate extra memory?
- naruse さん、k-takata さん
遠藤です。
多分鬼車の問題なんですが、regexec.c に
alloc_addr = (char* )xalloca(sizeof(char*) * (ptr_num));\
という行があります。(#define STACK_INIT 内)
前後見てませんが、
alloc_addr = (char* )xalloca(sizeof(char) * (ptr_num));\
または
... -
07:40 PM Bug #6143 (Closed): Onigmo allows broken regexp: /(?(x.)/
- naruse さん、k-takata さん
遠藤です。
Onigmo の条件式正規表現のパースでエラーチェックが足りないようです。
$ ./miniruby -e 'p /(?(x.)/'
/(?(x.)/
マッチさせると、未初期化変数を使って分岐とかしてしまうようです。
$ valgrind ./miniruby -e '"x"[/(?(x)/]'
(略)
==25802== Conditional jump or move depen... -
07:17 PM Feature #5607: Inconsistent reaction in Range of String
- Yui NARUSE wrote:
> What is your plan?
Short version: Make it work the way Matz described it in http://bugs.ruby-lang.org/issues/5607#note-7.
I haven't yet looked at the code, but Benoit provides some good pointers. I hope to ha... -
05:30 PM Bug #6124: remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby) - Here is another issue:
If a gem package wants to depend on a gemified piece of standard library, it should also have it in its gemspec, right? As Vit has already mentioned, we had completely unbundled the fake-gems, but we are getting a... -
05:29 PM Bug #6140 (Rejected): test
-
05:28 PM Bug #6140 (Rejected): test
- Redmineを1.3.2にしたのでテスト
- 04:00 PM Revision 74bdcfe8 (git): * 2012-03-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:00 PM Revision 552adf8c (git): * enumerator.c (enumerable_lazy): fix the documentation of
- Enumerable#lazy.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:52 PM Revision 0562e3ff (git): * ChangeLog: fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:04 PM Revision c8860b50 (git): * enumerator.c (lazy_init_iterator): break when Qundef is returned
- to make obj.drop(3).take(2) work properly.
* enumerator.c (lazy_take_while): add Enumerable::Lazy#take_while.
* enumerator.c (lazy_drop): add Enumerable::Lazy#drop.
* enumerator.c (lazy_drop_while): add Enumerable::Lazy#drop_while.
*... -
10:29 AM Revision 0b35e9e5 (git): * enumerator.c (lazy_take): add Enumerable::Lazy#take.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:41 AM Revision 0d94434e (git): * enumerator.c: use long for array indices.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:26 AM Revision 449c8a2b (git): * enumerator.c: moved the comment of StopIteration.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:56 AM Revision cc3d03b1 (git): * numeric.c (flodivmod): must through the same pass if HAVE_FMOD or not.
- this is a bugfix of r35013.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:42 AM Revision 005953a1 (git): * test/test_tmpdir.rb (TestTmpdir#test_world_writable): skip on Windows.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:10 AM Revision 4c2e2d8b (git): * numeric.c: fix flodivmod for cornercases [Bug #6044]
- add ruby_float_mod
* insns.def (opt_mod): use ruby_float_mod
* internal.h: declare ruby_float_mod
* test/ruby/test_float.rb: tests for above
* test/ruby/envutil.rb: create helper assert_is_minus_zero
git-svn-id: svn+ssh://ci.ruby-la... -
05:16 AM Bug #6137: openssl: hardcoded MD5 use leads to SSL server failure in FIPS mode
- Oh, thanks for the hint! Yes, now it makes sense why MD5 was used. I still think we don't need a crypto-strength hash just to simply bound a value by length, especially if it's not critical to security otherwise. We could use Object#hash...
-
03:58 AM Bug #6137: openssl: hardcoded MD5 use leads to SSL server failure in FIPS mode
- SHA-1 would work too - for a few years, until it's cryptographically broken enough to no longer be FIPS approved, like MD5 is. But if you could do it without hashing, that would quash the problem forever.
Ah - here's why to hash it: h... -
02:25 AM Bug #6137 (Assigned): openssl: hardcoded MD5 use leads to SSL server failure in FIPS mode
- Thank you for your detailed analysis! Judging from OpenSSL's documentation [1] the parameter can potentially be any binary data and should not be critical for the overall security, so it might be possible to just use no hash at all. I'll...
-
12:43 AM Bug #6137 (Closed): openssl: hardcoded MD5 use leads to SSL server failure in FIPS mode
- =begin
I've got a host configured to be compliant with ((<U.S. Federal Information Processing Standard 140-2|URL:http://csrc.nist.gov/publications/fips/fips140-2/fips1402.pdf>)) (FIPS 140-2). On this host, the OpenSSL library refuses to... - 04:49 AM Revision 4bb729a2 (git): * 2012-03-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:49 AM Revision 45086d1b (git): merge revision(s) 35010:
- * variable.c: Simplify rdoc for remove_const [Bug #5354]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:48 AM Revision 092db4dc (git): * variable.c: Simplify rdoc for remove_const [Bug #5354]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:29 AM Revision 4bce9fc7 (git): more GCable
- * test/test_weakref.rb (make_weakref): more GCable, probably.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:44 AM Bug #6134: Ruby crashes when calling OpenSSL::PKCS7.new with invalid PKCS7 data
- Alright, so it is caused by something in 1.9.3. Thanks, that already helps a lot!
-
01:44 AM Revision cb1d2908 (git): * enumerator.c (lazy_grep_func): should use === instead of =~, as
- well as Enumerable#grep
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:35 AM Revision 8f30190d (git): InitVM_Enumerator
- * enumerator.c (InitVM_Enumerator): split from Init_Enumerator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:35 AM Revision 8cdfe403 (git): Init_Enumerator
- * enumerator.c (Init_Enumerator): initialize method IDs first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:35 AM Revision 48f9f0bd (git): method_ids
- * template/id.h.tmpl (method_ids): define at once predefined method IDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/13/2012
-
11:16 PM Revision 6b452591 (git): * enumerator.c (lazy_zip_func): use each for non-Array objects.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:08 PM Revision 22434473 (git): * enumerator.c (lazy_zip): add Enumerable::Lazy#flat_map.
- * enumerator.c (lazy_lazy): just returns self.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 10:56 PM Revision f24d9fcd (git): * ext/date/date_core.c (datetime_s_now): [ruby-core:43256].
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:34 PM Bug #6134: Ruby crashes when calling OpenSSL::PKCS7.new with invalid PKCS7 data
- I don't believe OpenSSL has been upgraded, but, running "openssl version" gives me:
OpenSSL 0.9.8r 8 Feb 2011
I reinstalled 1.9.2-p318 (and 1.9.2-p180) and everything worked as expected (same as before - no segfault). I then reinstalle... -
05:35 AM Bug #6134 (Assigned): Ruby crashes when calling OpenSSL::PKCS7.new with invalid PKCS7 data
- Thank you for reporting this issue. Could you please verify that your (native) OpenSSL library has not been upgraded in the meantime? If it was, could you please additionally check if the problem still does not occur when using a re-inst...
-
01:44 AM Bug #6134 (Closed): Ruby crashes when calling OpenSSL::PKCS7.new with invalid PKCS7 data
- Reproducing steps:
Run the following script in 1.9.3-p125 (it is attached to the issue as well)
require 'openssl'
contents = File.read(__FILE__)
begin
OpenSSL::PKCS7.new(contents)
puts "OK"
rescue => e
puts "Error!"
p... -
10:00 PM Bug #5989 (Closed): Keyword spash is syntax error when there are no explicit keyword arguments
- This issue was solved with changeset r34999.
Yura, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* compile.c (iseq_set_arguments): keyword rest arg without keywor... -
09:59 PM Bug #5989 (Open): Keyword spash is syntax error when there are no explicit keyword arguments
-
03:17 PM Bug #5989 (Closed): Keyword spash is syntax error when there are no explicit keyword arguments
- This issue was solved with changeset r34998.
Yura, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (block_param, f_args): add rules for the case arguments... -
08:53 PM Bug #6085: Treatment of Wrong Number of Arguments
- Hello,
2012/3/13, Marc-Andre Lafortune <ruby-core@marc-andre.ca>:
> Eric Hodel wrote:
>> Much like NameError#name and LoadError#path, why not
>> ArgumentError#expected and ArgumentError#given? Also,
>> ArgumentError#method... -
08:53 PM Bug #6085: Treatment of Wrong Number of Arguments
- Hello,
> On Mon, Mar 12, 2012 at 10:31 AM, Yui NARUSE <naruse@airemix.jp> wrote:
>> Use one of follwing:
>> * https://github.com/marcandre/ruby/compare/rb_arity_check
>> * https://github.com/marcandre/ruby/compare/rb_arity_ch... -
12:05 PM Bug #6085: Treatment of Wrong Number of Arguments
- Hi,
Eric Hodel wrote:
> Much like NameError#name and LoadError#path, why not ArgumentError#expected and ArgumentError#given? Also, ArgumentError#method could return the method name called.
We could have something similar to that,... -
07:27 AM Bug #6085: Treatment of Wrong Number of Arguments
- Much like NameError#name and LoadError#path, why not ArgumentError#expected and ArgumentError#given? Also, ArgumentError#method could return the method name called.
This eliminates the need for parsing of the error message, but the n... -
05:58 AM Bug #6085: Treatment of Wrong Number of Arguments
- Hi,
On Mon, Mar 12, 2012 at 8:07 AM, Yusuke Endoh <mame@tsg.ne.jp> wrote:
> One concern: I'm afraid if this change affects people who parses
> ...
The error type is part of the language specs, but I feel like error messages are not ... -
06:23 PM Bug #5486: rb_stat() doesn’t respect input encoding
- On Sun, Mar 11, 2012 at 22:41, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
>
> Issue #5486 has been updated by Nobuyoshi Nakada.
>
> Category changed from core to M17N
> Status changed from Assigned to Feedback
> Priority c... - 03:26 PM Revision db68d5ba (git): * 2012-03-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:26 PM Revision 08d81f26 (git): fix ripper
- * parse.y (new_args_gen, new_args_tail_gen): fix ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:06 PM Bug #595 (Assigned): Fiber ignores ensure clause
-
01:03 PM Bug #5568 (Closed): IO#set_encoding ignores internal when the same as external only when specified as "ext:int"
- This issue was solved with changeset r34997.
Brian, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (io_encoding_set): always warn if external encoding and i... -
01:00 PM Revision 8fe3fb4c (git): * compile.c (iseq_set_arguments): keyword rest arg without keyword args.
- * node.c (dump_node): dump kw_rest_arg too.
* parse.y (block_param, f_arg): more kwrest patterns.
[ruby-core:42455][Bug #5989]
* parse.y (new_args_gen): no extra kw_rest_arg if no keyword rest arg.
git-svn-id: svn+ssh://ci.ruby-lang.... -
12:37 PM Bug #5350 (Closed): WeakRef で謎の NoMethodError
- This issue was solved with changeset r34995.
Makoto, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Bug #5350
* gc.c: add ObjectSpace::WeakMap. [ruby-dev:44565][B... -
11:15 AM Bug #4814 (Rejected): minitest 2.2.x and test/unit do not get along
- Rejecting because of no feedback and I can't reproduce in my environment.
(if this issue is still reproducible, please reopen) -
11:06 AM Bug #4434 (Feedback): make test-all "-j10000" のように大きな並列数を与えると異常終了
- r34968 の変更で IO.popen による worker プロセスの起動に失敗した時に
>ERROR: Failed to launch job process - Errno::EMFILE: Too many open files - ./miniruby
と表示されるようになったので make test-all TESTS="-j10000" で現在チケットに書いてあるような
分かりにくい異常終了の仕方にはなってないのですが問題無いでしょうか。... -
10:59 AM Bug #5238 (Closed): installation failure if --with-sitedir=no or --with-vendordir=no
- This issue was solved with changeset r34993.
Sakuro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* tool/rbinstall.rb (prepare): skip if basedir is not defined.
... -
09:25 AM Feature #6136 (Rejected): Add gpg signatures whenever releasing ruby source tarballs
- I was one of the unfortunate people quick enough to grab the buggy version of ruby that contained bug #6040 as announced here:
http://www.ruby-lang.org/en/news/2012/02/16/ruby-1-9-3-p125-is-released/
Someone notified me that the md5s... -
07:10 AM Bug #6132 (Rejected): Assignments don't happen correctly in "if" modifiers
- This is a feature of ruby.
Ruby parses left to right, so it see "lo" on the assignment side of the if. Since no local variable "lo" has been encountered yet it must be a method. Ruby then encounters the assignment to lo and creates ... -
06:17 AM Revision d6a977f6 (git): * parse.y (block_param, f_args): add rules for the case arguments
- begin with kwrest. [ruby-core:42455][Bug #5989]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:25 AM Bug #4421: [ext/openssl] Fix RSA public key encoding
- Nathaniel Talbott wrote:
> FYI, this does seem to break compatibility if you're using a fingerprint of the key for something, since (I just learned) key fingerprints are dependent on the format the key is stored in (since the fingerprin... -
01:32 AM Bug #4421: [ext/openssl] Fix RSA public key encoding
- FYI, this does seem to break compatibility if you're using a fingerprint of the key for something, since (I just learned) key fingerprints are dependent on the format the key is stored in (since the fingerprint is based on the MD5 of the...
-
04:03 AM Revision db83618d (git): * io.c (io_encoding_set): always warn if external encoding and internal
- encoding are identical. [ruby-core:40727] [Bug #5568]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:03 AM Revision 272d72ef (git): Fix error and show given message and match message.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:37 AM Revision df058ea0 (git): Bug #5350
- * gc.c: add ObjectSpace::WeakMap. [ruby-dev:44565][Bug #5350]
* lib/weakref.rb: use WeakMap instead of _id2ref.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:34 AM Revision 826cdd67 (git): assert_warn, assert_warning
- * test/ruby/envutil.rb (assert_warn): add optional message argument.
* test/ruby/envutil.rb (assert_warning): moved from test_io_m17n.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:59 AM Revision 7e82db2e (git): * tool/rbinstall.rb (prepare): skip if basedir is not defined.
- [ruby-core:39135][Bug #5238]
* tool/rbinstall.rb (CONFIG.[]): check for mandatory
configurations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:59 AM Revision 8a8936cb (git): re-configure
- * Makefile.in (reconfig, config.status): re-configure for version numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:35 AM Bug #5493 (Feedback): Commit r33357 breaks build on Debian/sparc
- I cannot reproduce it on sparc Solaris 10.
-
12:17 AM Feature #6133 (Assigned): SSLSocketをshutdownできない
- http://www.openssl.org/docs/ssl/SSL_shutdown.html
に対応するメソッドがないので、送信の終わりを送れません。ただし微妙にshutdown(2)とインターフェースが違ってます。
03/12/2012
-
11:52 PM Bug #6132 (Rejected): Assignments don't happen correctly in "if" modifiers
- This works:
if lo = 3
la = lo
end
but this does not:
(la = lo) if (lo = 3)
It raises "NameError: undefined local variable or method `lo' for main:Object." But if you look at the values afterwards you get lo -> 3, la -> nil. -
11:31 PM Bug #6085: Treatment of Wrong Number of Arguments
- Yusuke Endoh wrote:
> Hello, Marc-Andre
> ...
Use one of follwing:
* https://github.com/marcandre/ruby/compare/rb_arity_check
* https://github.com/marcandre/ruby/compare/rb_arity_check.diff
* https://github.com/marcandre/ruby/compar... -
09:23 PM Bug #6085: Treatment of Wrong Number of Arguments
- Hello, Marc-Andre
Sorry I was missing this ticket. Your proposal looks smart to me.
I'd like to try and review your patch, but unfortunately, I seem
to be too old to find the actual changes from github interface :-(
Could... -
11:07 PM Bug #6131 (Closed): Ctrl-C handler do not work from exec process (Windows)
- Hello,
Originally reported to TheCodeShop group: https://groups.google.com/forum/?fromgroups#!topic/thecodeshop/ZI9FY-RKYgs
The usage of "rails server" uses `exec` to spawn another process to run a server, and that process do not h... -
09:20 PM Bug #5493: Commit r33357 breaks build on Debian/sparc
- Hello,
I can't check this ticket because I have no sparc machine.
Goto-san, could you check it?
r33357 itself looks simple and benign. But it is also big
and tedious, so there may be a careless mistake.
--
Yusuke Endoh <mam... -
07:23 PM Bug #5567 (Closed): IO#set_encoding ignores one invalid encoding unless a second argument is passed
- This issue was solved with changeset r34986.
Brian, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* encoding.c (rb_find_encoding): new function find encoding from... -
04:53 PM Bug #5570: Encoding of environment variables on Windows
- On Sun, Mar 11, 2012 at 22:44, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
>
> Issue #5570 has been updated by Nobuyoshi Nakada.
>
> Status changed from Assigned to Feedback
> Target version set to 2.0.0
>
> Which codepage shoul... -
06:44 AM Bug #5570 (Feedback): Encoding of environment variables on Windows
- Which codepage should be used there, ACP or OEMCP?
-
12:10 AM Bug #5570: Encoding of environment variables on Windows
- Correct,
A example that reproduces the issue: -
12:05 AM Bug #5570 (Assigned): Encoding of environment variables on Windows
- Ah, you are saying "use Wide API".
-
03:17 PM Revision 7f199d12 (git): Add missing assert_warning.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:12 PM Revision 6c698654 (git): * 2012-03-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:12 PM Revision f0f777bc (git): * enumerator.c (enumerable_lazy): added the documenation of Enumerable#lazy.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:56 PM Bug #5847 (Closed): Old Ruby 1.8 state flag for yield node appears to be unused
- This issue was solved with changeset r34984.
Thomas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* node.h (NEW_YIELD), parse.y (new_yield_gen): array-values fla... -
01:49 PM Feature #6129: String#each_lineにおけるmemmem()の利用
- =begin
確認したい点があります。
* パラグラフモードでも効果があるか
* マルチバイト文字の途中にマッチした場合はどうなるか
また、追加されたコードが既存のコードとかなり重複しているように見えます。
重複を減らすのは難しいでしょうか。
=end -
12:54 PM Bug #5833 (Closed): [mingw] trivial patch for thread.c build warning
-
12:47 PM Bug #5829: /dl/test_cptr.rb Segmentation fault on Ruby 1.9.3 P0
- Seems like a bug in the test code.
-
12:44 PM Bug #5473 (Closed): Raise in method_missing causes infinite loop
- This issue was solved with changeset r34983.
Peter, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_method.c (Init_eval_method): copy basic methods to Exceptio... -
11:19 AM Revision b681457f (git): * lib/tmpdir.rb (Dir::tmpdir): test the current directory suitable for
- temporary directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:09 AM Revision 5e3009aa (git): * lib/fileutils.rb (fu_have_symlink?): specify TypeError for rescue
- clause.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:24 AM Bug #5374 (Feedback): Weird SecurityError with ruby1.9, File.stat/Dir.glob and $SAFE=1
- Does this happen with recent versions?
-
10:23 AM Revision 33ceea5c (git): * encoding.c (rb_find_encoding): new function find encoding from
- arbitrary object as a pointer to rb_encoding, and return NULL if
not found.
* io.c (io_encoding_set): just warn unsupported encodings, but not
exception. [ruby-core:40726] [Bug #5567]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr... -
10:03 AM Revision c60602ac (git): * vm_method.c (Init_eval_method): respond_to? and
- respond_to_missing? are public.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:21 AM Feature #6130 (Closed): inspect using to_s is pain
- Every time I define #to_s on a class I have to remember to also redefine #inspect. It's annoying and has led me to waste hours debugging b/c the errors that can occur from it often seem strange and unrelated.
I think #inspect should h... -
06:41 AM Bug #5486 (Feedback): rb_stat() doesn’t respect input encoding
- Does this issue still occur?
-
05:56 AM Revision c5feeb9a (git): * node.h (NEW_YIELD), parse.y (new_yield_gen): array-values flags
- has been already obsolete. patch by Thomas Enebo.
[ruby-core:41929][Bug #5847]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:44 AM Revision a2229db3 (git): * vm_method.c (Init_eval_method): copy basic methods to Exception.
- [ruby-core:40287][Bug #5473]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:13 AM Revision b19f3a8a (git): * eval_jump.c (rb_exec_end_proc): remember the latest exit status.
- [ruby-core:43173][Bug #5218]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:32 AM Revision 90b7ddb8 (git): Exclude json/add/complex.rb.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e