backport to python 2.4 ?

Asked by Stefano Borini

Hello,

I was wondering if a backport of quantities to python 2.4 is planned/feasible ?
How much effort do you think it requires ?

Question information

Language:
English Edit question
Status:
Solved
For:
python-quantities Edit question
Assignee:
No assignee Edit question
Solved by:
Stefano Borini
Solved:
Last query:
Last reply:
Revision history for this message
Darren Dale (dsdale24) said :
#1

I'm sorry, but a backport is not planned. The issues I am aware of are the imports of absolute_import and with_statement from __future__. The former is used to provide forward compatibility with >=python-2.7 and also to allow quantities to be included as a subpackage in another project, the with statement is hardly used. It would probably not be too much work to go through the codebase and convert the imports so quantities could be used with python-2.4, but the changes would not be incorporated into the trunk.

Revision history for this message
Stefano Borini (stefano-borini) said :
#2

I will take a look at it. I have python 2.4 as a development target, and I need quantities for my library. I could provide an unofficial fork for python 2.4 and try to maintain it, if it's not that difficult, otherwise I will have to upgrade all my runtime to python 2.5. I will take a look at it tomorrow and decide.

Thanks