[Sugar-devel] Depending on Python 2.6 (was: Re: [PATCH 1/3] Add models for detecting and parsing the providers DB.)
Sascha Silbe
sascha-ml-ui-sugar-devel at silbe.org
Wed Jul 7 05:32:02 EDT 2010
Excerpts from Tomeu Vizoso's message of Tue Jul 06 11:01:44 +0000 2010:
> Using 'with' like that makes us depend on Python 2.6.
Adding the following code makes "with" work in Python 2.5:
from __future__ import with_statement
> I have nothing against bumping our dependency from 2.5 to 2.6 but this
> should be discussed separately so people can give their opinions.
We should avoid to depend on Python 2.6 unless it provides actual
benefits. The switch from Python 2.5 to Python 2.6 was a pretty major one
for distros. I don't know how many of them are still on 2.5 (Debian has
2.6 as default for only a few days now and they're still sorting out
issues with packages broken by the switch).
Sascha
--
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
Url : http://lists.sugarlabs.org/archive/sugar-devel/attachments/20100707/c7fb89df/attachment.pgp
More information about the Sugar-devel
mailing list