Vinzent Steinberg wrote: > 2009/7/25 Fabian Pedregosa <fab...@fseoane.net>: > >> Yes, I also considered this approach, but for that I would need an >> object GlobalAssumptions with methods .Add(), .Remove(), .Clean(). Plus, >> this object should be a singleton of provide some way of preserving >> data. I just felt that it was too complicated, while current approach is >> much simpler (but I am willing to change it if there is a good reason to >> do so). > > I think an object would be much cleaner, because it does not pollute > the namespace. In my opinion it's not more complicated, I'd implement > it if you don't want to. ;) > > Something along the lines > > class GlobalAssumptions(set): > def clear(): > ...
If you implement it, I'll take if for sure :-) > > Vinzent > > > > -- http://fseoane.net/blog/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy-patches" group. To post to this group, send email to sympy-patches@googlegroups.com To unsubscribe from this group, send email to sympy-patches+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sympy-patches?hl=en -~----------~----~----~----~------~----~------~--~---