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
`. `'` [email protected] 🍥 chris-lamb.co.uk
`-
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team