gpsd-commit-watch
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-commit-watch] [SCM] GPSD branch, master, updated. release-3.16-265


From: Eric S. Raymond
Subject: [gpsd-commit-watch] [SCM] GPSD branch, master, updated. release-3.16-265-gb3c3c6c
Date: Mon, 11 Apr 2016 07:25:14 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GPSD".

The branch, master has been updated
       via  b3c3c6c9c1401131fb6da09800ef48f708a1ad40 (commit)
       via  f759d02299ca5b1d26aeaad44096e41979a699f1 (commit)
       via  6005fde964ba8abfe48160c36b224dadd2bdc741 (commit)
       via  daf3a92073b296559fdba732b29ab8d1a2f3c07c (commit)
       via  cbe211fda926cee23bde9bbb59f364a540f5a155 (commit)
      from  80f65f492805ab78bfac5f854a5dd4e1218b23aa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b3c3c6c9c1401131fb6da09800ef48f708a1ad40
Author: Fred Wright <address@hidden>
Date:   Sun Apr 10 19:29:08 2016 -0700

    Changes fake.py subclasses to use super() in __init__().
    
    This doesn't really change any behavior, but serves as a better
    example for future code.  Note that this can't be done so easily for
    gps.gps, due to the mismatched init signatures.
    
    This uses the older super() syntax, which is compatible with both
    Python 2 and Python 3.
    
    TESTED:
    Ran "scons build-all check" with all six supported Python versions.
    Also tested exception objects manually.

commit f759d02299ca5b1d26aeaad44096e41979a699f1
Author: Fred Wright <address@hidden>
Date:   Sun Apr 10 19:29:07 2016 -0700

    Fixes devtools/ais.py to use new-style classes.
    
    See previous commits for the rationale.
    
    Not tested.

commit 6005fde964ba8abfe48160c36b224dadd2bdc741
Author: Fred Wright <address@hidden>
Date:   Sun Apr 10 19:29:06 2016 -0700

    Fixes Python programs to use new-style classes.
    
    Although this isn't strictly a Python 3 requirement, using the
    new-style class definition syntax improves consistency between Python
    2 and Python 3.  Old-style classes have been deprecated since Python
    2.2, but many such definitions linger on.  Python 3 eliminates
    old-style classes, but instead of complaining about old-style
    definitions, it simply unconditionally and silently makes all classes
    new-style.  The only incompatible differences are quite subtle and
    rarely matter in practice, but things are more consistent across
    versions if the new-style definitions are used.
    
    Also, the preferred method for subclasses to invoke parent init
    methods is via the super() construct, which is only available with
    new-style classes.  Using super() is especially useful with multiple
    inheritance, which it handles automatically (provided that the init
    methods have compatible signatures).
    
    TESTED:
    Using an SConstruct patched to run the build helpers with the target
    Python, ran "scons build-all check ", as well as gpsprof and xgps,
    with all six supported Python versions (except 2.6 for xgps).

commit daf3a92073b296559fdba732b29ab8d1a2f3c07c
Author: Fred Wright <address@hidden>
Date:   Sun Apr 10 19:29:05 2016 -0700

    Fixes gps/*.py to use new-style classes.
    
    Although this isn't strictly a Python 3 requirement, using the
    new-style class definition syntax improves consistency between Python
    2 and Python 3.  Old-style classes have been deprecated since Python
    2.2, but many such definitions linger on.  Python 3 eliminates
    old-style classes, but instead of complaining about old-style
    definitions, it simply unconditionally and silently makes all classes
    new-style.  The only incompatible differences are quite subtle and
    rarely matter in practice, but things are more consistent across
    versions if the new-style definitions are used.
    
    Also, the preferred method for subclasses to invoke parent init
    methods is via the super() construct, which is only available with
    new-style classes.  Using super() is especially useful with multiple
    inheritance, which it handles automatically (provided that the init
    methods have compatible signatures).
    
    TESTED:
    Ran "scons build-all check valgrind-audit", as well as gegps, gpscat,
    gpsprof, xgps, and xgpsspeed, with all six supported Python versions
    (except 2.6 for xgps*).

commit cbe211fda926cee23bde9bbb59f364a540f5a155
Author: Fred Wright <address@hidden>
Date:   Sun Apr 10 14:06:27 2016 -0700

    Minor fixes to INSTALL and build.txt.
    
    Aside from some minor corrections and some additional info in
    build.txt, this removes Python 3 from the Python alternatives in the
    "generic build" section, since scons doesn't currently work with
    Python 3.  It's still included as a runtime possibility.

-----------------------------------------------------------------------

Summary of changes:
 INSTALL         |   10 +++++-----
 build.txt       |   30 +++++++++++++++++++++++-------
 devtools/ais.py |    8 ++++----
 gps/client.py   |    6 +++---
 gps/fake.py     |   22 +++++++++++-----------
 gps/gps.py      |    4 ++--
 gpsfake         |    2 +-
 gpsprof         |    4 ++--
 gpssim.py       |    8 ++++----
 maskaudit.py    |    3 ++-
 xgps            |   10 +++++-----
 11 files changed, 62 insertions(+), 45 deletions(-)


hooks/post-receive
-- 
GPSD



reply via email to

[Prev in Thread] Current Thread [Next in Thread]