Changes between Version 1 and Version 2 of Ticket #14535, comment 31
- Timestamp:
- 06/09/13 17:09:54 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #14535, comment 31
v1 v2 11 11 > If the user-facing part of the immutability is in `GenericGraph_pyx` then its easy to add an imutable backend next to mutable ones, the only difference is that the constructor will already set the immutability flag for the immutable backend(s). 12 12 13 Well, what I had in mind was something like that ``immutable_g = Graph(g, immutable = True)``. Rather simple. 13 Well, what I had in mind was something like that 14 {{{ 15 immutable_g = Graph(g, immutable = True) 16 }}} 17 Rather simple. 14 18 15 19 > Whereas duplicating the backends means twice as many bugs