[Sugar-devel] Found this interesting python package to for activity compatibility
Sumit Srivastava
sumitsrisumit at gmail.com
Sun Aug 9 20:03:47 EDT 2020
If there's only little advantage for porting to six over porting to py3,
why are people still using six?
On Mon, Aug 10, 2020, 5:25 AM James Cameron <quozl at laptop.org> wrote:
> No, we're not using it everywhere. It is easier to port to Python 3
> than to port using Six, and there's little advantage to having an
> activity source code compatible with both versions of Python.
>
> For new installs of Sugar, or when using Fedora, Debian, or Ubuntu,
> only Python 3 activities are used. This is because those
> distributions have chosen for cost reasons to remove support rather
> than take over security maintenance of Python from the Python
> Foundation. (Red Hat Enterprise Linux and the other paid enterprise
> Linux distributions have kept Python 2 available.)
>
> For OLPC OS, both Python 2 and Python 3 activities can be used.
>
> On Mon, Aug 10, 2020 at 04:42:36AM +0530, Sumit Srivastava wrote:
> > Awesome! Are we using six everywhere?
> >
> > On Mon, Aug 10, 2020, 4:41 AM James Cameron <[1]quozl at laptop.org> wrote:
> >
> > Yes, well done, it is very useful. We have used Six on the Sugar
> > Toolkit so that Python 2 activities can continue to run.
> >
> > On Mon, Aug 10, 2020 at 01:10:06AM +0530, Sumit Srivastava wrote:
> > > Hi all,
> > >
> > > I think this might be useful for making activities compatible. I
> found
> > this
> > > while reading the codebase of a software I was using.
> > >
> > > [1][2]https://six.readthedocs.io/
> > > [2][3]https://github.com/benjaminp/six
> > >
> > > Regards,
> > > Sumit
> > > [t]ᐧ
> > >
> > > References:
> > >
> > > [1] [4]https://six.readthedocs.io/
> > > [2] [5]https://github.com/benjaminp/six
> >
> > > _______________________________________________
> > > Sugar-devel mailing list
> > > [6]Sugar-devel at lists.sugarlabs.org
> > > [7]http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> > --
> > James Cameron
> > [8]http://quozl.netrek.org/
> >
> > References:
> >
> > [1] mailto:quozl at laptop.org
> > [2] https://six.readthedocs.io/
> > [3] https://github.com/benjaminp/six
> > [4] https://six.readthedocs.io/
> > [5] https://github.com/benjaminp/six
> > [6] mailto:Sugar-devel at lists.sugarlabs.org
> > [7] http://lists.sugarlabs.org/listinfo/sugar-devel
> > [8] http://quozl.netrek.org/
>
> --
> James Cameron
> http://quozl.netrek.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20200810/275a6520/attachment.htm>
More information about the Sugar-devel
mailing list