From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2BD3642C46; Wed, 7 Jun 2023 07:53:04 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 289CA410F6; Wed, 7 Jun 2023 07:53:04 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 0FBFD40A84 for ; Wed, 7 Jun 2023 07:53:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686117182; x=1717653182; h=message-id:date:content-transfer-encoding:mime-version: subject:from:to:reply-to:cc:in-reply-to; bh=Wb+zj9GwMrHS3g9dq1Hr4BORqIKpCeDPy8P1HJ1G1QI=; b=NT1EyXMrtOlDbwiZ4IpcBnEchFbLEeqEOR7mDqV/yZW8yHdaAP65DkXE XTJ/MkpxctIKT+eax0tu+b7BAiD6Lkmy3D5gX4bEnYy2lRtdvy7QjLnHG 3DE1F0x2PI5BEWuJmmQuzo9UsqtUv5PZOndUq8c0Hs01rcZIv/G1i51E2 hBd5vt0zL/AMHz+ww2evwUP7H74npt7A+vGj9i7WM/LLRkJRXj41Dgat1 iqGe2i5jFjm94ktc6AN4VBhqiYHOSDnLdTi+VpO2TMQCbR7Bjoo1nEZLB f1C5X+vGv3gKJsoqoWCV7oKz1h9cePuXbm6MGKxuQzFM5TZ1xthuvtADO g==; X-IronPort-AV: E=McAfee;i="6600,9927,10733"; a="356903319" X-IronPort-AV: E=Sophos;i="6.00,223,1681196400"; d="scan'208";a="356903319" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2023 22:53:01 -0700 Message-Id: <76ab7d$sfoull@fmsmga006-auth.fm.intel.com> Date: 06 Jun 2023 22:53:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10733"; a="956070583" X-IronPort-AV: E=Sophos;i="6.00,223,1681196400"; d="scan'208";a="956070583" Received: from dpdk-lijuan-1.sh.intel.com ([10.67.118.233]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2023 22:53:00 -0700 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: [dts][PATCH V1] tests/telemetry: Optimize the parameter for function json.load From: lijuan.tu@intel.com To: dts@dpdk.org,Dukai Yuan Cc: Dukai Yuan In-Reply-To: <20230526140812.3594754-1-dukaix.yuan@intel.com> X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Dukai Yuan Errors-To: dts-bounces@dpdk.org On Fri, 26 May 2023 14:08:12 +0000, Dukai Yuan wrote: > In Python 3.10, the json.load() function removed the encoding parameter,=20 > because in Python 3, the json module uses UTF-8 encoding by default to proc= ess JSON data.=20 > As such, the encoding argument is no longer required, and has been removed = in Python 3.10.=20 > If you need to specify other encoding methods,=20 > you can use the encoding parameter in the open() function to specify. > Please refer to the Python official documentation for more details.=20 > https://docs.python.org/3/library/json.html >=20 > Signed-off-by: Dukai Yuan Acked-by: Lijuan Tu Applied, thanks