Subject: Re: bug#42125: Python mode load failing due to some issue with tramp

From: Eli Zaretskii <[email-masked]>
Date: Mon, 29 Jun 2020 18:03:47 +0300

> From: [email-masked] (Eric S. Raymond)
> Date: Mon, 29 Jun 2020 10:48:17 -0400 (EDT)
> 
> Package: emacs
> Version: 26.3
> 
> Python mode load is failing due to some issue with tramp.  Likely a
> loaddefs issue or something similar.  To reproduce, simply visit
> a file with a .py extension.
> 
> Stack trace:
> 
> Debugger entered--Lisp error: (void-variable tramp-default-user-alist)
>   (member x tramp-default-user-alist)

I cannot reproduce this, FWIW.  Is it possible that some file in your
~/.emacs.d directory (or some other init-related feature) gets in the
way?

P.S.  Did you try this in "emacs -Q"?