Oh, by the way: would you guys expect NMEASentences to be immutable objects?
I suppose it makes sense, but maybe I've been thinking too much Haskell recently. After all, an NMEASentence is an alternative way of describing a past event (namely, something that a GPS told you). Changing it would be like changing history, you can't do that -- even if you're really replacing it with the same data but encoded differently. Right now, I'm assuming immutable sentences. I know that you can't *really* make immutable python objects, but they'd be immutable in the sense that: sentence.latitude, sentence.longitude = Coordinate(50.49), Coordinate(-3.34) ... wouldn't work (specifically, latitude and longitude aren't really attributes of the class, but things you can get with my __getattr__ -- and I don't set __setattr__, so you'd need to know the guts of the class, which currently are public but I might make private before the code review). Thanks for your input, Laurens _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python