From: Samuel M. <s.m...@gm...> - 2016-06-08 19:59:57
|
Hi Matthias, On Wed, Jun 8, 2016 at 9:47 PM, Matthias Andree <mat...@gm...> wrote: > Am 08.06.2016 um 21:36 schrieb Samuel Martin: >> This change does: >> - use repr(...) instead of `...` (see [1]); >> - fix print call; >> - fix octal numbers. >> >> [1] https://docs.python.org/release/3.0.1/whatsnew/3.0.html#removed-syntax >> >> Signed-off-by: Samuel Martin <s.m...@gm...> > > Hi Samuel, > > thanks for the submission. > > Out of curiosity and due to the "from __future__ import > print_function()", what is the minimum Python 2.x version that this code > will be compatible with? Anything older than 2.7? According to [1], print_function should be available since python-2.6. To be honest, I did check with python-2.7, but not with python-2.6 (long gone on my machine ;-]) > > I have essentially purged python < 3.4 from all my work so I've > forgotten the old stuff. > > This is mainly to figure out if I want to merge this on the master > branch only, or on the legacy_64 branch as well. I forgot to mention it, these patches have been done on top of the legacy_64 branch. > > Cheers, > Matthias [1] https://docs.python.org/2/library/__future__.html Regards, -- Samuel |