[#79532] Immutable Strings vs Symbols — Daniel Ferreira <subtileos@...>

Hi,

15 messages 2017/02/15

[ruby-core:79675] [Ruby trunk Feature#13097] Deprecate Socket.gethostbyaddr and Socket.gethostbyname

From: matz@...
Date: 2017-02-22 09:36:18 UTC
List: ruby-core #79675
Issue #13097 has been updated by Yukihiro Matsumoto.


I agree with Eric. Documentation deprecation is preferable.

Matz.


----------------------------------------
Feature #13097: Deprecate Socket.gethostbyaddr and Socket.gethostbyname
https://bugs.ruby-lang.org/issues/13097#change-63095

* Author: Vit Ondruch
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
----------------------------------------
Is there a reason to keep these methods around? They were marked obsolete by POSIX.1-2001 and the POSIX.1-2008 removes the specifications of gethostbyname, gethostbyaddr recommending the use of getaddrinfo and getnameinfo instead. If they are kept because of Ruby backward compatibility, shouldn't they be re-implemented by these modern interfaces?



-- 
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>

In This Thread

Prev Next