[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH for-next RFC 0/4] tools: Python 3 compatibility
On Wed, Mar 06, 2019 at 01:53:01PM +0000, George Dunlap wrote: > On 3/6/19 1:49 PM, George Dunlap wrote: > > On 3/5/19 4:42 PM, Wei Liu wrote: > >> This series makes tools build with Python 3. > >> > >> Compile test only with 2.7 and 3.5 thus far, hence the RFC. This should be > >> able > >> to give people some idea what sort of work is involved. > >> > >> You will also need Andrew's "tools/xen-foreign: Update python scripts to be > >> Py3 compatible". > > > > Tossing this out there: Given that python2 is (theoretically) EOL in > > less than a year, is it worth maintaining compatibility with python2, or > > would it be better to just go whole-hog into python3? > > I mean -- looking at some of the discussions about how differently > certain kinds of things are interpreted between python2 and python3, it > seems a bit mad to try to write code that works in both: we're just > asking for trouble. I think Python is not very consistent even within a major version. New syntax and constructs get added to point releases. Some of the discussions re code isn't about the differences between 2 and 3. There is at least one about 2.4 vs 2.7. I am all for moving away from 2.4. Wei. > > -George _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |