[#100309] How to use backport custom field — Jun Aruga <jaruga@...>
Please allow my ignorance.
9 messages
2020/10/06
[#100310] Re: How to use backport custom field
— "NARUSE, Yui" <naruse@...>
2020/10/06
"Backport custom field" is only available for tickets whose tracker is "Bug".
[#100311] Re: How to use backport custom field
— Jun Aruga <jaruga@...>
2020/10/06
On Tue, Oct 6, 2020 at 4:44 PM NARUSE, Yui <naruse@airemix.jp> wrote:
[#100314] Re: How to use backport custom field
— "NARUSE, Yui" <naruse@...>
2020/10/06
Thank you for confirmation.
[#100322] Re: How to use backport custom field
— Jun Aruga <jaruga@...>
2020/10/07
On Tue, Oct 6, 2020 at 7:25 PM NARUSE, Yui <naruse@airemix.jp> wrote:
[#100326] Re: How to use backport custom field
— "NARUSE, Yui" <naruse@...>
2020/10/07
I added you to "Reporter" role in the project
[#100327] Re: How to use backport custom field
— Jun Aruga <jaruga@...>
2020/10/07
On Wed, Oct 7, 2020 at 1:42 PM NARUSE, Yui <naruse@airemix.jp> wrote:
[#100358] [BUG] ruby 2.6.6 warning with encdb.so — shiftag <shiftag@...>
Hello,
1 message
2020/10/10
[ruby-core:100278] [Ruby master Feature#17210] More readable and useful `Set#inspect`
From:
zverok.offline@...
Date:
2020-10-02 09:22:15 UTC
List:
ruby-core #100278
Issue #17210 has been updated by zverok (Victor Shepelev).
BTW, as a side note, it would be good to have some "style guide" for inspect behavior in Ruby. Ad-hoc rule seem to be `#<ClassName some representation of content>` most of the time, except for objects that have corresponding literals -- they are just represented by literals. But:
* how the "content" should be represented, is not always consistent from class to class: ` #<struct A a=1, b=2>`, `#<Date: 2020-10-02 ((2459125j,0s,0n),+0s,2299161j)>`, `#<Set: {1, 2, 3}>`, `#<OpenStruct a=1, b=2>`, `#<Enumerator: [1, 2, 3]:map>`, `<File:README.md>`, `#<CSV::Row "Name":"Bob" "Department":"Engineering" "Salary":"1000">`
* of core objects, say, the `Time` is breaking all conventions being represented as `2020-10-02 12:10:51 +0300` -- which even doesn't look as one atomic entity
* of all stdlib I've checked, only `matrix` does similar to proposed: `Matrix[[25, 93], [-1, 66]]`, `Vector[1, 2]`, so it is a bit unusual for `#inspect`, though it is not necessary a bad thng
----------------------------------------
Feature #17210: More readable and useful `Set#inspect`
https://bugs.ruby-lang.org/issues/17210#change-87865
* Author: marcandre (Marc-Andre Lafortune)
* Status: Open
* Priority: Normal
* Assignee: knu (Akinori MUSHA)
----------------------------------------
I would like to change `Set#inspect`/`to_s`:
```ruby
# before
puts Set[1,2,3] # => "#<Set: {1, 2, 3}>"
# after
puts Set[1,2,3] # => "Set[1, 2, 3]"
```
This output is shorter, readable, and has the property that it corresponds to Ruby code
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>