From dev-return-39553-archive-asf-public=cust-asf.ponee.io@subversion.apache.org Fri Oct 11 23:01:35 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id DF174180656 for ; Sat, 12 Oct 2019 01:01:34 +0200 (CEST) Received: (qmail 20243 invoked by uid 500); 11 Oct 2019 23:01:34 -0000 Mailing-List: contact dev-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@subversion.apache.org Received: (qmail 20210 invoked by uid 99); 11 Oct 2019 23:01:33 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Oct 2019 23:01:33 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 4CA1EC1185 for ; Fri, 11 Oct 2019 23:01:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=daniel.shahaf.name header.b=SEb/UEUR; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=WVwds/5I Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 5IpLBU9EtfAw for ; Fri, 11 Oct 2019 23:01:31 +0000 (UTC) Received-SPF: Pass (helo) identity=helo; client-ip=64.147.123.20; helo=wout4-smtp.messagingengine.com; envelope-from=d.s@daniel.shahaf.name; receiver= Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id 4805CBCB41 for ; Fri, 11 Oct 2019 22:52:35 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 428DB7DE; Fri, 11 Oct 2019 18:52:27 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 11 Oct 2019 18:52:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:content-transfer-encoding :in-reply-to; s=fm1; bh=VoiLT/bFF2rYjJY1a3dYR8/eY+XIlqNpayWsnZJd ePc=; b=SEb/UEURpSNFj00cFUDfO3skDqRmcgNYv5VlCKSgFyS4a0orVKKylYzf neq73A4+jZM+ScI29BJr5jI6zSkvZl6vTNG9NDLwCLxTUrczkTFhUU7q3/VEb8bh fRXZ6KbEiKh3jbQbOXzsVaSFVFIGwt2K6TP8P1bK5oLxfwApezwoJyymEyUQqDvM vj0qnsFgqelRAHBUyZsWo/tmquL4b2FffJzhTYH+5r2IHchBHE8Ol7yhLuCzGgpR Q4ofzRcTFEqcXLaFTMkpZIifBKK2P3Ipm3teagA1traMG8TVDrX4Typn2YG14LV2 kTs5EoSpWbQuMPTr9Osf8vnStR8cWw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=VoiLT/bFF2rYjJY1a3dYR8/eY+XIlqNpayWsnZJde Pc=; b=WVwds/5Iqo/zdgF/t79Kjpeou43T4AkoQoDEyp3eifULtD2bz68iHfNEM yIM6C6KD49YhhLLD7FqETigFQFixYzEkPb0ETULiYNyPj73f3t0ZSsEUR+qrBVw2 qcrDKQpNuQR5AUm7+boRxRdsJKuOssRg1FOMki0bHgu1TZ7TYSlSZErL1skdAEMj msJJWwczAml0YQpw4sfVmOpNEgnG/3rGgIPhwZ+Au2vEwMgyBkmyW+U8UkDHBCvK Ag47XiSJZx3pVmZth+syAAlxnWpMQ7dCx6dX9+6ZC9PD6sx2lT2q0UF3TYUW4mHN Qhl/3NwX+jk7mqoVwQWDxt7rOAseg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrieehgddukedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtugfgjggfsehtkedttddtredunecuhfhrohhmpeffrghn ihgvlhcuufhhrghhrghfuceougdrshesuggrnhhivghlrdhshhgrhhgrfhdrnhgrmhgvqe enucffohhmrghinhepshhtrggtkhhovhgvrhhflhhofidrtghomhenucfkphepjeelrddu kedtrdehjedrudduleenucfrrghrrghmpehmrghilhhfrhhomhepugdrshesuggrnhhivg hlrdhshhgrhhgrfhdrnhgrmhgvnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from tarpaulin.shahaf.local2 (bzq-79-180-57-119.red.bezeqint.net [79.180.57.119]) by mail.messagingengine.com (Postfix) with ESMTPA id D6017D6005B; Fri, 11 Oct 2019 18:52:25 -0400 (EDT) Received: by tarpaulin.shahaf.local2 (Postfix, from userid 1005) id 46qjrm2SHqzRX; Fri, 11 Oct 2019 22:52:24 +0000 (UTC) Date: Fri, 11 Oct 2019 22:52:24 +0000 From: Daniel Shahaf To: Nathan Hartman Cc: Yasuhito FUTATSUKI , Subversion Developers , Julian Foad Subject: Re: Test failures with Python 3 (Re: PMCs: any Hackathon requests? (deadline 11 October)) Message-ID: <20191011225224.muxiazep5zjyev4l@tarpaulin.shahaf.local2> References: <20191010205444.srzggabby2en27xg@tarpaulin.shahaf.local2> <9e97a2ad-854b-4cb3-af3a-b80c6a14fa0b@www.fastmail.com> <20191011175601.y4rlv62tvmbcxkjn@tarpaulin.shahaf.local2> <631611e4-0eb3-c3cc-b087-cc33dacc20bb@poem.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Nathan Hartman wrote on Fri, Oct 11, 2019 at 16:50:39 -0400: > On Fri, Oct 11, 2019 at 4:32 PM Yasuhito FUTATSUKI wrote: > > This is caused by mixing bytes object drived from file contents and str > > object to construct log message. > > Does something like this answer help: > > https://stackoverflow.com/questions/31058055/how-do-i-convert-a-python-3-byte-string-variable-into-a-regular-string/31060836 > > Something like: > str(bytes_string, 'utf-8') Nathan, I appreciate the intent, but Yasuhito and I are both familiar with the semantics of str and bytes objects in Python�3. We're not asking what the difference between bytes and str is, or how to work with them; we are simply trying to resolve two particular test failures, in svnadmin_ and tree_conflict_tests.py. Specifically, we're trying to determine whether file contents should be handled as str or as bytes, both in the test function and in the test framework. Cheers, Daniel