majek / puka

Puka - the opinionated RabbitMQ client
https://github.com/majek/puka
Other
182 stars 34 forks source link

which python versions are supported? #30

Closed schmir closed 11 years ago

schmir commented 11 years ago

The test suite works with python 2.6, python 2.7 and pypy.

python 2.5 does not work (no collections.namedtuple) and simplebuffer contains a workaround for python 2.4!

majek commented 11 years ago

Ha, good point! namedtuple is only used in the backported urlparse module, right?

What do you think?

schmir commented 11 years ago

I personally wouldn't care about 2.4/2.5. I'm using 2.7, but I think it makes sense to support 2.6.

majek commented 11 years ago

Okay, we can focus on 2.6. But if something can be easily made compatible with to 2.5, I see no reason not to do that.

With 2.6 we could got rid of the simplebuffer and use bytearray instead. That should be faster and simpler.