From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F705C76194 for ; Fri, 26 Jul 2019 15:30:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2075F205F4 for ; Fri, 26 Jul 2019 15:30:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389088AbfGZPag (ORCPT ); Fri, 26 Jul 2019 11:30:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:45426 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389092AbfGZPab (ORCPT ); Fri, 26 Jul 2019 11:30:31 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (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 38CBB22BF5; Fri, 26 Jul 2019 15:30:30 +0000 (UTC) Date: Fri, 26 Jul 2019 11:30:28 -0400 From: Steven Rostedt To: Johannes Berg Cc: linux-trace-devel@vger.kernel.org, Josef Bacik , Darren Hart , troyengel@gmail.com Subject: Re: [PATCH 3/3] trace-cmd: Use PyLong_AsLong() for Python 3 Message-ID: <20190726113028.47b01b4e@gandalf.local.home> In-Reply-To: <32793aced94148751699879d77380d4c0f8475b5.camel@sipsolutions.net> References: <20190719224613.207069107@goodmis.org> <20190719225030.507227790@goodmis.org> <076f6cad8adf6fd8eec78dfe7c8a76ed7d5914ae.camel@sipsolutions.net> <20190726111814.3a29472c@gandalf.local.home> <32793aced94148751699879d77380d4c0f8475b5.camel@sipsolutions.net> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-trace-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-trace-devel@vger.kernel.org On Fri, 26 Jul 2019 17:22:58 +0200 Johannes Berg wrote: > The bytes vs. unicode - well, python assumes that you give it a utf-8 > string, so even if we start using non-ASCII identifiers (which I think > is highly unlikely!), we'll likely use utf-8 in the kernel, and it would > either way not be an issue. Thanks Johannes for explaining. -- Steve