You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/05/25 22:22:00 UTC

[jira] [Commented] (PROTON-1850) [Python] Split up monolithic proton __init__.py

    [ https://issues.apache.org/jira/browse/PROTON-1850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16491327#comment-16491327 ] 

ASF subversion and git services commented on PROTON-1850:
---------------------------------------------------------

Commit d28fecf5d5388734508fa79e3ec33fe975bd060e in qpid-proton's branch refs/heads/master from [~astitcher]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=d28fecf ]

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


> [Python] Split up monolithic proton __init__.py
> -----------------------------------------------
>
>                 Key: PROTON-1850
>                 URL: https://issues.apache.org/jira/browse/PROTON-1850
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: python-binding
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>            Priority: Major
>             Fix For: proton-c-0.24.0
>
>
> Nearly the entire implementation of the proton python binding is in __init__.py (except for the reactive API). This has several unfortunate effects:
>  * It can be hard to find your way around the source except by simply searching.
>  * There is no way to restrict the export of symbols from the proton module - anything in the module can be explicitly imported (although {{__all__}} does restrict what gets imported with {{from proton import *}}).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org