[Gluster-devel] Python 3 is coming!
Prashanth Pai
ppai at redhat.com
Tue Jan 19 06:05:13 UTC 2016
Hi,
Changing our code to make use of Python's "six" module will help maintain code that will run both on Python 2 and Python 3.
https://pypi.python.org/pypi/six
Regards,
-Prashanth Pai
----- Original Message -----
> From: "Aravinda" <avishwan at redhat.com>
> To: "Kaleb S. KEITHLEY" <kkeithle at redhat.com>, "Gluster Devel" <gluster-devel at gluster.org>
> Sent: Tuesday, January 19, 2016 11:19:50 AM
> Subject: Re: [Gluster-devel] Python 3 is coming!
>
> Python 2 and 3 can co exists. If Python 3 used by default, then we may
> have to change the script heading from `#!/usr/bin/python` to
> `#!/usr/bin/env python2`.
> We need to modify the code where python command is used to call python
> script.
>
> For example, `PYTHON GSYNCD` to `PYTHON2 GSYNCD`
>
>
> regards
> Aravinda
>
> On 01/18/2016 06:44 PM, Kaleb S. KEITHLEY wrote:
> > Python 3.5 is approved for Fedora 24[1], which is scheduled to ship in
> > May[2]
> >
> > We have several places in the source where Python 2 is an explicit
> > requirement.
> >
> > Do we want to rethink the hard requirement for Python 2? I suspect we
> > should.
> >
> > [1]https://fedoraproject.org/wiki/Releases/24/ChangeSet
> >
> > [2] https://fedoraproject.org/wiki/Releases/24/Schedule
> >
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-devel
>
More information about the Gluster-devel
mailing list