Message from discussion
Is inet_parse.erl deprecated?
Received: by 10.204.130.7 with SMTP id q7mr591439bks.2.1348232051074;
Fri, 21 Sep 2012 05:54:11 -0700 (PDT)
X-BeenThere: erlang-programming@googlegroups.com
Received: by 10.204.145.67 with SMTP id c3ls1364314bkv.3.gmail; Fri, 21 Sep
2012 05:54:10 -0700 (PDT)
Received: by 10.204.148.22 with SMTP id n22mr491232bkv.0.1348232050589;
Fri, 21 Sep 2012 05:54:10 -0700 (PDT)
Received: by 10.204.148.22 with SMTP id n22mr491231bkv.0.1348232050569;
Fri, 21 Sep 2012 05:54:10 -0700 (PDT)
Return-Path: <erlang-questions-boun...@erlang.org>
Received: from hades.cslab.ericsson.net (hades.cslab.ericsson.net. [192.121.151.104])
by gmr-mx.google.com with ESMTP id e23si709608bks.0.2012.09.21.05.54.10;
Fri, 21 Sep 2012 05:54:10 -0700 (PDT)
Received-SPF: pass (google.com: domain of erlang-questions-boun...@erlang.org designates 192.121.151.104 as permitted sender) client-ip=192.121.151.104;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of erlang-questions-boun...@erlang.org designates 192.121.151.104 as permitted sender) smtp.mail=erlang-questions-boun...@erlang.org
Received: from hades.cslab.ericsson.net (hades [192.121.151.104])
by hades.cslab.ericsson.net (Postfix) with ESMTP id C081F5C1BA;
Fri, 21 Sep 2012 14:54:01 +0200 (CEST)
X-Original-To: erlang-questi...@erlang.org
Delivered-To: erlang-questi...@erlang.org
Received: from mailgw1.ericsson.se (mailgw1.ericsson.se [193.180.251.45])
by hades.cslab.ericsson.net (Postfix) with ESMTP id 17C125C08D
for <erlang-questi...@erlang.org>; Fri, 21 Sep 2012 14:54:00 +0200 (CEST)
X-AuditID: c1b4fb2d-b7fea6d000002ccb-fe-505c63672055
Received: from esessmw0184.eemea.ericsson.se (Unknown_Domain [153.88.253.125])
by mailgw1.ericsson.se (Symantec Mail Security) with SMTP id
AF.F7.11467.7636C505; Fri, 21 Sep 2012 14:53:59 +0200 (CEST)
Received: from super.otp.ericsson.se (153.88.115.8) by
esessmw0184.eemea.ericsson.se (153.88.115.82) with Microsoft SMTP Server id
8.3.264.1; Fri, 21 Sep 2012 14:53:59 +0200
Received: from finrod.otp.ericsson.se (finrod.otp.ericsson.se
[147.214.122.89]) by super.otp.ericsson.se (8.13.6/8.13.6/SuSE Linux 0.8)
with ESMTP id q8LCrvIa008378 for <erlang-questi...@erlang.org>; Fri, 21 Sep
2012 14:53:59 +0200
Received: from finrod.otp.ericsson.se (localhost [127.0.0.1]) by
finrod.otp.ericsson.se (8.14.4/8.14.4/Debian-2ubuntu1) with ESMTP id
q8LCrv5o021660 for <erlang-questi...@erlang.org>; Fri, 21 Sep 2012 14:53:57
+0200
Received: (from raimo@localhost) by finrod.otp.ericsson.se
(8.14.4/8.14.4/Submit) id q8LCrvcH021658 for erlang-questi...@erlang.org;
Fri, 21 Sep 2012 14:53:57 +0200
X-Authentication-Warning: finrod.otp.ericsson.se: raimo set sender to
raimo+erlang-questi...@erix.ericsson.se using -f
Date: Fri, 21 Sep 2012 14:53:57 +0200
From: Raimo Niskanen <raimo+erlang-questi...@erix.ericsson.se>
To: erlang-questi...@erlang.org
Message-ID: <20120921125357.GA21...@erix.ericsson.se>
Mail-Followup-To: erlang-questi...@erlang.org
References: <20120920131249.GA7...@corelatus.se>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <20120920131249.GA7...@corelatus.se>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrGLMWRmVeSWpSXmKPExsUyM+JvrW56ckyAwenpGhbz3xxld2D0+HBv
GlMAYxSXTUpqTmZZapG+XQJXxtG/PxgLtnJW9PzZy9TAeJq9i5GTQ0LARGJy4xMmCFtM4sK9
9WxdjFwcQgKnGCX+v5nEDOFsZJTY9OskM0iVkMBbRom/VwwhEncZJW5N/AvVsoJRYnf/aWaI
WWUSX47fA9vBIqAqMfFaH5jNJmAncXLpFbB9IgLyEq/+nWQBsYUFbCW2XNkL1ssrYCpxc/d/
RghbV6Ll5iI2iM0GEje6r7BAxAUlTs58AmYzC+hILNj9CaiGA8iWllj+jwMkzClgKNF79SHY
WlEBFYkpJ7eBlQgBvbzxfNwERtFZSAbNQjJoFsKgBYzMqxiFcxMzc9LLDfVSizKTi4vz8/SK
UzcxAsP+4JbfujsYT50TOcQozcGiJM7LlbTfX0ggPbEkNTs1tSC1KL6oNCe1+BAjEwenVANj
gPVMtya1w3NeHip1362y7/mf78sN/zrc1n+9LaxxvtuRhgKd3nBH/Tn7s/dd07uVe+HU+zyv
3EceK+ar/JAMXZ840+HMrZQ03aczMnm+7651PbLo46uv0Sd3sjptKJt44FmKz5wHm64u3Vtj
omDD2iOyzGp9ylWPF3LJXpG+yhPE116dO73shhJLcUaioRZzUXEiAEUa/sBJAgAA
Subject: Re: [erlang-questions] Is inet_parse.erl deprecated?
X-BeenThere: erlang-questi...@erlang.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: General Erlang/OTP discussions <erlang-questions.erlang.org>
List-Unsubscribe: <http://erlang.org/mailman/options/erlang-questions>,
<mailto:erlang-questions-requ...@erlang.org?subject=unsubscribe>
List-Archive: <http://erlang.org/pipermail/erlang-questions>
List-Post: <mailto:erlang-questi...@erlang.org>
List-Help: <mailto:erlang-questions-requ...@erlang.org?subject=help>
List-Subscribe: <http://erlang.org/mailman/listinfo/erlang-questions>,
<mailto:erlang-questions-requ...@erlang.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: erlang-questions-boun...@erlang.org
Sender: erlang-questions-boun...@erlang.org
On Thu, Sep 20, 2012 at 03:12:49PM +0200, Matthias Lang wrote:
> I find these functions quite useful:
>
> inet_parse:address/1
> inet_parse:ipv4_addr/1
> inet_parse:ipv6_addr/1
> inet_parse:ntoa/1
>
> but inet_parse isn't documented at all. Is that an oversight, or are
> those functions available through something else?
It is an oversight, or rather it is on our ToDo list.
But we have not decided if it is those we will document, or if
it is better to create wrappers a'la inet:parse_address/1 to
not expose the module inet_parse as an API module...
There are too many using these so it is probably not possible
to remove them without a deprecation cycle, even though they
never have been supported. And they will not be deprecated
until there are alternatives e.g in inet.
>
> I'm not the only one using them; they're called the 'diameter', 'ssh'
> and 'public_key' applications as well as by a number of things in the kernel.
>
> Matt
> _______________________________________________
> erlang-questions mailing list
> erlang-questi...@erlang.org
> http://erlang.org/mailman/listinfo/erlang-questions
--
/ Raimo Niskanen, Erlang/OTP, Ericsson AB
_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions