python: make it possible to modify edges during iteration
Reported by Laurent Xu. * python/spot/impl.i: Fix the iterator to return pointers instead of references. Because references are ultimately copied. * tests/python/automata.ipynb: Add test cases. * NEWS: Mention it.
This commit is contained in:
parent
09c6393942
commit
d271dfd592
3 changed files with 215 additions and 32 deletions
3
NEWS
3
NEWS
|
|
@ -165,6 +165,9 @@ New in spot 2.0.3a (not yet released)
|
|||
|
||||
* Bindings for randomize() were added.
|
||||
|
||||
* Iterating over edges via "aut.out(s)" or "aut.edges()"
|
||||
now allows modifying the edge fields.
|
||||
|
||||
* Under IPython the spot.ltsmin module now offers a
|
||||
%%pml magic to define promela models, compile them
|
||||
with spins, and dynamically load them. This is
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue