← Back to team overview

openerp-community team mailing list archive

OCA guidelines for code compatibility with Python 2.6

 

Hi all,

 In a merge proposal for 7.0. came up the question of what Python versions
should the code be compatible with.

 In particular, a dictionay comprehension is used the, available in Python
2.7 but not compatible with Python 2.6.
 For reference, the MP is:
https://code.launchpad.net/~dreis-pt/project-service/7.0-issue_task-dr/+merge/195985

 So, the question here is:
 Regarding OCA reviewed modules, should the code targeting OpenERP >= 7.0
be made to keep Python 2.6 compatibility?

 Regards

Daniel Reis
   

Follow ups