lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Python 3 (was: 2.20 where are we?)


From: Joram
Subject: Re: Python 3 (was: 2.20 where are we?)
Date: Mon, 30 Sep 2019 22:22:28 +0200

Am 27.09.19 um 22:34 schrieb Matthew Peveler:
> long vs int, unicode vs str, StringIO vs io, iter.next vs
> iter.__next__, reload, xrange vs range.

It is very well feasible to support both version. I hope by shims you
mean something like¹

    from __future__ import division, print_function
    from builtins import range

because there is no need to customly write those. I consider the link
quite helpful.

Cheers


¹ https://python-future.org/compatible_idioms.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]