[pytango] 118/122: Remove explicit metaclass definitions (PR #90)

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:18:25 UTC 2017


This is an automated email from the git hooks/post-receive script.

sbodomerle-guest pushed a commit to tag v9.2.1
in repository pytango.

commit c0b03bb73790207bad89af7a493bd92117cabe9e
Merge: d21b78e 2f2ec27
Author: Vincent Michel <vxgmichel at gmail.com>
Date:   Mon Jan 30 15:26:10 2017 +0100

    Remove explicit metaclass definitions (PR #90)
    
    This PR makes DeviceMeta a subclass of Boost.Python.class, so the metaclass definition is automatically propagated to the subclasses of Device.
    
    It also fixes a fundamental issue with asyncio servers that I hadn't noticed until today, see 995db76.
    
    The docs and examples have been simplified (1890f6c and 64c8cc9 promote the run_server method and remove the metaclass definitions).
    
    It also fixes issue #74, see 38e1eec (unrelated, but it made my debugging easier).

 doc/_static/PowerSupplyDS.py            |  24 +++--
 doc/_templates/index.html               |   1 -
 doc/howto.rst                           |  57 ++++--------
 doc/server_api/server.rst               |  79 +++++++---------
 examples/Clock/Clock.py                 |   8 +-
 examples/Clock/ClockDS.py               |  18 +---
 examples/TuringMachine/TuringMachine.py |  19 ++--
 tango/databaseds/database.py            |   1 -
 tango/server.py                         | 155 ++++++++++++++++----------------
 tango/tango_object.py                   |   1 -
 tango/test_context.py                   |  39 ++++++--
 tango/test_utils.py                     |  10 +--
 tests/test_client.py                    |  12 ++-
 tests/test_event.py                     |  84 +++++++++++++++++
 tests/test_server.py                    |  84 ++++++++++++++---
 15 files changed, 354 insertions(+), 238 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git



More information about the debian-science-commits mailing list