~wooksong/nnstreamer-ros/+git/tizenport-ros-genpy:indigo-devel

Last commit made on 2016-06-27
Get this branch:
git clone -b indigo-devel https://git.launchpad.net/~wooksong/nnstreamer-ros/+git/tizenport-ros-genpy

Branch merges

Branch information

Recent commits

16de54c... by Dirk Thomas

0.5.10

7be20b7... by Dirk Thomas

update changelog

b554d99... by =?utf-8?b?5Yud6ICF56We5YSqIChKZWFuIE5hc3Nhcik=?= <email address hidden>

Add __ne__ magic method.

In Python 2, if you do not define a magic method, such as `__eq__` for equality, or `__ne__` for inequality, it defaults to comparing the object IDs, which are random. That causes checking for inequality (`msg_1 != msg_2`) to work unexpectedly. (i.e., even if the messages are equal, it would return True.) In fact, the [Python 2 docs](https://docs.python.org/2/reference/datamodel.html#basic-customization) say that it is best to add them too.

In Python 3, `__ne__` is simply the inverse of `__eq__` if it is not defined.

Test adding the __ne__ magic method.

c583b3f... by Dirk Thomas

0.5.9

cea8d15... by Dirk Thomas

update changelog

aa8e5be... by Dirk Thomas

Merge pull request #58 from ros/warn_about_floor_div

warn about using floor division of durations

795b170... by Dirk Thomas

warn about using floor division of durations

1988d18... by Dirk Thomas

Merge pull request #48 from eric-wieser/patch-1

Allow durations to be divided by other durations

08772f6... by Eric Wieser <email address hidden>

Allow durations to be divided by other durations

For instance `Duration(secs=10) / Duration(secs=5) == 2`

Update docstrings

b7409d9... by Dirk Thomas

Merge pull request #51 from dhood/indigo-devel

Regression in msg_generator when escaping trailing double-quotes