PROTON-1850: Split up proton __init__.py into multiple files - Reformatted python source to (mostly) PEP-8 standards - Control what gets exported from __init__ by restricting what it imports - Move most of the reactor implementation specific code into _reactor_impl.py
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/d28fecf5 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/d28fecf5 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/d28fecf5 Branch: refs/heads/go1 Commit: d28fecf5d5388734508fa79e3ec33fe975bd060e Parents: 5193403 Author: Andrew Stitcher <[email protected]> Authored: Wed May 2 19:20:38 2018 -0400 Committer: Andrew Stitcher <[email protected]> Committed: Wed May 23 16:27:49 2018 -0400 ---------------------------------------------------------------------- python/CMakeLists.txt | 17 +- python/proton/__init__.py | 3726 +---------------------------------- python/proton/_common.py | 91 + python/proton/_compat.py | 13 +- python/proton/_condition.py | 63 + python/proton/_data.py | 1129 +++++++++++ python/proton/_delivery.py | 293 +++ python/proton/_endpoints.py | 765 +++++++ python/proton/_events.py | 333 ++++ python/proton/_exceptions.py | 92 + python/proton/_message.py | 465 +++++ python/proton/_reactor_impl.py | 217 ++ python/proton/_transport.py | 524 +++++ python/proton/_url.py | 161 ++ python/proton/_wrapper.py | 120 ++ python/proton/handlers.py | 66 +- python/proton/reactor.py | 138 +- python/proton/utils.py | 54 +- python/proton/wrapper.py | 112 -- 19 files changed, 4552 insertions(+), 3827 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/d28fecf5/python/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index bdd1af7..2c3f4d9 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -64,11 +64,24 @@ endif() set (pysrc-generated cproton.py) set (pysrc proton/__init__.py + proton/_compat.py + proton/_common.py + proton/_condition.py + proton/_data.py + proton/_delivery.py + proton/_endpoints.py + proton/_events.py + proton/_exceptions.py + proton/_message.py + proton/_transport.py + proton/_url.py + proton/_wrapper.py + proton/handlers.py proton/reactor.py proton/utils.py - proton/wrapper.py - proton/_compat.py + + proton/_reactor_impl.py ) # extra files included in the source distribution set(py_dist_files --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
