spot/python/spot
Alexandre Duret-Lutz 0411099506 trival: prefer a global operator== relying on implicit conversion
Hopefully fixes #359.

* spot/misc/trival.hh: Declare a global operator==(trival,trival) that
replace the specialized operator==(bool,trival), and the in class
trival::operator(trival), thanks to the implicit construction from
bool to trival.  Make the repr_t/value_t constructor explicit, are
those are mostly internal to the library and may cause conflicts.
* spot/twa/twa.hh: Adjust to construct trival explicitly.
* python/spot/impl.i: Since Swig/Python does not support global
comparison operators, implement a member version, supporting
only __eq__(trival,bool) as before.
* tests/python/setacc.py: Adjust erroneous code.
* tests/python/trival.py: Add test cases.
2018-07-04 16:00:00 +02:00
..
__init__.py randomltl: avoid #define 2018-05-16 18:35:36 +02:00
aux.py python: have %%dve and %%pml honor SPOT_TMPDIR and TMPDIR 2016-07-19 14:23:27 +02:00
gen.i genltl: add support for --sejk-f=n,m 2018-06-05 08:48:40 +02:00
impl.i trival: prefer a global operator== relying on implicit conversion 2018-07-04 16:00:00 +02:00
jupyter.py python: add a show= keyword to display_inline() 2018-05-12 09:23:05 +02:00
ltsmin.i skip divine tests when divine does not understand compile --help 2017-02-28 17:02:06 +01:00