GitHub user astitcher opened a pull request: https://github.com/apache/qpid-proton/pull/144
Python proactor This is a fairly large change to the structure of the Proton python binding. * Initially it removes support for really old versions of python - anything before 2.5. * Then it goes on to split up the monolithic __init__.py file into IMO) more manageable pieces. I've also used this to restrict the usable API to only those bits that are supposed to be API (again IMO). This is the initial work which I'm using as a base for more substantial changes, so I will be grateful for any comments and review. You can merge this pull request into a Git repository by running: $ git pull https://github.com/astitcher/qpid-proton python-proactor Alternatively you can review and apply these changes as the patch at: https://github.com/apache/qpid-proton/pull/144.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #144 ---- commit 4dcbd1fd456018d0921fec2f14dbb26fdde5b5f2 Author: Andrew Stitcher <astitcher@...> Date: 2018-04-24T14:38:57Z PROTON-1848: [Python] Remove Python 2.5 and earlier compatibility - Remove need for most compatibility hacks - Fix some seemingly odd conversion functions - Hidden all compatibility code in _compat module, but this still uses six to rename Queue->queue - could remove this later - will probably get rid of raise_ when rewriting reactor - can get rid of string_type by doing unicode type hack in reactor.py - leaving iteritems & unichr commit 68e2922584bbe2445303f32cca94cdba04e0fd48 Author: Andrew Stitcher <astitcher@...> Date: 2018-05-02T23:20:38Z PROTON-1850: Split up proton __init__.py into multiple files - Make sure that only what we want gets exported from __init__ by restricting what it imports - Move most of the reactor implementation specific code into reactor_impl.py ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org