diff --git a/python/Makefile.am b/python/Makefile.am index 8addbaa7c..c66706668 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -1,5 +1,5 @@ ## -*- coding: utf-8 -*- -## Copyright (C) 2010, 2011, 2013-2018 Laboratoire de Recherche +## Copyright (C) 2010, 2011, 2013-2019 Laboratoire de Recherche ## et Development de l'Epita (LRDE). ## Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6), ## département Systèmes Répartis Coopératifs (SRC), Université Pierre @@ -25,12 +25,7 @@ AUTOMAKE_OPTIONS = subdir-objects AM_CPPFLAGS = -I$(PYTHONINC) -I$(top_builddir) -I$(top_srcdir) \ $(BUDDY_CPPFLAGS) -DSWIG_TYPE_TABLE=spot -# Disable fastproxy, because IPython 2 bogusly ignores _repr_latex_ -# when -fastproxy is used. -# https://github.com/ipython/ipython/issues/7003 -# Once a fixed version of IPython hits Debian stable, we can remove -# this. -SWIGFLAGS = -c++ -python -py3 -O -nofastproxy -MD +SWIGFLAGS = -c++ -python -py3 -O -MD EXTRA_DIST = buddy.i spot/impl.i spot/ltsmin.i spot/gen.i nobase_pyexec_PYTHON = \ diff --git a/python/spot/__init__.py b/python/spot/__init__.py index dc7b9efbc..acae23331 100644 --- a/python/spot/__init__.py +++ b/python/spot/__init__.py @@ -1074,7 +1074,7 @@ def bdd_to_formula(b, dic=_bdd_dict): def language_containment_checker(dic=_bdd_dict): from spot.impl import language_containment_checker as c c.contains = lambda this, a, b: c.contained(this, b, a) - c.are_equivalent = c.equal + c.are_equivalent = lambda this, a, b: c.equal(this, a, b) return c(dic) def mp_hierarchy_svg(cl=None):