Submitter | Yuya Nishihara |
---|---|
Date | March 22, 2018, 3:01 p.m. |
Message ID | <6ddd0155f4708dc1e099.1521730916@mimosa> |
Download | mbox | patch |
Permalink | /patch/29784/ |
State | Accepted |
Headers | show
Return-Path: <mercurial-devel-bounces@mercurial-scm.org> X-Original-To: patchwork@mercurial-scm.org Delivered-To: patchwork@mercurial-scm.org Received: from localhost (localhost [127.0.0.1]) by mercurial-scm.org (Postfix) with ESMTP id 11D532C342; Thu, 22 Mar 2018 11:02:37 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at mercurial-scm.org Received: from mercurial-scm.org ([127.0.0.1]) by localhost (mercurial-scm.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id MiOdJbSQwiez; Thu, 22 Mar 2018 11:02:36 -0400 (EDT) Received: from mercurial-scm.org (localhost [IPv6:::1]) by mercurial-scm.org (Postfix) with ESMTP id D35A12C343; Thu, 22 Mar 2018 11:02:31 -0400 (EDT) X-Original-To: mercurial-devel@mercurial-scm.org Delivered-To: mercurial-devel@mercurial-scm.org Received: from localhost (localhost [127.0.0.1]) by mercurial-scm.org (Postfix) with ESMTP id 39B972C2BA for <mercurial-devel@mercurial-scm.org>; Thu, 22 Mar 2018 11:02:30 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at mercurial-scm.org Received: from mercurial-scm.org ([127.0.0.1]) by localhost (mercurial-scm.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id tzcQsYkMrjFv for <mercurial-devel@mercurial-scm.org>; Thu, 22 Mar 2018 11:02:29 -0400 (EDT) Received: from mail-pf0-x233.google.com (mail-pf0-x233.google.com [IPv6:2607:f8b0:400e:c00::233]) by mercurial-scm.org (Postfix) with ESMTPS id 83FA62C32F for <mercurial-devel@mercurial-scm.org>; Thu, 22 Mar 2018 11:02:21 -0400 (EDT) Received: by mail-pf0-x233.google.com with SMTP id z10so3438176pfh.13 for <mercurial-devel@mercurial-scm.org>; Thu, 22 Mar 2018 08:02:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:mime-version:content-transfer-encoding:subject:message-id :in-reply-to:references:user-agent:date:from:to; bh=FdYRmMzbJ/LmzoNnrly8e7CEg+OwvoFg9c3dPgNEWeQ=; b=MFSmTrYImEbXOpmoqpP3B8bOW7vCoygr+090wYSlWvoplsgqqPzDyMXvQG3ns0Ijcr HUoPd3H+a9t36SrAfW9DZgdfAeYwXDvgS07tyZ4HQecF7qjvBZZwoAa3Pg2t/agCEAB/ t/2HYnWZqcIojaGy+WbmOAm3oUw9+XiZpiHgQvxhBYZai5n4zojvwLP8tMJOSg7WSTfM svcKxlDZtPbn2QRDDxbAzqvUXfsocdwkwzKFJeJ2h0iUktON28/voPnnk0GbIGTwFhKD rzGRzD3exwdOuzdX1cK66dSfe0+Za2eI9MreD5CIxAiJLj9E2gF+ow2Adyn75H4lJ+uO DILA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:mime-version:content-transfer-encoding :subject:message-id:in-reply-to:references:user-agent:date:from:to; bh=FdYRmMzbJ/LmzoNnrly8e7CEg+OwvoFg9c3dPgNEWeQ=; b=KvLLtJ/L1DS8tcGQDEzx0Dt3r5xEbfVqbjBdjmfQJbv9GJoaDg5AiLqjIYglQuwwjL xRT87rG+eS1bQ3rS8c2Lxnsc4w4qMxns9l7lgcR7/nJ1ordh3C/YKr6LvrD3kqEYOT+w r8k2CYIVzZqYx2uk5RvQNGeUdx/JzbKhIBjHl0Xr4hgJ9gMLq0v5G/Ia05oKFmL08VmL fmLl6P6/3rLOLILHz7v2qIQR4UWrwBsXAE4OQSqceyybspV1Q2orSH4CSP7jr0zPT6EC o8O6chKa/vB75GxJQwgzUIDiCDb90WV2XUS/XeH2+zq61ijVeL8XiGYk6/68fNLPl569 FFrQ== X-Gm-Message-State: AElRT7EbZKV4v+5AgXITkfd0gIfKy7FhX11n8M3IQYuPf+0OQzhKJdIw xrmqpXghhZCzPCA2WjKHWXoLVlno X-Google-Smtp-Source: AG47ELvvasz/Kwb74OpF6M50sceDQrKJYntDGol/EfdaLixROBL2dCKnMSf9No3PINUm/B9MylMIdQ== X-Received: by 10.99.163.67 with SMTP id v3mr3780185pgn.298.1521730940103; Thu, 22 Mar 2018 08:02:20 -0700 (PDT) Received: from [127.0.1.1] (p6e42c1b8.tkyea126.ap.so-net.ne.jp. [110.66.193.184]) by smtp.gmail.com with ESMTPSA id b73sm11820969pga.62.2018.03.22.08.02.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Mar 2018 08:02:19 -0700 (PDT) MIME-Version: 1.0 Subject: [PATCH 5 of 8] util: remove unused private constant '_hextochr' X-Mercurial-Node: 6ddd0155f4708dc1e099f0d3e8f1c668ba6419e4 X-Mercurial-Series-Index: 5 X-Mercurial-Series-Total: 8 Message-Id: <6ddd0155f4708dc1e099.1521730916@mimosa> X-Mercurial-Series-Id: <bd6a3b24449e6e53bd9b.1521730912@mimosa> In-Reply-To: <bd6a3b24449e6e53bd9b.1521730912@mimosa> References: <bd6a3b24449e6e53bd9b.1521730912@mimosa> User-Agent: Mercurial-patchbomb/4.5.2+1160-b6a7070e7663 Date: Fri, 23 Mar 2018 00:01:56 +0900 From: Yuya Nishihara <yuya@tcha.org> To: mercurial-devel@mercurial-scm.org X-BeenThere: mercurial-devel@mercurial-scm.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <mercurial-devel.mercurial-scm.org> List-Unsubscribe: <https://www.mercurial-scm.org/mailman/options/mercurial-devel>, <mailto:mercurial-devel-request@mercurial-scm.org?subject=unsubscribe> List-Archive: <http://www.mercurial-scm.org/pipermail/mercurial-devel/> List-Post: <mailto:mercurial-devel@mercurial-scm.org> List-Help: <mailto:mercurial-devel-request@mercurial-scm.org?subject=help> List-Subscribe: <https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel>, <mailto:mercurial-devel-request@mercurial-scm.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: mercurial-devel-bounces@mercurial-scm.org Sender: "Mercurial-devel" <mercurial-devel-bounces@mercurial-scm.org> |
Comments
Yuya Nishihara - March 22, 2018, 3:01 p.m.
Patch
diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -34,7 +34,6 @@ import shutil import signal import socket import stat -import string import subprocess import sys import tempfile @@ -3076,9 +3075,6 @@ def parsebool(s): """ return _booleans.get(s.lower(), None) -_hextochr = dict((a + b, chr(int(a + b, 16))) - for a in string.hexdigits for b in string.hexdigits) - class url(object): r"""Reliable URL parser.