From: zn@mbf•nifty.com
To: ruby-dev@ruby-lang.org
Subject: [ruby-dev:50578] [Ruby trunk Bug#14840][Closed] `warning: constant Net::ProtoServerError is deprecated` only via net/http
Date: Thu, 14 Jun 2018 11:09:21 +0000 (UTC) [thread overview]
Message-ID: <redmine.journal-72493.20180614110919.4ce8f294d73c92a7@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-14840.20180610045113@ruby-lang.org
Issue #14840 has been updated by znz (Kazuhiro NISHIYAMA).
Status changed from Assigned to Closed
Resolved at r63661
----------------------------------------
Bug #14840: `warning: constant Net::ProtoServerError is deprecated` only via net/http
https://bugs.ruby-lang.org/issues/14840#change-72493
* Author: znz (Kazuhiro NISHIYAMA)
* Status: Closed
* Priority: Normal
* Assignee: naruse (Yui NARUSE)
* Target version: 2.6
* ruby -v: ruby 2.6.0dev (2018-06-10 trunk 63619) [x86_64-linux]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
When ruby loads `net/protocol` via `net/http`, `Net::ProtoServerError` is deprecated.
But via `net/smtp`, etc, it does not warn.
Is this intentional?
```
% ruby -r net/http -e 'Net::ProtoServerError'
-e:1: warning: constant Net::ProtoServerError is deprecated
% ruby -r net/smtp -e 'Net::ProtoServerError'
```
--
https://bugs.ruby-lang.org/
prev parent reply other threads:[~2018-06-14 11:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <redmine.issue-14840.20180610045113@ruby-lang.org>
2018-06-10 4:51 ` [ruby-dev:50563] [Ruby trunk Bug#14840] `warning: constant Net::ProtoServerError is deprecated` only via net/http zn
2018-06-14 11:09 ` zn [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.ruby-lang.org/en/community/mailing-lists/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=redmine.journal-72493.20180614110919.4ce8f294d73c92a7@ruby-lang.org \
--to=ruby-dev@ruby-lang.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).