On Thu, 2015-01-29 at 09:56 -0500, Justin Ross wrote:
> ...
> PROTON-805 adds more of the latter to proton/utils.py, and it already had
> BlockingConnection.  Having both types of util in one module ends up making
> imports a mess because it contains at once quite low-level things and
> high-level things.

If some of the things in the module are for internal library only use
then they should not be exported and to some extent the namespace is
irrelevant. I am aware that python does not do this terribly well, and
that may be a reason in python (and other languages deficient in access
control) to have an "internal" namespace.

> 
> Maybe we should have proton/extras.py for stuff like BlockingConnection and
> SyncRequestResponseHandler and reserve utils.py for the internal utility

For internal utilities I strongly suggest a name that says - do not use
this internal library use only.

Andrew



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to