Project

General

Profile

Activity

From 05/18/2015 to 05/24/2015

05/24/2015

11:20 PM Feature #11177: DATAでEOF文字以降が読めない
Yusuke Endoh wrote:
> Windows で `__END__` 以降に EOF 文字 (`\x1A`) があったとき、それより先が読めないのは仕様でしょうか。
text modeでそうなるというのは当然仕様でしょう。
> ...
その時点ではもう読んじゃってますから。
> もちろん、Linux では先まで読めます。Windows でも、ソースコードをパイプで流し込んだ場合はなぜか読めます。
`\x1A`がEOFとみなされるの...
nobu (Nobuyoshi Nakada)
05:53 AM Feature #11177 (Open): DATAでEOF文字以降が読めない
遠藤です。
Windows で `__END__` 以降に EOF 文字 (`\x1A`) があったとき、それより先が読めないのは仕様でしょうか。
gen.rb:
puts "p DATA.read"
puts "__END__"
puts "foo\x1Abar"
以下のように実行すると再現します。
> ruby gen.rb > t.rb
> ruby t.rb
"foo"
...
mame (Yusuke Endoh)
09:35 PM Bug #11178 (Closed): possible bug: a thread killed when waiting on ConditionVariable locks the mutex again before real exit
Probably it's not a bug, but just a hidden behaviour. Please write your comments.
When a thread waits on ConditionVariable, it releases the mutex. And killing the thread during this state assumes no need to lock the mutex again becaus...
cvss (Kirill Vechera)
04:43 PM Bug #11173: inter class/module alias causes "no superclass method"
確かにおかしいですね。「似たような話」も含めて考えると混乱するので、いったん置いておくと、もとのプログラムはfooのスーパーをM0の親から探し始めて、C0#fooを見つけて欲しいような気もしますね。ただ、これは1.8でも同じ挙動をするので、なにか難しい問題があるのかもしれません。
mrubyで確認したら、あっちはaliasとsuperの関係が全然実装できてなかった。
Matz.
matz (Yukihiro Matsumoto)
03:49 PM Bug #10860 (Closed): tool/mdoc2man.rb doesn't handle man/rake.1 correctly
usa (Usaku NAKAMURA)
01:14 AM Bug #10860: tool/mdoc2man.rb doesn't handle man/rake.1 correctly
This can be closed, as rake.1 was removed recently. jeremyevans0 (Jeremy Evans)
03:41 PM Bug #11172: Windowsでmode: ab+の時に開いたファイルの内容が読めない
commitしてくださいませ。 usa (Usaku NAKAMURA)
03:33 PM Revision 42d06ac1 (git): * 2015-05-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:33 PM Revision 2e1835b6 (git): * numeric.c (Numeric#negative?): [DOC] Fix call-seq.
Patch by @yui-knk. [Fixes GH-908]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
02:20 AM Revision e28addcf (git): ruby.c: show_usage_line
* ruby.c (show_usage_line): extract function to print one usage
line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:16 AM Bug #11169 (Rejected): Symbol not found: _rb_str_new_static
nobu (Nobuyoshi Nakada)
01:29 AM Bug #11176 (Assigned): Hardcoded settings in REXML
Why is it a problem? nobu (Nobuyoshi Nakada)
12:37 AM Bug #11176 (Closed): Hardcoded settings in REXML
XMLDecl has hardcoded single qoutes (see here: https://bugs.ruby-lang.org/projects/ruby-trunk/repository/entry/lib/rexml/xmldecl.rb#L109). So it is impossible to set document-wide double quoting. tomasbedrich (Tomáš Bedřich)

05/23/2015

10:17 PM Bug #11169: Symbol not found: _rb_str_new_static
I figured out how to solve it. I ran 'gem pristine --all' 2 times and it worked! buihdk (Khoa Bui)
09:41 PM Bug #11169: Symbol not found: _rb_str_new_static
Nobuyoshi Nakada wrote:
> Seems you are running 2.0.0 with an extension library for 2.2.
> ...
My ruby version is 2.2.1
I am new to Ruby and Rails so any help would be greatly appreciated! :)
buihdk (Khoa Bui)
08:57 PM Bug #11169: Symbol not found: _rb_str_new_static
Nobuyoshi Nakada wrote:
> Seems you are running 2.0.0 with an extension library for 2.2.
> ...
My ruby version is 2.2.1
I am new to Ruby and Rails so any help would be greatly appreciated! :)
buihdk (Khoa Bui)
09:28 PM Bug #11175 (Closed): possible fibers memory leak or risky GC behavior
There's strong memory growth on mass Fiber creation/deletion.
Script to demonstrate the problem (on x86_64-linux):
~~~
loop {
10000.times.map { Fiber.new { } }
GC.start # not necessary, just to be sure
puts File.open('/proc...
cvss (Kirill Vechera)
09:16 PM Bug #11174 (Closed): threads memory leak
There's strong memory growth during intensive thread using.
Script to demonstrate the problem (on x86_64-linux):
~~~
loop {
10.times { 1000.times.map { Thread.new { } }.each(&:join) }
GC.start # not necessary, just to be sure...
cvss (Kirill Vechera)
08:15 PM Bug #11173: inter class/module alias causes "no superclass method"
似たような話なんですが、
```ruby
module M0
private
def foo
p M0
end
end
class C0
def foo
p C0
end
end
class C1 < C0
include M0
public :foo
end
module M0
remove_method :foo
end
C1.new.foo
```
...
ko1 (Koichi Sasada)
06:58 PM Bug #11173 (Closed): inter class/module alias causes "no superclass method"

```ruby
class C0
def foo
p :C0
end
end
module M0
def foo
p :M0
super
end
end
module M1
include M0
alias orig_foo foo
end
class C1 < C0
include M1
end
p C1.ancestors
C1.new.orig_fo...
ko1 (Koichi Sasada)
07:19 PM Bug #10991: SIGSEGV in Marshal.load
Backported into `ruby_2_2` branch at r50632. nagachika (Tomoyuki Chikanaga)
07:18 PM Revision 2e081760 (git): merge revision(s) 50057,50065: [Backport #10991]
* marshal.c (r_symreal): register symbol names as strings first so
that r_symlink always returns valid names.
[ruby-core:68587] [Bug #10991]
* marshal.c (r_ivar, r_object0): now need to intern symbol names.
...
nagachika (Tomoyuki Chikanaga)
06:54 PM Bug #11123: [PATCH] bsock_recmvsg_internal needs GC guard for control buffer
Backported into `ruby_2_2` branch at r50631. nagachika (Tomoyuki Chikanaga)
06:53 PM Revision 55849b02 (git): merge revision(s) 50449: [Backport #11123]
* ext/socket/ancdata.c (bsock_recvmsg_internal): GC guard
[Bug #11123]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
06:52 PM Bug #11113: Time ranges cannot be used in case statements in 1.9+ but they could in 1.8.7
Backported into `ruby_2_2` at r50630. nagachika (Tomoyuki Chikanaga)
06:52 PM Revision 3cc32181 (git): merge revision(s) 50421: [Backport #11113]
* range.c (linear_object_p, range_include): test if covered for
linear objects. [ruby-core:69052] [Bug #11113]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
06:43 PM Bug #11128: IMAP parsing issue wih body_ext_mpart
Backported into `ruby_2_2` at r50629. nagachika (Tomoyuki Chikanaga)
06:43 PM Revision 2c2fbb8c (git): merge revision(s) 50444: [Backport #11128]
* lib/net/imap.rb (body_ext_mpart): should work even if body-fld-dsp
is omitted. [ruby-core:69093] [Bug #11128]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
06:39 PM Bug #11132: String#sub and character sequence \' in replacement string
Backported into `ruby_2_2` branch at r50628. nagachika (Tomoyuki Chikanaga)
06:39 PM Revision 637d0824 (git): merge revision(s) 50509: [Backport #11132]
* string.c: added documentation for character sequence \' with String#sub
[Bug #11132][ruby-core:69121][fix GH-900][ci skip] Patch by @shishir127
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50628 b2dd03c8-39...
nagachika (Tomoyuki Chikanaga)
06:36 PM Bug #11075: Rational literal undocumented
Backported into `ruby_2_2` at r50627. nagachika (Tomoyuki Chikanaga)
06:35 PM Revision 9d3a9e97 (git): merge revision(s) 50406,50407: [Backport #11075]
* rational.c: Added documentation for rational literal.
[Bug #11075][fix GH-885][ci skip] Patch by @shishir127
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
06:31 PM Bug #10975: [BUG] rb_sys_fail(getaddrinfo) - errno == 0 (Ruby 2.0.0)
Backported into `ruby_2_2` branch at r50626. nagachika (Tomoyuki Chikanaga)
06:31 PM Revision 3a35a8e9 (git): merge revision(s) 50404,50405: [Backport #10975]
* ext/socket/ipsocket.c (init_inetsock_internal): preserve errno
before other library calls and use rb_syserr_fail.
[ruby-core:68531] [Bug #10975]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50626 ...
nagachika (Tomoyuki Chikanaga)
06:05 PM Bug #11065: Ruby 2.2.2 fails to build on Cygwin64: static function, utoa, in ext/-test-/printf/printf.c has different signature in system stdlib.h.
Backported into `ruby_2_2` at r50625. nagachika (Tomoyuki Chikanaga)
06:02 PM Revision d15084fb (git): merge revision(s) 50305: [Backport #11065]
* ext/-test-/printf/printf.c (uint_to_str): renamed to get rid of
conflict on cygwin. [ruby-core:68877] [Bug #11065]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
05:59 PM Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
Backported into `ruby_2_2` branch at r50624. nagachika (Tomoyuki Chikanaga)
05:59 PM Revision e197429a (git): merge revision(s) 50206: [Backport #10724]
* vm.c (vm_exec): check other events when RETURN is thrown.
[Bug #10724]
* test/ruby/test_settracefunc.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50624 b2dd03c8-39d4-4d8f-98ff-823fe...
nagachika (Tomoyuki Chikanaga)
05:43 PM Bug #11051: Addrinfo#marshal_load がメモリーリーク
Backported into `ruby_2_2` at r50623. nagachika (Tomoyuki Chikanaga)
05:42 PM Revision 645b4e11 (git): merge revision(s) 50187,50202: [Backport #11051]
* ext/socket/raddrinfo.c (addrinfo_mload): fix memory leak of
addrinfo. [ruby-dev:48923] [Bug #11051]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
05:18 PM Bug #10952: Clarify BigDecimal license
Backported into `ruby_2_2` branch at r50622. nagachika (Tomoyuki Chikanaga)
05:18 PM Revision f0f734fd (git): merge revision(s) 50185: [Backport #10952]
* bigdecimal: conform to ruby's license. [ruby-core:68466] [Bug #10952]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
05:15 PM Bug #11000: r50071以降、Solarisにてext/-test-/file/fs.cのコンパイルができない
Backported into `ruby_2_2` branch at r50621. nagachika (Tomoyuki Chikanaga)
05:15 PM Bug #10998: TestIO#test_seek fails in chroot with Linux 3.19
Backported into `ruby_2_2` branch at r50621. nagachika (Tomoyuki Chikanaga)
05:15 PM Revision c92fa1fd (git): merge revision(s) 50071,50088: [Backport #10998] [Backport #11000]
* ext/-test-/file/fs.c (get_fsname): return filesystem name by
statfs/statvfs. [ruby-core:68624] [Bug #10998]
* ext/-test-/file/fs.c (get_fsname): try magic number only if
f_type is included. [ruby-dev:4891...
nagachika (Tomoyuki Chikanaga)
05:03 PM Bug #11035: Calling #hash method: inconsistency between dynamic and static symbols
Backported into `ruby_2_2` branch at rr50620. nagachika (Tomoyuki Chikanaga)
05:02 PM Bug #10979: Hash fails to distinguish 0.0 & -0.0
Backported into `ruby_2_2` branch at rr50619. nagachika (Tomoyuki Chikanaga)
05:02 PM Revision 92e97984 (git): merge revision(s) 50182,50183: [Backport #11035]
* hash.c (rb_any_hash): Symbols are compared by the identities
always. [ruby-core:68767] [Bug #11035]
* test/ruby/test_symbol.rb: fix syntax error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50620...
nagachika (Tomoyuki Chikanaga)
05:01 PM Revision c758d631 (git): merge revision(s) 49999,50000: [Backport #10979]
* hash.c (rb_any_hash): use same hash values with Float#hash so
that -0.0 and +0.0 will be identical.
[ruby-core:68541] [Bug #10979]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50619 b2dd03c8-39d4-...
nagachika (Tomoyuki Chikanaga)
04:37 PM Revision 3de8b4be (git): * 2015-05-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:36 PM Revision 5ea16ea6 (git): * debug.c (ruby_debug_print_id): use rb_id2name() for fprintf().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
03:23 PM Bug #11172 (Closed): Windowsでmode: ab+の時に開いたファイルの内容が読めない
Windowsでopen("hoge.txt", "ab+")すると、開いたファイルの既存の内容が読めません。
File::APPEND|File::CREAT|File::RDWR|File::BINARYでも同様です。
Unixでは読める上に、a+の時、つまり_openを使う場合も読めるので、意図しない挙動でしょう。
```
diff --git a/win32/win32.c b/win32/win32.c
index 55e0d2e..57d9...
naruse (Yui NARUSE)
11:28 AM Feature #11167: Allow an attr_ variant for query-methods that end with a question mark '?' character, such as: def foo? returning @foo
Daniel Berger wrote:
> Abandoned all hope:
> ...
I think that this shows that there are several people who really like to use a foo? getter with a foo= setter. What it doesn't show that there are enough such people that it would balanc...
duerst (Martin Dürst)
11:07 AM Revision 8b5ffc36 (git): win32.c: suppress a warning
* win32/win32.c (rb_w32_write_console): fix the type to suppress a
warning of difference in signedness.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:39 AM Bug #11171 (Closed): ruby.1で表示される更新日を内容の最終更新日と合わせてほしい
Applied in changeset r50615.
----------
man: updated
* man/*.1: updated dates in man pages.
[ruby-dev:48988] [Bug #11171]
nobu (Nobuyoshi Nakada)
07:22 AM Bug #11171 (Closed): ruby.1で表示される更新日を内容の最終更新日と合わせてほしい
ruby.1は2014年12月15日にGCに関する説明が追加されているのですが、更新日は記載追加前の2012年11月7日のままになっているので、これをコミット日に修正しても問題ないものでしょうか?
2012年11月15日より後の内容変更ではすべて日付が更新されていませんが、できれば内容と合わせて日付も更新されるようになっているとうれしいです。
githubの2_1には該当がマージされていないので、マニュアルが変更されているバージョンは2.2.3のみのようです。
...
hemge (Yoko Ando)
09:38 AM Revision 81750737 (git): man: updated
* man/*.1: updated dates in man pages.
[ruby-dev:48988] [Bug #11171]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:36 AM Revision aaa12359 (git): common.mk: update-man-date
* common.mk (update-man-date): update last date in man pages.
* tool/vcs.rb (VCS#modified): returns last modified time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:36 AM Revision 80000c53 (git): file2lastrev.rb: format for modified
* tool/file2lastrev.rb: add optional argument to --modified, for
strftime format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:36 AM Revision b8081c7c (git): file2lastrev.rb: all ARGV
* tool/file2lastrev.rb: output for each arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:58 AM Revision 8009794c (git): rake.1: removed
* man/rake.1: rake has been gemified. [Feature #11025]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:19 AM Feature #11170: [PATCH] use ivar indices for generic ivars
+1.
T_CLASS/T_MODULE can use same technique, but it seems not so many use-cases.
ko1 (Koichi Sasada)
01:35 AM Feature #11170: [PATCH] use ivar indices for generic ivars
Attached standalone test script, increase "ulimit -n" as necessary.
normalperson (Eric Wong)
01:34 AM Feature #11170 (Closed): [PATCH] use ivar indices for generic ivars
* [PATCH 1/2] variable.c: extract common functions for generic ivar
http://80x24.org/spew/m/4e9df8a150a121c894fe142bde5efc15d43e5e94.txt
* [PATCH 2/2] variable.c: use indices for generic ivars
http://80x24.org/spew/m/aabb09c886a23...
normalperson (Eric Wong)

05/22/2015

09:47 PM Bug #11166: thread becames broken after unsuccessful system() or Process.spawn() call
Seems same behavior since 1.9. nobu (Nobuyoshi Nakada)
10:42 AM Bug #11166 (Closed): thread becames broken after unsuccessful system() or Process.spawn() call
Applied in changeset r50600.
----------
process.c: do not discard status
* process.c (rb_spawn_process): do not discard global escape
status. [ruby-core:69304] [Bug #11166]
* process.c (rb_execarg_spawn): extract the start procedure...
nobu (Nobuyoshi Nakada)
06:13 PM Revision 7ceb9ecc (git): * win32/win32.c (rb_w32_write_console): should return the count of
actually eaten characters, include escape sequences.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:44 PM Feature #11167: Allow an attr_ variant for query-methods that end with a question mark '?' character, such as: def foo? returning @foo
Hi Matz,
Yukihiro Matsumoto wrote:
> Is there any real-world use-case for the proposal?
I've wanted this feature for years. :)
Here's an example from code I'm working with today:
```ruby
def startup_complete?
@start...
spatulasnout (B Kelly)
03:28 PM Feature #11167: Allow an attr_ variant for query-methods that end with a question mark '?' character, such as: def foo? returning @foo
Abandoned all hope:
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/5796
https://www.ruby-forum.com/topic/135195
djberg96 (Daniel Berger)
12:43 PM Feature #11167: Allow an attr_ variant for query-methods that end with a question mark '?' character, such as: def foo? returning @foo
Hi,
Is there any real-world use-case for the proposal?
It seems
```ruby
def foo?
@foo
end
```
is just fine.
Matz.
matz (Yukihiro Matsumoto)
05:37 PM Revision 3f4aab16 (git): * win32/win32.c (constat_apply): fixed comment. [skip ci]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:26 PM Revision a1147b91 (git): * 2015-05-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:26 PM Revision 511a9f79 (git): fix indent (tabify) [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:26 PM Revision 9bab9d50 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:37 PM Revision 2c686723 (git): * lib/matrix.rb: Styling
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
01:36 PM Revision d2487ed4 (git): * lib/prime.rb: Remove obsolete Prime.new
patch by Ajay Kumar. [Fixes GH-891]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
12:13 PM Revision 3a08b7e2 (git): intern.h: move rb_sym_all_symbols
* include/ruby/intern.h (rb_sym_count): move `rb_sym_all_symbols`
to a symbol.c specific section. a part of patch by Lourens
Naudé.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:10 PM Revision c7b63ec8 (git): test_parse.rb: move assertions
* test/ruby/test_module.rb (test_remove_class_variable): move an
assertion for Module#remove_class_variable from test_parse.rb.
* test/ruby/test_symbol.rb (test_intern, test_all_symbols): move
assertions for Symbol#intern and Symbol...
nobu (Nobuyoshi Nakada)
11:57 AM Revision b53d547f (git): * complex.c (f_complex_polar): simple bug reproduced only when y is
a float but x is not a float.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
11:45 AM Feature #11164: Garbage collector in Ruby 2.2 provokes unexpected CoW
Priority field and Assignee field is for use of ruby-core team, not for reporters.
DON'T TOUCH THEM!
usa (Usaku NAKAMURA)
11:17 AM Feature #11164: Garbage collector in Ruby 2.2 provokes unexpected CoW
Calling the GC several times before forking the process solves the issue and I am quite surprised. I have also run the code using Ruby 2.0.0 and the issue doesn't even appear, so it must be related to this generational GC.
However, if I...
tkalmus (Thomas Kalmus)
07:55 AM Feature #11164 (Assigned): Garbage collector in Ruby 2.2 provokes unexpected CoW
usa (Usaku NAKAMURA)
10:42 AM Revision 46c64caf (git): process.c: do not discard status
* process.c (rb_spawn_process): do not discard global escape
status. [ruby-core:69304] [Bug #11166]
* process.c (rb_execarg_spawn): extract the start procedure in a
parent process with ensuring the end procedure.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
09:45 AM Feature #10903: [PATCH] Matrix#zip returns a matrix
Hi, sorry I missed your proposal until now, and thanks for the patch.
Could you explain in what kind of circumstances one would use this? I'm not sure I see what kind of mathematical operation this can correspond to.
marcandre (Marc-Andre Lafortune)
08:29 AM Bug #11169 (Feedback): Symbol not found: _rb_str_new_static
Seems you are running 2.0.0 with an extension library for 2.2.
Check your ruby's version.
nobu (Nobuyoshi Nakada)
08:05 AM Bug #11169 (Rejected): Symbol not found: _rb_str_new_static
when i'm running **rails server** i'm getting this message below:
~~~
Warning: You're using Rubygems 2.0.14 with Spring. Upgrade to at least Rubygems 2.1.0 and run `gem pristine --all` for better startup performance.
dyld: lazy symb...
buihdk (Khoa Bui)
07:48 AM Revision 22417275 (git): * NEWS: added news for net-telnet and rake
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
06:37 AM Bug #11168 (Closed): object allocation during garbage collection phase when rake assets:precompile on 2.2.2
nobu (Nobuyoshi Nakada)
06:13 AM Bug #11168 (Closed): object allocation during garbage collection phase when rake assets:precompile on 2.2.2
I got this bug on ruby 2.2.2, after rollback to ruby 2.2.1. Everything is back to normal
~~~
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ru...
wuboy (Ernest Wu)

05/21/2015

07:56 PM Bug #10337: sqlite3/statement.rb:37: [BUG] Segmentation fault
I'm having the exact same issue with postgresql. I used to think it was sqlite3. but it seems to be something with database_statements: http://pastebin.com/d6Tm13ww
$ ruby -v
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]...
NullVoxPopuli (Preston Sego)
07:05 PM Feature #11167 (Rejected): Allow an attr_ variant for query-methods that end with a question mark '?' character, such as: def foo? returning @foo
Hi guys,
Hi nobu :)
Also hi matz if matz reads this, and of course the rest of the core
team and everyone else.
Today on IRC, this mini-discussion happened (I show a snippet):
~~~
<apeiros> I really miss attr_query or whate...
shevegen (Robert A. Heiler)
04:45 PM Bug #11166 (Closed): thread becames broken after unsuccessful system() or Process.spawn() call
After calling system() or Process.spawn() with non-existing command the thread works incorrectly:
* doesn't response to thread kill
* hangs forever in condition wait or mutexes
The least leads to hanging in file write() or puts() ca...
cvss (Kirill Vechera)
04:14 PM Revision 524e5307 (git): * 2015-05-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:14 PM Revision 20fe5da8 (git): * doc/maintainers.rdoc: [DOC] net/telnet is no more in the stdlib.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
04:01 PM Feature #10900: GzipReader does not define `#external_encoding`
I'd say it should add #encoding and #internal_encoding methods as well, since the constructor supports those options. djberg96 (Daniel Berger)
01:33 PM Bug #11163: Binding from Method#to_proc.binding cause BUG
#10432 での修正(r48160)による regression ということですよね。 ruby_2_2 の HEAD でも再現しました。
r48160 は 2.0.0, 2.1 にも backport 済みなので Backport 欄を REQUIRED にしておきます。
nagachika (Tomoyuki Chikanaga)
08:47 AM Bug #11163: Binding from Method#to_proc.binding cause BUG
とりあえず、この方針で作り直しました。
def ... で定義しているもの以外、例えば attr なんか由来の Method から binding 作ると、微妙に動かないものがあります。その辺はしょうがない、でも良いですかねえ。
ko1 (Koichi Sasada)
08:46 AM Bug #11163 (Closed): Binding from Method#to_proc.binding cause BUG
Applied in changeset r50592.
----------
* proc.c: fix issues caused by binding created from Method#to_proc.
[Bug #11163]
* vm.c (vm_cref_new_toplevel): export as rb_vm_cref_new_toplevel().
* test/ruby/test_method.rb: add some assersions.
ko1 (Koichi Sasada)
11:52 AM Revision c722f8ad (git): fix indent
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
11:39 AM Revision d1a3f716 (git): * configure.in (RUBY_DTRACE_POSTPROCESS): cmp -b is GNU extension.
darwin uses GNU cmp, and FreeBSD and Solaris are not.
Note that accidentally equals to expected result.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
11:28 AM Revision 4a17c5aa (git): test_method.rb: add assertion
* test/ruby/test_method.rb (test_to_proc_binding): assertion for
dynamically set variable names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:01 AM Revision 7239111e (git): * iseq.c: constify.
* iseq.h: ditto.
* method.h: ditto.
* proc.c: ditto.
* vm_method.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:55 AM Feature #10095: Object#as
I created a gem galled `object_as` to provide this functionality outside of Ruby core. I also would like to see this included in Ruby core. I think the name `Object#as` is short and sweet. tallakt (Tallak Tveide)
08:45 AM Revision 928d89c7 (git): * proc.c: fix issues caused by binding created from Method#to_proc.
[Bug #11163]
* vm.c (vm_cref_new_toplevel): export as rb_vm_cref_new_toplevel().
* test/ruby/test_method.rb: add some assersions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:29 AM Feature #10070 (Closed): [PATCH] About comments, fix typo and add info.
Applied in changeset r50591.
----------
* lib/matrix.rb: added documentation for Matrix#empty and Matrix#/
[Feature #10070][ruby-dev:48433] Patch by @gogotanaka
hsbt (Hiroshi SHIBATA)
08:29 AM Revision e398e64a (git): * lib/matrix.rb: added documentation for Matrix#empty and Matrix#/
[Feature #10070][ruby-dev:48433] Patch by @gogotanaka
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
08:16 AM Feature #10295 (Assigned): [PATCH] io.c (fptr_finalize): free memory (before GC sweep)
hsbt (Hiroshi SHIBATA)
08:16 AM Feature #10302 (Assigned): [PATCH] marshal.c: lazy compat_tbl allocation
hsbt (Hiroshi SHIBATA)
08:14 AM Feature #10459 (Assigned): [PATCH] rfc3339 method for Time
hsbt (Hiroshi SHIBATA)
08:13 AM Feature #10782 (Assigned): Patch: Add constants for BigDecimal for ZERO, ONE, TEN
hsbt (Hiroshi SHIBATA)
08:12 AM Feature #10903 (Assigned): [PATCH] Matrix#zip returns a matrix
hsbt (Hiroshi SHIBATA)
08:10 AM Feature #11052 (Assigned): [PATCH] Blockless Pathname#ascend and #descend return Enumerator
hsbt (Hiroshi SHIBATA)
08:03 AM Revision f6e95240 (git): * proc.c: rename functions.
* method_get_def() -> method_def()
* method_get_iseq() -> method_def_iseq()
* method_get_cref() -> method_cref()
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:02 AM Revision 1cc326a3 (git): fix ChangeLog, too
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
08:01 AM Revision c0ce9a72 (git): commit miss. iseq.h should be commit with last commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
08:01 AM Bug #9639 (Feedback): libyaml not found, rubygems not functional on freebsd with ruby 2.1.0
Can you try with Ruby 2.1.6? hsbt (Hiroshi SHIBATA)
07:54 AM Revision 0dba10a4 (git): * proc.c (rb_method_get_iseq): rename to rb_method_iseq.
* iseq.c: catch up this fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
07:16 AM Feature #11057 (Open): Gemify JSON
I have been reverted this issue. because we have issue for native extension build. hsbt (Hiroshi SHIBATA)
07:06 AM Bug #11165 (Third Party's Issue): gem install bio-samtools
hsbt (Hiroshi SHIBATA)
06:12 AM Bug #11165: gem install bio-samtools
that is not an error in ruby, but in the gem (so its a third-party problem)
please report it there:
https://github.com/helios/bioruby-samtools/issues
the solution would be to replace Config::CONFIG in mkrf_conf with RbConfig::CONFIG
Hanmac (Hans Mackowiak)
06:46 AM Feature #11083 (Closed): Gemify net-telnet
Applied in changeset r50586.
----------
* lib/net/telnet.rb: gemify net-telnet.
[Feature #11083]
* gems/bundled_gems: added net-telnet to bundled gems.
hsbt (Hiroshi SHIBATA)
06:11 AM Feature #11083 (Assigned): Gemify net-telnet
hsbt (Hiroshi SHIBATA)
06:46 AM Revision 0b5ecba4 (git): * lib/net/telnet.rb: gemify net-telnet.
[Feature #11083]
* gems/bundled_gems: added net-telnet to bundled gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
06:41 AM Bug #10967 (Closed): Is "warning: private attribute?" wrong?
Applied in changeset r50585.
----------
* vm_method.c: Remove private attribute warning [Bug #10967]
Patch by @spastorino [Fixes GH-849]
https://github.com/ruby/ruby/pull/849
* test/ruby/test_module.rb: Update test for changes
zzak (zzak _)
06:40 AM Revision 32a5a098 (git): * vm_method.c: Remove private attribute warning [Bug #10967]
Patch by @spastorino [Fixes GH-849]
https://github.com/ruby/ruby/pull/849
* test/ruby/test_module.rb: Update test for changes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
05:16 AM Bug #11123: [PATCH] bsock_recmvsg_internal needs GC guard for control buffer
ruby_2_1 r50584 merged revision(s) 50449. usa (Usaku NAKAMURA)
05:16 AM Revision 3a312317 (git): merge revision(s) 50449: [Backport #11123]
* ext/socket/ancdata.c (bsock_recvmsg_internal): GC guard
[Bug #11123]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:13 AM Bug #10705: JSON::ParserError#message is wrong encoding (ASCII-8BIT)
You could make `ext/json/parser/parser.c` by `make srcs-ext`, if you were have `ragel` command. nobu (Nobuyoshi Nakada)
04:56 AM Bug #10705: JSON::ParserError#message is wrong encoding (ASCII-8BIT)
memo:
I could write a patch for ruby_2_1, but could not make .c from .rl .
usa (Usaku NAKAMURA)
05:12 AM Bug #11128: IMAP parsing issue wih body_ext_mpart
ruby_2_1 r50583 merged revision(s) 50444. usa (Usaku NAKAMURA)
05:12 AM Revision 7944b628 (git): merge revision(s) 50444: [Backport #11128]
* lib/net/imap.rb (body_ext_mpart): should work even if body-fld-dsp
is omitted. [ruby-core:69093] [Bug #11128]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:09 AM Bug #11113: Time ranges cannot be used in case statements in 1.9+ but they could in 1.8.7
ruby_2_1 r50581 merged revision(s) 50421. usa (Usaku NAKAMURA)
05:08 AM Bug #11132: String#sub and character sequence \' in replacement string
ruby_2_1 r50582 merged revision(s) 50509. usa (Usaku NAKAMURA)
05:08 AM Revision a2126a67 (git): merge revision(s) 50509: [Backport #11132]
* string.c: added documentation for character sequence \' with String#sub
[Bug #11132][ruby-core:69121][fix GH-900][ci skip] Patch by @shishir127
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50582 b2dd03c8-39...
U.Nakamura
05:05 AM Revision 7a03d463 (git): merge revision(s) 50421: [Backport #11113]
* range.c (linear_object_p, range_include): test if covered for
linear objects. [ruby-core:69052] [Bug #11113]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:03 AM Revision ac9d6b05 (git): digest.c: GC guard
* ext/digest/digest.c (hexencode_str_new, rb_digest_base_update):
prevent argument strings from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:02 AM Bug #11075: Rational literal undocumented
ruby_2_1 r50579 merged revision(s) 50406,50407. usa (Usaku NAKAMURA)
05:02 AM Revision 137514a3 (git): merge revision(s) 50406,50407: [Backport #11075]
* rational.c: Added documentation for rational literal.
[Bug #11075][fix GH-885][ci skip] Patch by @shishir127
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:59 AM Bug #10975: [BUG] rb_sys_fail(getaddrinfo) - errno == 0 (Ruby 2.0.0)
ruby_2_1 r50578 merged revision(s) 50404,50405. usa (Usaku NAKAMURA)
04:59 AM Revision ad70c73c (git): merge revision(s) 50404,50405: [Backport #10975]
* ext/socket/ipsocket.c (init_inetsock_internal): preserve errno
before other library calls and use rb_syserr_fail.
[ruby-core:68531] [Bug #10975]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50578 ...
U.Nakamura
04:38 AM Bug #11065: Ruby 2.2.2 fails to build on Cygwin64: static function, utoa, in ext/-test-/printf/printf.c has different signature in system stdlib.h.
ruby_2_1 r50577 merged revision(s) 50305. usa (Usaku NAKAMURA)
04:38 AM Revision bdf81a66 (git): merge revision(s) 50305: [Backport #11065]
* ext/-test-/printf/printf.c (uint_to_str): renamed to get rid of
conflict on cygwin. [ruby-core:68877] [Bug #11065]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:31 AM Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
ruby_2_1 r50576 merged revision(s) 50206. usa (Usaku NAKAMURA)
04:31 AM Revision 39a65664 (git): merge revision(s) 50206: [Backport #10724]
* vm.c (vm_exec): check other events when RETURN is thrown.
[Bug #10724]
* test/ruby/test_settracefunc.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50576 b2dd03c8-39d4-4d8f-98ff-823fe...
U.Nakamura
04:27 AM Bug #11051: Addrinfo#marshal_load がメモリーリーク
ruby_2_1 r50575 merged revision(s) 50187,50202. usa (Usaku NAKAMURA)
04:26 AM Revision e358e2f8 (git): merge revision(s) 50187,50202: [Backport #11051]
* ext/socket/raddrinfo.c (addrinfo_mload): fix memory leak of
addrinfo. [ruby-dev:48923] [Bug #11051]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:21 AM Bug #10952: Clarify BigDecimal license
ruby_2_1 r50574 merged revision(s) 50185. usa (Usaku NAKAMURA)
04:20 AM Revision 53ce4da0 (git): merge revision(s) 50185: [Backport #10952]
* bigdecimal: conform to ruby's license. [ruby-core:68466] [Bug #10952]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:04 AM Bug #10432: wrong receiver of Binding from Method
> Methodオブジェクトからto_proc.bindingで作られたBindingのreceiverが、Methodオブジェクトの元になったオブジェクトではなく、Methodオブジェクトになっています。
元々、なんでこれじゃいけないんでしたっけ。
1.8 だと、b.eval('p self') がレシーバになっていたのかな。
ko1 (Koichi Sasada)
02:16 AM Feature #11158: Introduce a Symbol.count API as a more efficient alternative to Symbol.all_symbols.size
Please find attached the changes as per Marc-Andre's suggestions. Exposes `Symbol.each` and extends with `Enumerable`
~~~
def test_each
x = Symbol.each.size
assert_kind_of(Fixnum, x)
assert_equal x, Symbol.all_symbol...
methodmissing (Lourens Naudé)
02:00 AM Revision 8147bd1e (git): * proc.c (method_proc): rename to method_to_proc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
01:51 AM Revision cac2c6d3 (git): Fixes for grammar and style [ci skip]
* io.c (rb_f_select): [DOC] Fixes for grammar and style.
[Fix GH-906]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:49 AM Bug #10918: ObjectSpace._id2ref returns internal object
ruby_2_1 r50571 merged revision(s) 49792. usa (Usaku NAKAMURA)
12:49 AM Revision bf8a18ac (git): merge revision(s) 49792: [Backport #10918]
* gc.c (id2ref): prohibit from accessing internal objects.
[ruby-core:68348] [Bug #10918]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:47 AM Bug #9144: ptys on AIX version 4 through 7
ruby_2_1 r50570 merged revision(s) 49776. usa (Usaku NAKAMURA)
12:47 AM Revision f1cb00f8 (git): merge revision(s) 49776: [Backport #9144]
* ext/pty/pty.c: AIX supports autopush.
Patch by Perry Smith [ruby-core:58539] [Bug #9144]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:15 AM Feature #11146 (Closed): [PATCH] variable.c: initialize generic_iv_tbl at start
Applied in changeset r50569.
----------
variable.c: generic_iv_tbl is unavoidable
Even miniruby creates one generic ivar (plain "ruby" creates 9),
so there's no point in lazily allocating the table.
I dumped generic ivar counts with t...
Anonymous
12:15 AM Revision 4b0987a6 (git): variable.c: generic_iv_tbl is unavoidable
Even miniruby creates one generic ivar (plain "ruby" creates 9),
so there's no point in lazily allocating the table.
I dumped generic ivar counts with the following trivial patch:
--- a/variable.c
+++ b/variable.c
@@ -24,6 +24,10...
Eric Wong

05/20/2015

10:03 PM Revision ca61b4c4 (git): vm.c: vm_invoke_bmethod
* vm.c (vm_invoke_bmethod): bmethod does not need EXEC_TAG as it
does not set safe level.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:12 PM Revision a65ee87b (git): * 2015-05-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:11 PM Revision 08f923bd (git): * iseq.c (exception_type2symbol): show correct bug message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:11 PM Bug #11165: gem install bio-samtools
Also fails in the same way with : ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
tbochan (Tad Bochan)
05:06 PM Bug #11165 (Third Party's Issue): gem install bio-samtools
gem install bio-samtools works with ruby 2.1.2 but fails with 2.3.0
-------------------------------------------------------------------
824 /home/tad : gem install bio-samtools
Building native extensions. This could take a while...
...
tbochan (Tad Bochan)
05:06 PM Bug #10918: ObjectSpace._id2ref returns internal object
Backported into `ruby_2_2` branch at r50565. nagachika (Tomoyuki Chikanaga)
05:06 PM Revision c5a69132 (git): merge revision(s) 49792: [Backport #10918]
* gc.c (id2ref): prohibit from accessing internal objects.
[ruby-core:68348] [Bug #10918]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:33 PM Bug #9144: ptys on AIX version 4 through 7
Backported into `ruby_2_2` branch at r50564. nagachika (Tomoyuki Chikanaga)
04:32 PM Revision 1d8b1d8c (git): merge revision(s) 49776: [Backport #9144]
* ext/pty/pty.c: AIX supports autopush.
Patch by Perry Smith [ruby-core:58539] [Bug #9144]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:27 PM Bug #10934: Backport r49017
r49017 was already backported at r50085. nagachika (Tomoyuki Chikanaga)
04:24 PM Bug #11096: 'private' access control bypassed when ||= is used
Backorted into ruby_2_2 branch at r50562. nagachika (Tomoyuki Chikanaga)
04:23 PM Bug #11108: Unexpected LocalJumpError from "break" in nested begin block
Backported into ruby_2_2 branch at r50563. nagachika (Tomoyuki Chikanaga)
04:22 PM Bug #10775: "break" from a block with nested begin-rescue became impossible
Backported into `ruby_2_2` branch at r50563. nagachika (Tomoyuki Chikanaga)
04:21 PM Revision 0c0be80f (git): merge revision(s) 49390: [Backport #10775]
* vm_insnhelper.c (vm_throw_start): search the target to break
from a block with nested rescue, from the nested blocks.
[ruby-core:67765] [Bug #10775] [Fix GH-820]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branche...
nagachika (Tomoyuki Chikanaga)
04:05 PM Bug #11027: Named Argument assignment from Hash failure
Backorted into `ruby_2_2` branch at r50562. nagachika (Tomoyuki Chikanaga)
04:04 PM Revision 3e199f4c (git): merge revision(s) 50172,50173: [Backport #11027]
* vm_args.c: protect value stack from calling other methods
during complex parameter setting process (splat, kw, and so on).
[Bug #11027]
* vm_core.h: remove rb_thead_t::mark_stack_len.
With this mo...
nagachika (Tomoyuki Chikanaga)
03:52 PM Bug #11086: Symbol#instance_eval gives 'TypeError: can't define singleton' when coerced with String#to_sym
Backported into `ruby_2_2` branch at r50561. nagachika (Tomoyuki Chikanaga)
03:51 PM Revision 534c2b03 (git): merge revision(s) 50372,50373: [Backport #11086]
* vm_eval.c (rb_obj_instance_eval, rb_obj_instance_exec): allow
symbols to just instance_eval/exec, except for definition of
singletons. [ruby-core:68961] [Bug #11086]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/br...
nagachika (Tomoyuki Chikanaga)
03:06 PM Feature #11164 (Rejected): Garbage collector in Ruby 2.2 provokes unexpected CoW
How do I prevent the GC from provoking copy-on-write, when I fork my process ? I have recently been analyzing the garbage collector's behavior in Ruby, due to some memory issues that I encountered in my program (I run out of memory on m... tkalmus (Thomas Kalmus)
02:24 PM Revision 7fc7651f (git): * lib/base64.rb: Fix rdoc-formatting for padding argument.
[fix GH-905][ci skip] Patch by @davydovanton
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
08:39 AM Bug #11159: RubyVM::InstructionSequence.compile(nil) #=> segfault
ruby_2_1 r50559 merged revision(s) 50541,50542. usa (Usaku NAKAMURA)
08:39 AM Revision 79881c94 (git): merge revision(s) 50541,50542: [Backport #11159]
* iseq.c (rb_iseq_compile_with_option): check srouce type, must be
an IO or a String. [ruby-core:69219] [Bug #11159]
* iseq.c (rb_iseq_compile_with_option): check source type, must be
git-svn-id: svn+ssh://ci.ruby-l...
U.Nakamura
08:22 AM Bug #11163 (Closed): Binding from Method#to_proc.binding cause BUG
Method オブジェクトから、
to_proc で取り出した Proc オブジェクトから、
Binding を取り出したものを使って eval しようとすると、BUG になります。
```ruby
class C
D = :D
def foo
a = b = c = 123
end
def inspect
"<C object>"
end
end
C.new.method(:foo).to_proc...
ko1 (Koichi Sasada)
05:09 AM Revision fdb95792 (git): ruby.h: warn old names
* include/ruby/ruby.h (rb_data_typed_object_alloc),
(rb_data_object_alloc): warn use of old names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:21 AM Revision 68426106 (git): ruby.h: DEPRECATED_BY
* include/ruby/ruby.h (DEPRECATED_BY): fallback definition without
additional messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:16 AM Revision 408885c8 (git): configure.in: DEPRECATED_BY
* configure.in (DEPRECATED_BY): deprecate warning with preferable
alternative.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:15 AM Revision 814b8391 (git): configure.in: attribute arguments
* configure.in (RUBY_FUNC_ATTRIBUTE): allow attribute arguments in
the macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:13 AM Revision 50732b7b (git): configure.in: pop macro
* configure.in (RUBY_FUNC_ATTRIBUTE): pop definition of macro
`attrib_code`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:24 AM Revision dd9265ec (git): * vm_dump.c (rb_print_backtrace): return value of libexec's backtrace
is size_t, so simply cast as int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:51 AM Revision 9e80fb07 (git): * 2015-05-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:50 AM Revision 360c741a (git): added contributor name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)

05/19/2015

11:17 PM Bug #11162 (Closed): Update documentation for CMath library
Hello!
I updated description and '*Usage*' part for `CMath` library, added '*Brief overview of complex numbers*' part and added two books about complex numbers. Also I added examples for each library method.
*P.S.: this is my first...
davydov_anton (Anton Davydov)
07:54 PM Bug #10942: Suspected memory leak
Backported into `ruby_2_2` branch at r50550.
I've changed :limit option for assert_no_memory_leak from 1.5 to 2.0. Without the change added test sometimes fails on my environment.
nagachika (Tomoyuki Chikanaga)
07:52 PM Revision 20ef4699 (git): merge revision(s) 50334,50337: [Backport #10942]
* string.c (STR_SET_EMBED): clear NOFREE flag at embedding as
embedded strings no longer refer static strings.
[ruby-core:68436] [Bug #10942]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50550 b2dd0...
nagachika (Tomoyuki Chikanaga)
07:11 PM Bug #11054: ruby won't build on OS X 10.5 — fgetattrlist() not available
Backported into `ruby_2_2` branch at r50549. nagachika (Tomoyuki Chikanaga)
07:11 PM Bug #11069: Backport r50218
Backported into `ruby_2_2` branch at r50549. nagachika (Tomoyuki Chikanaga)
07:06 PM Revision ddf1f59d (git): merge revision(s) 50218: [Backport #11054] [Backport #11069]
* dir.c (need_normalization): use getattrlist() if fgetattrlist()
is unavailable, on OSX 10.5. [ruby-core:68829] [Bug #11054]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50549 b2dd03c8-39d4-4d8f-98ff-823fe6...
nagachika (Tomoyuki Chikanaga)
06:44 PM Bug #11012: `local_variable_get` crashes on a `Proc` from a method
r49922, r50111 and r50112 (r49922 for resolv conflict) were backported into `ruby_2_2` branch at r50548. nagachika (Tomoyuki Chikanaga)
06:43 PM Revision 9eb78a21 (git): merge revision(s) 49922,50111,50112: [Backport #11012]
* proc.c: use RUBY_VM_IFUNC_P() to recognize IFUNC or not.
* vm.c: ditto.
* vm_dump.c: ditto.
* vm_insnhelper.c: ditto.
* vm_core.h: use RB_TYPE_P() instead of BUILTIN_TYPE().
* proc.c (proc_b...
nagachika (Tomoyuki Chikanaga)
06:19 PM Bug #10999: [PERF] bm_hash_aref_flo.rb
Backported into `ruby_2_2` branch at r50547.
I support ko1's comment. But I think the difference in benchmark scripts between branches are more misleading. So I backport the change.
I'm willing to backport the resurrection of the ori...
nagachika (Tomoyuki Chikanaga)
06:11 PM Revision 3f1fc07e (git): merge revision(s) 50084: [Backport #10999]
* benchmark/bm_hash_aref_flo.rb: make more realistic data.
[ruby-core:68632] [[Bug #10999]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
06:01 PM Bug #10985: Ruby 2.2 respond_to_missing?/method_missing/Object#method is not detecting properly
Backported into `ruby_2_2` branch at r50546. nagachika (Tomoyuki Chikanaga)
05:59 PM Revision b836c3ac (git): merge revision(s) 50038: [Backport #10985]
* proc.c (respond_to_missing_p): check if the receiver responds to
the given method by respond_to_missing?.
* proc.c (mnew_missing): create Method object for method_missing.
[ruby-core:68564] [Bug #10985]
g...
nagachika (Tomoyuki Chikanaga)
05:25 PM Bug #11089: 2.2.2p95 crash on Windows when passed glob patterns on command line
fixes are backported into ruby_2_2 branch at r50545 for #10941. nagachika (Tomoyuki Chikanaga)
05:25 PM Bug #10978: [mswin32, mswin64] SignalException: SIGSEGV
fixes are backported into `ruby_2_2` branch at r50545 for #10941. nagachika (Tomoyuki Chikanaga)
05:24 PM Bug #10941: SIGSEGV caused by Rake on Windows
Backported into `ruby_2_2` branch at r50545. nagachika (Tomoyuki Chikanaga)
05:23 PM Revision 7d7aec24 (git): merge revision(s) 49859,49861,49865: [Backport #10941] [Backport #10978] [Backport #11089]
* dir.c (replace_real_basename): shouldn't create Ruby object before
the object system is loaded.
[ruby-core:68430] [Bug #10941]
* dir.c (replace_real_basename): need to check the return value of
GL...
nagachika (Tomoyuki Chikanaga)
05:11 PM Bug #10925: Backport r49693
r49693 was already backported into `ruby_2_2` branch at r49719 for #10887. nagachika (Tomoyuki Chikanaga)
05:05 PM Revision 39b89cee (git): merge revision(s) 49095: [Backport #11150]
* lib/resolv.rb (Resolv::DNS::Label::Str#==): Check class equality.
(Resolv::DNS::Name#initialize): Normalize labels as
Resolv::DNS::Label::Str objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@...
nagachika (Tomoyuki Chikanaga)
04:49 PM Bug #11159: RubyVM::InstructionSequence.compile(nil) #=> segfault
Backported into `ruby_2_2` branch at r50543. nagachika (Tomoyuki Chikanaga)
09:55 AM Bug #11159 (Closed): RubyVM::InstructionSequence.compile(nil) #=> segfault
Applied in changeset r50541.
----------
iseq.c: check srouce type
* iseq.c (rb_iseq_compile_with_option): check srouce type, must be
an IO or a String. [ruby-core:69219] [Bug #11159]
nobu (Nobuyoshi Nakada)
12:59 AM Bug #11159: RubyVM::InstructionSequence.compile(nil) #=> segfault
Symbols also cause segfaults
~~~ruby
RubyVM::InstructionSequence.compile(:foo)
~~~
kyrylo (Kyrylo Silin)
04:48 PM Revision 73a48a14 (git): merge revision(s) 50541,50542: [Backport #11159]
* iseq.c (rb_iseq_compile_with_option): check srouce type, must be
an IO or a String. [ruby-core:69219] [Bug #11159]
* iseq.c (rb_iseq_compile_with_option): check source type, must be
git-svn-id: svn+ssh://ci.ruby-l...
nagachika (Tomoyuki Chikanaga)
03:34 PM Bug #11143: it should always be possible to return from an if
bug hit wrote:
> Nobuyoshi Nakada wrote:
> ...
To expand on why this is crazy.
1. All the jumps (return, break, next, redo, retry, throw, raise) should be treated the same, because they all have the same effect, break out of the exp...
bughit (bug hit)
02:15 PM Bug #11143: it should always be possible to return from an if
Nobuyoshi Nakada wrote:
>
> ...
There is nothing special about return, there are other jumps (return, break, next, redo, retry, throw, raise)
For your proposal to make sense, you would have to detect every possible jump in every ...
bughit (bug hit)
09:38 AM Bug #11143 (Open): it should always be possible to return from an if
nobu (Nobuyoshi Nakada)
09:35 AM Bug #11143: it should always be possible to return from an if
bug hit wrote:
> Nobuyoshi Nakada wrote:
> ...
I wanted to know the use-case.
> Just about everything in ruby is an expression and all expressions can potentially fail to produce a value (due to some jump: raise, throw, return, etc)...
nobu (Nobuyoshi Nakada)
12:41 PM Feature #11161 (Rejected): Proc/Method#rcurry working like curry but in reverse order
currenty with curry you can only replace elements in order
`#rcurry` should be added to be able to return the last parameter first.
```ruby
def abc(a,b); "a=#{a}, b=#{b}"; end
c= method(:abc).curry
c[1,2] #=> "a=1, b=2"
c[1]...
Hanmac (Hans Mackowiak)
09:56 AM Revision 87e2c106 (git): ChangeLog: fix typo
* ChangeLog: fix typo, "srouce" to "source".
[ruby-core:69219] [Bug #11159]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:54 AM Revision b8131986 (git): iseq.c: check srouce type
* iseq.c (rb_iseq_compile_with_option): check srouce type, must be
an IO or a String. [ruby-core:69219] [Bug #11159]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:15 AM Revision cdea1553 (git): * lib/benchmark.rb: Update Benchmark documentation and formatting.
[fix GH-903][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
04:13 AM Revision 59b089bd (git): numeric.c: return true
* numeric.c (num_positive_p): return true instead of Fixnum 0.
[ruby-core:69173] [Feature #11151]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:10 AM Revision b4e5bff8 (git): numeric.c: Bignum 0 is not positive
* numeric.c (num_positive_p): should false on Bignum 0.
http://twitter.com/rafaelfranca/status/600509783427391488
[ruby-core:69173] [Feature #11151]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50538 b2dd03c8-39d4-4d8f-98ff-823...
nobu (Nobuyoshi Nakada)
02:34 AM Revision 8c7310e7 (git): * lib/uri/rfc2396_parser.rb (initialize_pattern):
URI::Generic.build should accept port as a string.
pattern[:PORT] is not defined for long.
by Dave Slutzkin <daveslutzkin@fastmail.fm>
https://github.com/ruby/ruby/pull/804 fix GH-804
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
naruse (Yui NARUSE)
02:18 AM Revision 1443776c (git): ruby.h: add old names
* include/ruby/ruby.h (rb_data_typed_object_alloc),
(rb_data_object_alloc): add old names for source level backward
compatibilities.
* gc.c (rb_data_object_alloc, rb_data_typed_object_alloc): add
aliases for binary level backward c...
nobu (Nobuyoshi Nakada)
12:54 AM Revision 11c8b83a (git): ruby.h: cast for C++
* include/ruby/ruby.h (Data_Make_Struct0): needs function pointer
casts to fix function overloading in C++.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:44 AM Revision 0e55cbc2 (git): * 2015-05-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:43 AM Revision 356baf95 (git): ruby.h: cast for C++
* include/ruby/ruby.h (Data_Make_Struct0, TypedData_Make_Struct0):
explicit cast from void* is necessary as implicit cast is
disallowed in C++.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50533 b2dd03c8-39d4-4d8f-98ff-823fe69b...
nobu (Nobuyoshi Nakada)

05/18/2015

09:08 PM Bug #11143: it should always be possible to return from an if
What is the objection to providing some sort explanation when rejecting a bug report? bughit (bug hit)
05:09 PM Bug #11143: it should always be possible to return from an if
Nobuyoshi Nakada wrote:
> Why do you need such assignment?
What does my "need" have to do with whether something should be a syntax error or not?
Just about everything in ruby is an expression and all expressions can potentially f...
bughit (bug hit)
05:49 PM Feature #11158: Introduce a Symbol.count API as a more efficient alternative to Symbol.all_symbols.size
Sounds good, I'll take a stab tonight. methodmissing (Lourens Naudé)
03:52 PM Feature #11158: Introduce a Symbol.count API as a more efficient alternative to Symbol.all_symbols.size
I'd recommend instead to introduce `Symbol.each`, which would accept a block and return an `Enumerable` when none is given.
`Symbol.each.size` would be then be an efficient (lazy) way of getting the number of symbols, and it would be ...
marcandre (Marc-Andre Lafortune)
04:49 PM Feature #11154 (Feedback): Postfix `!?` can use as the valid function identifier.
Hi,
First of all, this is a proposal for incompatible change, so we have to be very careful.
Besides that, I am afraid you have two misunderstandings. (a) in Ruby, "!" is not for methods with side effect, unlike Scheme. (b) predic...
matz (Yukihiro Matsumoto)
01:30 PM Revision 53411d3e (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:30 AM Revision 0a933cf3 (git): nonblock.c: just yield if the flag is not changed
* ext/io/nonblock/nonblock.c (io_nonblock_set): return whether
nonblock flag was changed.
* ext/io/nonblock/nonblock.c (rb_io_nonblock_block): nothing to
restore but just yield unless nonblock flag is changed.
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
09:41 AM Revision 903c0f55 (git): test_nonblock.rb: refine failure message
* test/socket/test_nonblock.rb (test_accept_nonblock): refine
assertion for better failure message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:41 AM Revision 05882344 (git): test_autoload.rb: use class_eval
* test/ruby/test_autoload.rb (add_autoload): use class_eval
instead of string eval.
* test/ruby/test_autoload.rb (remove_autoload_constant): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50529 b2dd03c8-39d4-4d8f-98ff-823fe...
nobu (Nobuyoshi Nakada)
09:03 AM Revision bd40bd33 (git): gc.c: remove ifdef
* gc.c (obj_info): remove needless ifdef, and adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:50 AM Feature #11140: Allow rubygems' `require` to handle `autoload` calls
Since this commit `TestAutoload#test_threaded_accessing_constant` continuously fails on some Linux distributions.
e.g.: http://rubyci.blob.core.windows.net/ubuntu1404/ruby-trunk/log/20150514T220002Z.fail.html.gz
nobu (Nobuyoshi Nakada)
06:31 AM Revision c4d21679 (git): intern.h: rb_f_notimplement for ext on Windows
* include/ruby/intern.h (rb_f_notimplement): should not respond to
not-implemented methods. as the address inside a DLL and the
imported address are different on Windows, use an exported
variable to share the same address.
git-sv...
nobu (Nobuyoshi Nakada)
04:56 AM Revision 15b97489 (git): * 2015-05-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:56 AM Revision 7be51698 (git): * lib/monitor.rb (mon_try_enter, mon_enter): should reset @mon_count
just in case the previous owner thread dies without mon_exit.
[fix GH-874] Patch by @chrisberkhout
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
 

Also available in: Atom