On 25 August 2010 15:23, Simon Schampijer <si...@schampijer.de> wrote: > Hi, > > raised during the review of [1] some code was relying on Python 2.6 > (with open(COUNTRY_CODES_PATH) as codes_file:). > > Is it sane to switch to this Python version for the Sugar platform? More > readings on what is new in 2.6 at [2]. Python 2.6 is available in F11, > hence 0.84. Not sure for the other distributions... > > Objections, comments?
If depending on 2.6 isn't desirable, we can use __future__ imports. (from __future__ import with_statement). _______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel