Activity
From 11/21/2017 to 11/27/2017
11/27/2017
-
10:49 PM Bug #12689: Thread isolation of $~ and $_
- We've had another report in JRuby about this behavior. In this case, two threads doing String#split step on each others backrefs because they share a backref frame: https://github.com/jruby/jruby/issues/4868
This case can't even be av... -
07:58 PM Feature #12275: String unescape
- Sorry for late, I implemented `#undump` as `v1.patch` based on my "string_undump" gem.
Please see https://github.com/ruby/ruby/pull/1765 also.
## Spec
Roughly speaking, my implementation follows steps below:
1. If `self` is wra... -
04:31 PM Bug #14131 (Closed): test_backtrace.rb: Fails on ppc64le
- Current test_backtrace.rb fails on ppc64el environment with the following stack:
~~~
unstable ➜ ruby git:(trunk) ✗ ./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./test/runner.rb" --ruby="... -
02:42 PM Feature #8563: Instance variable arguments
- matz (Yukihiro Matsumoto) wrote:
> Arguments are giving names to passed values, which is different from attribute (instance variables) initialization. I think they should be separated clearly.
This may be a valid theoretical distinct... -
02:01 PM Feature #13563 (Closed): Implement Hash#choice method.
-
12:38 PM Feature #2710 (Rejected): Kernel#load loads a relative path
-
12:38 PM Feature #2709 (Rejected): $VERBOSE, $DEBUG and Kernel#sprintf
-
12:31 PM Feature #3591: Adding Numeric#divisor? (Have working implementation)
- Summary:
* Name candidates are:
* `divisor?` (the original proposal)
* `divisible?`
* `divisible_by?` (OP's final choice)
* `multiple?`
* `multiple_of?` (ActiveSupport's choice)
* `factor?`
* There is no objection t... -
12:24 PM Feature #3591: Adding Numeric#divisor? (Have working implementation)
- marcandre (Marc-Andre Lafortune) wrote:
> I still curious as to actual use cases. Looking at Rails' code, there is one instance of this, and followed immediately by the more general `foo % bar == baz` (when implementing `nth_child`).
... -
11:55 AM Feature #11256 (Assigned): anonymous block forwarding
- Lazy Proc allocation for block parameters (#14045) is implemented, so capturing a block into a proc is not slow.
One of the motivation now disappeared, but there is another motivation of this feature: the simplicity of the notation. ... -
11:48 AM Bug #3434 (Feedback): Specs for coercion?
- All of this are just my opinion, but obviously, coercion is a "best effort" feature. I believe there is no conclusive spec for coercion even in matz's heart. Until we encounter a concrete case that doesn't work well, we can't think wha...
-
11:04 AM Feature #3333 (Rejected): mkmf (have|find)_cxx_header
- 望み薄なので一旦閉じます。
今でも必要とお思いでしたら、議論を進める材料(`lang: "C++"` の方針でのパッチとか)を用意すると良いかも知れません。 -
11:02 AM Revision 6592dca9 (git): Ignored obsoleted `bundle_ruby` command from upstream.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:48 AM Feature #3388: regexp support for start_with? and end_with?
- After that, `String#start_with?` now accepts regexp (#13712). But `end_with?` does not support regexp yet because we don't have a direct use case for `end_with?` (and because of the difficulty of implementation).
- 10:45 AM Revision c6fa9664 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:45 AM Revision 55518710 (git): Merge rdoc-6.0.0.beta4 from upstream.
- It version applied `frozen_string_literal: true`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:57 AM Feature #3328 (Rejected): Kernel#p outputs as default_internal encoding, and so on
- 望みがなさそうなので一旦閉じます。
たるいさん、もしまだこれが必要とお思いでしたら、なんかファシリテートをお願いします。
(わりと Unicode 世界制覇の理想郷に近づいてきたんですかね。2.0 で Unicode デフォルトになったし) -
07:51 AM Feature #3300 (Rejected): onig_number_of_captures に相当するメソッド Regexp#ncapture
- 望みがなさそうなので一旦閉じます。
きしもとさん、もしまだ Regexp#ncaptures が必要とお思いでしたら、フィードバック付きで reopen してください。 -
07:41 AM Feature #3289 (Rejected): Division of negative numbers
- I believe this ticket is hopeless. Closing.
-
07:29 AM Feature #3219 (Rejected): assert now passes non-boolean result
- I don't remember this ticket, but I guess this request should be handled in [the upstream of test/unit](https://github.com/test-unit/test-unit). (Or, if you want to change `test/lib/minitest`, please change freely.)
-
07:13 AM Feature #3163 (Rejected): SyntaxError when using variable which is also a method in current scope with a Symbol argument
- This ticket looks hopeless even if we leave it as open. Also, the current behavior is widely accepted by many people. Eregon, if you really want to change this behavior, could you please try to create a patch that has less side effect ...
-
06:59 AM Revision 2d9f20e1 (git): psych_parser.c: fix compile error
- * ext/psych/psych_parser.c (parse): fix declarations after
statement, which cause compile error on mswin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:59 AM Feature #14104: Remove `trace` instructions
- vmakarov (Vladimir Makarov) wrote:
> So I considered to remove and insert trace insns when the tracing is off or on. It requires to change branch offset, catch table offsets, and line tables. To speed up this, I would keep the log of ... -
05:38 AM Revision 69185464 (git): Ignored `bundle_ruby` example with Ruby core.
- It was ignored with Bundler-1.15.x. It's regression at r60603.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:11 AM Revision b613a2c5 (git): Merge psych-3.0.0.beta4 from upstream.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:11 AM Revision 33201294 (git): Ignore failures related to threading.
- * test/lib/tracepointchecker.rb: ignore "deletion trace" check
when there are threads other than the main thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:43 AM Revision 9f1c00ce (git): Relax `rb_bug()` condition.
- * iseq.c (rb_iseq_trace_set): simply return immediately if
ISeq::compile_data is available. Not sure why this state
is allowed, but exception during compile (or `ISeq::load`)
can make such states.
git-svn-id: svn+ssh://ci.ruby-la...
11/26/2017
-
11:52 PM Revision 2734867c (git): parse.y: Fix the last location of NODE_KW_ARG
- * parse.y (kwd_append): Update the last location of
NODE_KW_ARG when NODE is appended to the last.
e.g. The locations of the first NODE_KW_ARG is fixed:
```
def a(b: 1, c: 2); end
```
* Before
```
NODE_KW_ARG (line: 1... - 11:33 PM Revision 11dc055b (git): * 2017-11-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:33 PM Revision 62b5c62f (git): parse.y: Fix the last location of NODE_OPT_ARG
- * parse.y (opt_arg_append): Update the last location of
NODE_OPT_ARG when NODE is appended to the last.
e.g. The locations of the first NODE_OPT_ARG is fixed:
```
def a(b = 1, c = 2); end
```
* Before
```
NODE_OPT_ARG... -
10:33 AM Revision a9968933 (git): openssl: sync with 2475d94517b4
- Merge a commit from upstream:
01445af367ec test/test_ssl: prevent changing default internal encoding
OpenSSL::TestSSL#test_fallback_scsv could change the default internal
encoding accidentally, causing other unrelated test case... -
02:11 AM Revision 4f535768 (git): leakchecker.rb: no conversion
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:36 AM Revision 999e4db6 (git): * 2017-11-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:36 AM Revision cea5a911 (git): util.h: remove my_getcwd
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11/25/2017
-
04:41 PM Feature #14128: Introduce Hash#delete default value
- I am in favor of this.
-
02:12 PM Revision a55320b0 (git): openssl: import v2.1.0.beta2
- Import Ruby/OpenSSL 2.1.0.beta2. The full commit log since commit
e72d960db262 which was imported by r60013 can be found at:
https://github.com/ruby/openssl/compare/e72d960db262...v2.1.0.beta2
----------------------------------... -
02:12 PM Revision 55953e37 (git): openssl: revert changes in SSLContext#{min,max}_version= in r60310
- And adapt a net/http test to their old behavior. [ruby-core:83491]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:00 PM Bug #14130 (Closed): Keyword arguments are ripped from the middle of hash if argument have default value
- Here is the code:
```ruby
def test1(source = {}, **opts)
puts "SOURCE: #{source}, OPTS: #{opts}"
end
def test2(source, **opts)
puts "SOURCE: #{source}, OPTS: #{opts}"
end
puts "No source"
test1(length: 2000)
# 1. SOU... -
11:57 AM Revision c56ac086 (git): parse.y: opt_arg_append
- * parse.y (opt_arg_append): extract optional arguments
append.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:20 AM Feature #12275: String unescape
- > Still, there is the question of what the encoding of the result of #unescape should be.
Indeed. It is one of few things that I'm still worried about.
For now, `undump` inherits receiver's encoding:
~~~ ruby
"abc".encode('euc-... - 01:39 AM Revision bf2ddcf8 (git): * 2017-11-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:39 AM Revision ce64157d (git): parse.y: Fix a location of assignable nodes
- * parse.y (new_op_assign_gen): Update the location of
lhs when NODE_OP_ASGN_OR/NODE_OP_ASGN_AND are generated.
When NODE_OP_ASGN_OR/NODE_OP_ASGN_AND are generated
a nd_value of lhs is set, so it is needed to update
a location of ...
11/24/2017
-
06:26 PM Feature #14129: Feature Request: sockets - add support for recvmmsg
- I can not answer the question, but I believe this should be filed at "Feature"
rather than "Bug". Normally the ruby core team enables functionality if it can
be for several Operating Systems, e. g. not solely confined to but a single
... -
12:17 PM Feature #14129: Feature Request: sockets - add support for recvmmsg
- Hi,
Are there any plans to add support for recvmmsg in sockets lib?
http://man7.org/linux/man-pages/man2/recvmmsg.2.html
recvmmsg - receive multiple messages on a socket
Thanks
Donal -
12:16 PM Feature #14129 (Open): Feature Request: sockets - add support for recvmmsg
- Hi,
Are there any plans to add support for recvmmsg in sockets lib?
http://man7.org/linux/man-pages/man2/recvmmsg.2.html
recvmmsg - receive multiple messages on a socket
Thanks
Donal -
01:20 PM Feature #14128: Introduce Hash#delete default value
- Sorry, I thought I was recording it as a feature request. Thanks for fixing nobu.
-
01:08 PM Revision 6240f583 (git): node.h: Remove not used macros
- * node.h (nd_modl, nd_clss_, nd_tval, nd_visi_): Remove
not used macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:37 PM Revision 7128849c (git): test_workspace.rb: skip test failing on windows
- > Note that all files are always readable
> ...
It seems that we can't make a file unreadable with `File.chmod` on
Windows.
When file can't be read, File::EACCES is raised on Windows too. So
r60900 should work anyway, but I don't know h... -
11:00 AM Revision 6d14c47c (git): Fix TOCTTOU and avoid to read existing unreadable file
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:00 AM Revision dff3d5dc (git): Fix typos [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:04 AM Feature #12275: String unescape
- tad (Tadashi Saito) wrote:
> > Also, please think about encodings. Some people may want all non-ASCII characters escaped, but others may not want that at all.
> ...
Thanks for your explanation. I was confused.
Still, there is the ... -
07:05 AM Feature #12275: String unescape
- Thank you for your comments.
> I think rather than using true/false to distinguish single and double quotes, it would be better to have a keyword parameter, such as quotes: :single (and quotes: :double, but that would be default).
... -
05:46 AM Revision 9560d2e0 (git): test/irb/test_workspace.rb: fix SCRIPT_LINES__
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:44 AM Revision 9b48a6ae (git): workspace.rb: one more space
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:00 AM Revision 8b6e9aa7 (git): workspace.rb: fix SCRIPT_LINES__
- * lib/irb/workspace.rb (code_around_binding): `SCRIPT_LINES__`
values are arrays of lines. get file and line at once. moved
loop-invariant format string. join without extra strings by
`$,`.
git-svn-id: svn+ssh://ci.ruby-lang.or... - 04:49 AM Revision 8fb87e43 (git): file.c: simplify eaccess(3) callers
- This will make future work to release GVL here simpler.
* file.c (rb_eaccess): new function
(rb_file_readable_p): use rb_eaccess
(rb_file_writable_p): ditto
(rb_file_executable_p): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/rub... -
04:29 AM Revision ea576241 (git): NEWS: note about r57274
- fixed r60888 to have Feature number too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:26 AM Revision f418f9b4 (git): parse.y: make_array
- * parse.y (make_array): turn NULL node into zero length array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:26 AM Revision eb13bcec (git): parse.y: refactor list literals
- * parse.y (words, symbols, qwords, qsymbols): unify empty list and
non-empty list.
* parse.y (parser_parse_string): always dispatch a word separator
at the beginning of list literals.
[ruby-core:83871] [Bug #14126]
git-svn-id: sv... -
04:26 AM Revision 9c86c513 (git): test_parser_events.rb: results of list literals
- * test/ripper/test_parser_events.rb (test_qwords_add),
(test_qsymbols_add, test_symbols_add, test_words_add): more
assertions for results of list literals.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60891 b2dd03c8-39d4-4d8f-9... -
03:53 AM Feature #14124 (Closed): Show source around binding.irb on irb startup
- Applied in changeset trunk|r60888.
----------
irb.rb: show source around binding.irb on start
[Feature #14124] [ruby-dev:50319] [close GH-1764] -
03:51 AM Feature #14124: Show source around binding.irb on irb startup
- いしつかさんにもコンタクトを取ったところ反対ではなく、また他のコミッタの方から何度かレビューをいただく間特に機能自体への反対意見がなかったので、コミットしてしまおうと思います。
Pull Requestを見ていただいた方、ありがとうございました。 - 03:53 AM Revision 4046ca57 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:53 AM Revision 05d7ab61 (git): * 2017-11-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:53 AM Revision 106c9883 (git): irb.rb: show source around binding.irb on start
- [Feature #14124] [ruby-dev:50319] [close GH-1764]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:53 AM Feature #12700: regexg heredoc support
- duerst (Martin Dürst) wrote:
> > So I changed my mind. Let me +1.
> ...
Here you are: https://github.com/shyouhei/optdown/blob/master/lib/optdown/expr.rb
> There may be exceptions, but I don't think it's a good idea to write a rege...
11/23/2017
-
08:58 PM Feature #14128: Introduce Hash#delete default value
- I think this should be filed under features rather than bugs.
Here is a link to the documentation if anyone else wants to have
a look:
https://ruby-doc.org/core/Hash.html#method-i-delete
I am neither pro or con on the sugge... -
02:18 PM Feature #14128 (Assigned): Introduce Hash#delete default value
- Mirror `Hash#fetch(key [, default]) → obj` with `Hash#delete(key [, default]) → obj`.
Allows for more concise extraction of a value from a hash with a default.
~~~ ruby
# Currently
a = hash.delete(:a) { 10 }
# Becomes
a = has... -
03:35 PM Bug #14126: Recent parse.y (Ripper) changes - lexing, tokenizing
- @nobu
Thank you for the patch, as the lex array looks as I would think it should (I'm not that familiar with parsers.)
Using 60884, `Ripper.sexp_raw` and `Ripper.sexp` now return nil for all three strings in the above code. They b... -
04:30 AM Bug #14126 (Closed): Recent parse.y (Ripper) changes - lexing, tokenizing
- Applied in changeset trunk|r60883.
----------
ripper.y: fix word list events
* parse.y (parser_skip_words_sep): QWORDS_BEG should not include
the first separators in ripper.
* parse.y (parser_parse_string): WORDS_SEP should not incl... -
02:15 PM Revision f8523d35 (git): parse.y: Fix a location of serial NODE_AND/NODE_OR
- * parse.y (logop_gen): Update the last location of
NODE_AND/NODE_OR when NODE is appended to the last.
e.g. The locations of NODE_AND is fixed:
```
a && b && c
```
* Before
```
NODE_AND (line: 1, first_lineno: 1, firs... -
02:04 PM Revision dd979f9d (git): .travis.yml: revert "workaround to resolve ::1"
- This commit reverts r60736.
Shibata-san reported the cause of r60736 to Travis and it seems fixed:
https://github.com/travis-ci/travis-ci/issues/8780
In another CI, I found "::1 ip6-localhost ip6-loopback" in build
system informati... -
12:42 PM Bug #14127: (CSV) generating UTF-16LE encoded file without BOM
- laykou (Ladislav Gallay) wrote:
> This file should contain BOM information so that it is properly detected as UTF-16LE file.
> ...
csv.rb seems having bugs in ASCII-incompatible encodings support.
> According to `file -I file.csv` t... -
11:52 AM Revision 4a738901 (git): thread.c: Update documents
- * thread.c (rb_default_coverage): Update documents of internal
data structures for branch coverage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:10 AM Revision 1046eae7 (git): io.c: read BOM only for reading
- * io.c (io_strip_bom): just abandon detecting UTF encoding by BOM
unless opened for reading.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:30 AM Revision dee6a910 (git): ripper.y: fix word list events
- * parse.y (parser_skip_words_sep): QWORDS_BEG should not include
the first separators in ripper.
* parse.y (parser_parse_string): WORDS_SEP should not include
the closing parentheses of a word list in ripper, should include
spaces... -
03:14 AM Revision 717b7fd9 (git): debug.c: include RIMemo in ruby_dummy_gdb_enums
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:26 AM Feature #5481: Gemifying Ruby standard library
- Charles,
> Clarify for me please: are the new gemified stdlibs all going to use the default gem mechanism?
Default gems have their code included in the ruby repo, and they cannot be removed from a user's installation. But, the use...
11/22/2017
-
10:51 PM Feature #5481: Gemifying Ruby standard library
- A few quick notes:
* Clarify for me please: are the new gemified stdlibs all going to use the default gem mechanism?
* Any "ruby" meta-gem will ideally need an equivalent for JRuby, so it doesn't try to install exts that don't exis... -
09:13 PM Revision 8692d74b (git): lib/set.rb: [DOC] remove empty comments
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:58 PM Revision 57d2be7b (git): * 2017-11-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:58 PM Revision 62191f1c (git): set.rb: improve docs for Set
- * lib/set.rb: [DOC] add examples for Set#replace,
add examples for creating a set from a hash with duplicates,
simplify and fix style of some other examples, fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60879 b2dd03c... -
08:58 PM Feature #14125: Readline Module (STDLIB): Add support for ^O emacs keybinding?
- Is the functionality you referred to in the C readline available already?
Sometimes it may take a little while to have all C-related code from bindings
available e. g. in the ruby Readline module. I know way too little about
Readli... -
03:50 AM Feature #14125: Readline Module (STDLIB): Add support for ^O emacs keybinding?
- Whoops. All those superscript characters should be regular characters preceded by a carat, to signify a CTRL key binding.
-
03:49 AM Feature #14125 (Closed): Readline Module (STDLIB): Add support for ^O emacs keybinding?
- The pry gem features a REPL that uses the Readline stdlib module. With the help of this module, pry's REPL supports most emacs-style readline key bindings:
* ^P / ^N for navigating up/down the command line history,
* ^K for killing t... -
08:38 PM Bug #14127 (Rejected): (CSV) generating UTF-16LE encoded file without BOM
- This file should contain BOM information so that it is properly detected as UTF-16LE file.
How to generate such file:
~~~ruby
file = CSV.generate(encoding: 'UTF-16LE') do |csv|
csv << ['something', 'ľščťžýáíé']
end
~~~
A... -
08:36 PM Bug #14126 (Closed): Recent parse.y (Ripper) changes - lexing, tokenizing
- First of all, I'd like to thank @yui-knk for all the work on `parse.y`. I assume some of it is due the movement of `RDoc` from 'seattlerb' to 'ruby', along with `RDoc` now using Ripper instead of its own parser.
I'm a `YARD` user. R... - 12:32 PM Revision 9a2ea103 (git): * 2017-11-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:32 PM Revision b5ee3168 (git): parse.y: Fix the locations of NODE_BLOCK_PASS
- * parse.y (arg_blk_pass): Update the first location of
NODE_BLOCK_PASS if nd_head is assigned.
e.g. The locations of NODE_BLOCK_PASS is fixed:
```
a(1, &:to_s)
```
* Before
```
NODE_BLOCK_PASS (line: 1, first_lineno... -
11:18 AM Feature #9867 (Closed): Introduce each/else block into ruby
-
10:20 AM Feature #7836 (Closed): Need a way to get Method and UnboundMethod objects to methods overridden by prepended modules
-
10:13 AM Bug #7755 (Closed): JSON::Generate#configure's argument conversion
-
10:08 AM Bug #3128 (Closed): Randomness specs
-
10:08 AM Bug #7780 (Closed): Marshal & YAML should deserialize only basic types by default.
-
10:06 AM Feature #3714 (Closed): Add getters for Enumerator
-
09:59 AM Bug #11776 (Closed): dig and custom objects
-
09:44 AM Bug #13781 (Closed): Should the safe navigation operator invoke `nil?`
-
08:37 AM Bug #8352: URI squeezes a sequence of slashes in merging paths when it shouldn't
- duerst (Martin Dürst) wrote:
>
> ...
It definitely doesn't play nicely with dot-segment resolution, but then I wouldn't want to bear the burden of deciding how to resolve that, one way or the other.
In this particular case, I think... -
07:41 AM Bug #8352: URI squeezes a sequence of slashes in merging paths when it shouldn't
- knu (Akinori MUSHA) wrote:
> I presume there are few programmers who would rely on the current behavior.
I agree that there should be few programmers who would rely on subsequent slashes to be collapsed to a single slash. However, ...
11/21/2017
-
06:08 PM Feature #14124 (Closed): Show source around binding.irb on irb startup
- k0kubun です。
ソースコード中の複数箇所に binding.irb を記述した時、IRBのセッションがどこから起動されたのか分からず困っています。
以下のように、 binding.irb からIRBを起動した時だけどこから起動されたのかわかるととても助かるのですが、いかがでしょうか。
~~~
$ cat /tmp/test.rb
def test
binding.irb
end
test
$ ruby /tmp/test.rb
... -
05:37 PM Feature #14123: Kernel#pp by default
- I agree with Yusuke Endoh.
I also wanted to suggest this many times before but shied away because
I was not sure if this would have any chance, perhaps due to speed
reason or something.
I love pp. It's my favourite way to "debug"... -
05:11 PM Feature #14123: Kernel#pp by default
- Eregon (Benoit Daloze) wrote:
> The thread safety problem is due to `undef`, right?
Correct. The `pp` library defines `Kernel#pp`, so in verbose mode if you don't undef or remove the method first, this causes a warning in verbose m... -
04:15 PM Feature #14123: Kernel#pp by default
- > also breaks when running ruby chrooted
Regardless of proposed implementation, `require 'pp'` wouldn't work if chrooted. I couldn't understand why it's problematic.
> ...
It's already module_function, isn't it?
https://github.co... -
03:28 PM Feature #14123: Kernel#pp by default
- jeremyevans0 (Jeremy Evans) wrote:
> I'm not opposed to this feature, but the proposed implementation is not thread-safe, and also breaks when running ruby chrooted. If `Kernel#pp` is implemented, I request the implementation be thread... -
03:05 PM Feature #14123: Kernel#pp by default
- I'm not opposed to this feature, but the proposed implementation is not thread-safe, and also breaks when running ruby chrooted. If `Kernel#pp` is implemented, I request the implementation be thread-safe and that it fall back to `Kernel...
-
08:14 AM Feature #14123: Kernel#pp by default
- +1
I sometimes get ```undefined method `pp' for main:Object (NoMethodError)``` error when I did debug my script. It's useful for me. -
08:11 AM Feature #14123: Kernel#pp by default
- Brief background: I talked about `pp` with some people at RubyConf, and all people are tired of writing `require "pp"`. And then, we reached this simple solution. Note that we already have a similar trick, as [`Binding#irb`](https://gi...
-
08:02 AM Feature #14123 (Closed): Kernel#pp by default
- Matz, may I commit this? I really want this.
```
diff --git a/prelude.rb b/prelude.rb
index 7b98e28285..87f49ac9fb 100644
--- a/prelude.rb
+++ b/prelude.rb
@@ -141,3 +141,11 @@ def irb
irb
end
end
+
+module Kernel
... -
12:29 PM Revision 31b6079e (git): Fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:29 PM Revision 246c986e (git): Use `const void*` instead of `const char*`
- Use cast from `char*` to `void*` instead of union in opendir_without_gvl,
because convert from `void*` to `char*` without union in nogvl_opendir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:15 AM Revision cac048a1 (git): vm_args.c: ec arg of args_setup_kw_parameters
- * vm_args.c (args_setup_kw_parameters): use same ec as the caller.
make arguments order consistent with other functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:48 AM Revision afa10bd1 (git): Skip comment lines
- * template/prelude.c.tmpl (translate): empty (only LF) lines are not necessary.
so skip them, but for safety only when they are made from comment line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60873 b2dd03c8-39d4-4d8f-98ff-8... -
06:43 AM Feature #14122: Add LogicError
- For most method names, on most objects, one gets a `NoMethodError`. This error is produced by the method lookup part of the Ruby interpreter, at no cost to the implementers of particular classes. Changing that to a `LogicError` or whatev...
-
06:26 AM Feature #14122: Add LogicError
- I am not sure if this is a good new error "type".
Who defines what exactly is not about "logic" in these cases? Is
5 / 0 also a logic error? Or adding hash + array via the '+'?
Because that is "TypeError: no implicit conversion of H... -
02:19 AM Feature #14122 (Open): Add LogicError
- Dear friends at ruby
I'd like to suggest a new error for ruby-core: LogicError
That error should be thrown
upon operations that are detected to be illogic or impossible by semantics.
I believe that this could improve the error me... -
05:01 AM Revision bca96661 (git): fix test_erb.rb [GH-1763]
- * test/erb/test_erb.rb (test_run): require stringio. suppress an
unused variable warning.
From: MSP-Greg <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:57 AM Revision eb3e3248 (git): check invariant.
- * iseq.c (rb_iseq_trace_set): at this point ISEQ_USE_COMPILE_DATA
should not be set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:56 AM Revision 48bfcdb4 (git): test/ruby/bug-13526.rb: should wait until all threads are stopped
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:47 AM Revision c0ffccf7 (git): parse.y: Fix the locations of NODE in percent strings
- * parse.y (parser_yylex): token_flush before
calling parse_string. Without token_flush
the first locations of NODE in percent strings
are set to the location of %.
e.g. The locations of NODE_STR is fixed:
```
%w[a b]
...