Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1036209ybe; Thu, 5 Sep 2019 09:21:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqyGwe73ntIVXwMDU6JRjV6bRuEHE+3YxV2j0g5rOEaCT2b36eiIfcL6sWtukpiI97LtMsK6 X-Received: by 2002:a17:90a:3d03:: with SMTP id h3mr4838234pjc.49.1567700477908; Thu, 05 Sep 2019 09:21:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567700477; cv=none; d=google.com; s=arc-20160816; b=xLszaZlU6+dPsixjKP7t2JcE4pFRFbP1fydCW3EbTUOKLe2b3EWurUIlKyswlipH2u bwNVXekVSXgX+1UI4wv9lNf1ximVmRWJFnFQZEpzKG1RwNKvubJR+Mk87gG5OE9Y30x3 HTiL7vv7oUpF8Qlk0R5vEWXnX+6UYsXESJmf9+hkzQSTKMZjofixpuuXupiflNsL99+q 4Vex17DekDnRP7jENSlaVWwmu9Cr2dwhSNMzgaTYJWsOPX4wMTL1s+4E6jJh7rgGGxW+ oVeeX+d8Ydj+tuKScEkrCrVQsbwynvVsY16zxcwnuqGP8ht0wzdWg8q2L4ENtmCKm680 n+Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/Lv4xCWSnmzrMbFm09ox9yvcXj42TTuIUMqrUh1bcOo=; b=f8P07R/B6DWS5zo5EjRoCAMS/3/2cDl6dytx2sDgjaDATZ5BpSgivFZV+oi5E8TEbN PxZEDdW9VcekS2KirRPU0fideMDVLijTBs4CkKMm3jJlFs6w3whi8aVdVZhIUPYvUWT4 3NgLh69t0hWjfDe09ssF/Ar7XX+LuoDm4vKFUIHEX4xW0wx61VqVRejoXGXNOkI6J3Sa I20y1XL00u7BWO8Pt9vKiGsV1uHn6Gn32jOyAvRtZsk4+GGK0YQvVQ433heHdLMuwQK5 Tz8iDRJ1vzj2U0sz+eHuObmCQuhY6bMT8mHlrcs3VLEhwwo8RY4zqDbM52y3VNR8fqzM 1o3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AT9B9T8v; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 60si2333455pld.99.2019.09.05.09.21.02; Thu, 05 Sep 2019 09:21:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AT9B9T8v; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733270AbfIEOR1 (ORCPT + 99 others); Thu, 5 Sep 2019 10:17:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:45020 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727009AbfIEOR0 (ORCPT ); Thu, 5 Sep 2019 10:17:26 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DB072206A5; Thu, 5 Sep 2019 14:17:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567693046; bh=UPePVyXMeG8mDQ7IPquMOAgQoIPRHby+6z55Yt6omMg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AT9B9T8vMdTsYBHToi9SP6SO5oOPzIxzFOwiUWZ/LmJPH5v2t6OwqAIQLvs5SN8VL bU/1iPsNAXBVYt1POPhDcOEyEgkBWA0BM45GPwenIGTwBsZv+AVIMuNJS27rPdaicL oB18VYDGmNzqUYZZK62jBGv29MrK9ehyXagz9auU= Date: Thu, 5 Sep 2019 16:17:23 +0200 From: Greg Kroah-Hartman To: Jonathan Corbet Cc: Mauro Carvalho Chehab , Linux Media Mailing List , Mauro Carvalho Chehab , Joe Perches , linux-kernel@vger.kernel.org, Jessica Yu , Federico Vaga , Thomas Gleixner , linux-doc@vger.kernel.org Subject: Re: [PATCH] docs: license-rules.txt: cover SPDX headers on Python scripts Message-ID: <20190905141723.GB25790@kroah.com> References: <20190905055614.7958918b@coco.lan> <88e638eb959095ab6657d295f9f8c27169569bf2.1567675272.git.mchehab+samsung@kernel.org> <20190905065701.4744e66a@lwn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190905065701.4744e66a@lwn.net> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 05, 2019 at 06:57:01AM -0600, Jonathan Corbet wrote: > On Thu, 5 Sep 2019 06:23:13 -0300 > Mauro Carvalho Chehab wrote: > > > Python's PEP-263 [1] dictates that an script that needs to default to > > UTF-8 encoding has to follow this rule: > > > > 'Python will default to ASCII as standard encoding if no other > > encoding hints are given. > > > > To define a source code encoding, a magic comment must be placed > > into the source files either as first or second line in the file' > > So this is only Python 2, right? Python 3 is UTF8 by default. Given that > Python 2 is EOL in January, is this something we should be concerned > about? Or should we instead be making sure that all the Python we have > in-tree works properly with Python 3 and be done with it? I recommend just using python 3 everywhere and be done with it as there are already many distros that default to that already. thanks, greg k-h