On 08/25/2010 04:23 PM, Simon Schampijer 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?
>
> Thanks,
>      Simon
>
> [1] http://bugs.sugarlabs.org/ticket/1630#comment:6
> [2] http://docs.python.org/whatsnew/2.6.html

FWIW, the specific issue described here could as well be handled with

from __future__ import with_statement

in Python 2.5 [1].

Regards,
    Simon

[1] http://docs.python.org/whatsnew/2.6.html
_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to