python: better support for Python 3

* wrap/python/spot.i (spot::ltl::parse_error_list,
spot::tgba_parse_error_list): Add a __bool__ method, that is used
instead of __nonzero__ in Python 3.
* wrap/python/tests/interdep.py, wrap/python/tests/parsetgba.py:
Force destruction order.
* NEWS: Update.
This commit is contained in:
Alexandre Duret-Lutz 2014-02-02 15:33:11 +01:00
parent a6714119f9
commit b6e5ce7e15
4 changed files with 28 additions and 6 deletions

4
NEWS
View file

@ -1,6 +1,8 @@
New in spot 1.2.2a (not yet released)
Nothing yet.
* Bug fixes:
- More fixes for Python 3 compatibility.
New in spot 1.2.2 (2014-01-24)