Well, you are right that we can't break Python 2.5 compatibility. However, both abc and collections are written in Python, so we could copy the necessary code to compatibility.py if necessary. For example, do
import abc import _abcoll # The abc collections are actually here source(abc) source(_abcoll) So the question is, how important is it to be using abstract base classes for these things? Maybe someone else could comment here. Ronan, you use mixins all the time, what's your opinion? Aaron Meurer On Thu, Jun 30, 2011 at 1:14 PM, Matthew Rocklin <[email protected]> wrote: > My understanding is that I can either use abstract base classes or > maintaining 2.5 compatibility. I assume 2.5 takes precedence. > What should I do with this branch? > > On Thu, Jun 30, 2011 at 8:40 AM, Chris Smith <[email protected]> wrote: >> >> Thanks for the details. The link is >> >> >> http://blip.tv/pycon-us-videos-2009-2010-2011/pycon-2011-the-data-structures-of-python-4898160 >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sympy" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/sympy?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/sympy?hl=en. > -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
