From users-return-19949-archive-asf-public=cust-asf.ponee.io@qpid.apache.org Wed Feb 20 21:13:47 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 [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 806AD18075F for ; Wed, 20 Feb 2019 22:13:46 +0100 (CET) Received: (qmail 95312 invoked by uid 500); 20 Feb 2019 21:13:45 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 95301 invoked by uid 99); 20 Feb 2019 21:13:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Feb 2019 21:13:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 0EC18C2927 for ; Wed, 20 Feb 2019 21:13:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.029 X-Spam-Level: X-Spam-Status: No, score=-4.029 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id HY-xn6wGcBjL for ; Wed, 20 Feb 2019 21:13:43 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 5ED8D5F23C for ; Wed, 20 Feb 2019 21:04:28 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DCB371244C6 for ; Wed, 20 Feb 2019 21:04:27 +0000 (UTC) Received: from rose (unknown [10.18.97.139]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 994EA183C8 for ; Wed, 20 Feb 2019 21:04:27 +0000 (UTC) Message-ID: Subject: Heads Up: Planned merge of Qpid Proton Python IO work From: Andrew Stitcher To: Qpid Users Date: Wed, 20 Feb 2019 16:04:26 -0500 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Wed, 20 Feb 2019 21:04:27 +0000 (UTC) Over the past months I've been reworking the Qpid Proton Python support to only use the Qpid Proton Core library APIs and to do all IO with the built in Python facilities. This work has been sitting in a PR [1] for a month now and I'm ready to merge it with the Qpid Proton master branch. I'll leave it a few days after this mail goes out for some more comments - after I merge it you'll have to raise a bug report if there is anything you don't like! Here is what I wrote in the PR: ' This is a reworking of the Python binding to Proton to avoid using APIs outside the Proton Core library. Thus the Python based reactive code has been rewritten so that the proton.reactor and proton.handler modules use only core APIs. Necessarily this is a large change to the Python binding code, but a lot of effort has gone into maintaining the existing proton.reactor and proton.handler APIs. However any code that relied on functionality of the Proton-C reactor APIs directly will no longer work as these APIs aren't available from Python any longer. One area that may be different and is still not 100% solid is in the area of error/exception handling. I think that you will get exceptions in the same cases as before, but they could very probably be different exceptions. It is also possible that some errors are handled differently. Please raise bugs for any differences/problems found. This code has been tested with the integrated tests and passes on Linux, MacOS and Windows on CI systems. Some tests (related to SSL/TLS) fail on some Windows systems, but the same tests fail previous to these changes on the the same systems - the failures don't seem due to these changes. The included python examples all run with this reworked binding. It has also been tested with the quiver benchmark tool and is broadly the same performance as the previous binding. Please try this with your Python code and let me know of any problems. ' Andrew [1] https://github.com/apache/qpid-proton/pull/173 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org