Chris Lamb wrote:

> Locally I cannot reproduce.

Ah, I can now; it's a non-determinism issue in the NFA.minimize
routine itself

    dfa.__dict__ = {'initial': 1, 'transitions': {1: {'a': 3, 'b': 2}, 3: {'a': 
1}, 2: {'b': 1}}, 'defaults': {}, 'final_states': {1}, 'outlabels': {}}

    good.__dict__ = {'initial': 1, 'transitions': {1: {'a': 3, 'b': 2}, 2: 
{'b': 1}, 3: {'a': 1}}, 'defaults': {}, 'final_states': {1}, 'outlabels': {}}

The __eq__ method could potentially be patched to find them
equivalent "anyway" but I'm not sure that is right at all.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org 🍥 chris-lamb.co.uk
       `-

Reply via email to