From: Francis Deslauriers Date: Thu, 3 Oct 2019 12:30:05 +0000 (-0400) Subject: bt2: add `IntegerRangeSet` const classes X-Git-Tag: v2.0.0-rc1~74 X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=8d99efe64b53dbcf1272be9b10e264fbd2eb6abb;hp=8d99efe64b53dbcf1272be9b10e264fbd2eb6abb;p=babeltrace.git bt2: add `IntegerRangeSet` const classes Outside of simple rename and splitting, this commit changes the `__eq__` methods so that it's possible to compare const and non-const objects together. I also renamed the `_range_type` to `_range_pycls` to follow what is done in other files and `_borrow_range_by_index_ptr` to `_borrow_range_ptr_by_index` to increase readability. Signed-off-by: Francis Deslauriers Change-Id: I04b4027d297d088c6531be04681598653601579d Reviewed-on: https://review.lttng.org/c/babeltrace/+/2118 Reviewed-by: Philippe Proulx Tested-by: jenkins ---