GNU bug report logs - #18118
Support for Python3 in TRAMP's `tramp-get-remote-uid-with-python'

Previous Next

Package: emacs;

Reported by: eclig <at> gmx.net

Date: Sun, 27 Jul 2014 14:29:02 UTC

Severity: normal

Tags: patch

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 18118-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: eclig <at> gmx.net
Cc: 18118-done <at> debbugs.gnu.org
Subject: Re: bug#18118: Support for Python3 in TRAMP's
 `tramp-get-remote-uid-with-python'
Date: Mon, 28 Jul 2014 21:11:36 +0200
eclig <at> gmx.net writes:

> Dear Emacs maintainers,

Hi Emílio,

> the following patch makes possible to use TRAMP to connect to systems
> where both `perl' and `id' are missing and where the Python program is
> called `python3'.  Note that the syntax `print foo' is invalid in
> Python3 since there `print' is a function, whereas in Python2 it is/was
> a statement.  The syntax `print(foo)' works in both cases and it's what
> I used bellow.

I don't use Python. However, your patch looks reasonable to me, so I've
applied it to the trunk. Closing the bug.

> Regards
>
>  Emílio

Thanks for your report, and best regards, Michael.




This bug report was last modified 11 years and 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.