* [ruby-core:93498] [Ruby master Misc#15978] Deprecate FIXNUM_MIN and FIXNUM_MAX
[not found] <redmine.issue-15978.20190702173222@ruby-lang.org>
@ 2019-07-02 17:32 ` rjmaltamar
2019-07-03 2:10 ` [ruby-core:93507] " shyouhei
` (2 subsequent siblings)
3 siblings, 0 replies; 4+ messages in thread
From: rjmaltamar @ 2019-07-02 17:32 UTC (permalink / raw
To: ruby-core
Issue #15978 has been reported by robertomiranda (Roberto Mirand).
----------------------------------------
Misc #15978: Deprecate FIXNUM_MIN and FIXNUM_MAX
https://bugs.ruby-lang.org/issues/15978
* Author: robertomiranda (Roberto Mirand)
* Status: Open
* Priority: Normal
* Assignee:
----------------------------------------
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:93507] [Ruby master Misc#15978] Deprecate FIXNUM_MIN and FIXNUM_MAX
[not found] <redmine.issue-15978.20190702173222@ruby-lang.org>
2019-07-02 17:32 ` [ruby-core:93498] [Ruby master Misc#15978] Deprecate FIXNUM_MIN and FIXNUM_MAX rjmaltamar
@ 2019-07-03 2:10 ` shyouhei
2019-07-03 9:18 ` [ruby-core:93511] " rjmaltamar
2019-07-03 14:22 ` [ruby-core:93514] " naruse
3 siblings, 0 replies; 4+ messages in thread
From: shyouhei @ 2019-07-03 2:10 UTC (permalink / raw
To: ruby-core
Issue #15978 has been updated by shyouhei (Shyouhei Urabe).
Status changed from Open to Feedback
Can you tell us why? We only expose these constants into C and there _are_ fixnums in C. Usages of them are seen in the wild, for instance https://github.com/ged/ruby-pg/blob/master/ext/pg_text_decoder.c
I fail to see any reason to deprecate.
----------------------------------------
Misc #15978: Deprecate FIXNUM_MIN and FIXNUM_MAX
https://bugs.ruby-lang.org/issues/15978#change-79070
* Author: robertomiranda (Roberto Miranda)
* Status: Feedback
* Priority: Normal
* Assignee:
----------------------------------------
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:93511] [Ruby master Misc#15978] Deprecate FIXNUM_MIN and FIXNUM_MAX
[not found] <redmine.issue-15978.20190702173222@ruby-lang.org>
2019-07-02 17:32 ` [ruby-core:93498] [Ruby master Misc#15978] Deprecate FIXNUM_MIN and FIXNUM_MAX rjmaltamar
2019-07-03 2:10 ` [ruby-core:93507] " shyouhei
@ 2019-07-03 9:18 ` rjmaltamar
2019-07-03 14:22 ` [ruby-core:93514] " naruse
3 siblings, 0 replies; 4+ messages in thread
From: rjmaltamar @ 2019-07-03 9:18 UTC (permalink / raw
To: ruby-core
Issue #15978 has been updated by robertomiranda (Roberto Miranda).
Yeah sure basically for consistency, now that Bignum and Fixnum classes have been deprecated in favour of Integer. I think that FIXNUM_MIN and FIXNUM_MAX should be deprecated and replaced for something that reflects that ruby has a single class for integers. I was thinking something like INTEGER_MAX and INTEGER_MIN
----------------------------------------
Misc #15978: Deprecate FIXNUM_MIN and FIXNUM_MAX
https://bugs.ruby-lang.org/issues/15978#change-79073
* Author: robertomiranda (Roberto Miranda)
* Status: Feedback
* Priority: Normal
* Assignee:
----------------------------------------
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:93514] [Ruby master Misc#15978] Deprecate FIXNUM_MIN and FIXNUM_MAX
[not found] <redmine.issue-15978.20190702173222@ruby-lang.org>
` (2 preceding siblings ...)
2019-07-03 9:18 ` [ruby-core:93511] " rjmaltamar
@ 2019-07-03 14:22 ` naruse
3 siblings, 0 replies; 4+ messages in thread
From: naruse @ 2019-07-03 14:22 UTC (permalink / raw
To: ruby-core
Issue #15978 has been updated by naruse (Yui NARUSE).
Status changed from Feedback to Rejected
robertomiranda (Roberto Miranda) wrote:
> Yeah sure basically for consistency, now that Bignum and Fixnum classes have been deprecated in favour of Integer. I think that FIXNUM_MIN and FIXNUM_MAX should be deprecated and replaced for something that reflects that ruby has a single class for integers. I was thinking something like INTEGER_MAX and INTEGER_MIN
I doubt such consistency is worth breaking compatibility.
And though Fixnum and Bignum is vanished from Ruby world, they are still alive in C world of Ruby implementation.
----------------------------------------
Misc #15978: Deprecate FIXNUM_MIN and FIXNUM_MAX
https://bugs.ruby-lang.org/issues/15978#change-79076
* Author: robertomiranda (Roberto Miranda)
* Status: Rejected
* Priority: Normal
* Assignee:
----------------------------------------
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-07-03 14:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <redmine.issue-15978.20190702173222@ruby-lang.org>
2019-07-02 17:32 ` [ruby-core:93498] [Ruby master Misc#15978] Deprecate FIXNUM_MIN and FIXNUM_MAX rjmaltamar
2019-07-03 2:10 ` [ruby-core:93507] " shyouhei
2019-07-03 9:18 ` [ruby-core:93511] " rjmaltamar
2019-07-03 14:22 ` [ruby-core:93514] " naruse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).