GNU bug report logs - #24401
python-shell-completion-native-try returns incorrect results with python 3.5.2

Previous Next

Package: emacs;

Reported by: Clément Pit--Claudel <clement.pitclaudel <at> live.com>

Date: Fri, 9 Sep 2016 23:09:01 UTC

Severity: normal

Tags: fixed, patch

Merged with 22897, 28580, 30651

Found in versions 25.1, 25.1.50

Fixed in version 25.2

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


Message #68 received at 24401 <at> debbugs.gnu.org (full text, mbox):

From: Davor Rotim <drot <at> firemail.cc>
To: 24401 <at> debbugs.gnu.org
Subject: bug#24401
Date: Wed, 30 Nov 2016 10:39:59 +0100
Started with the following:

emacs -Q --eval '(setq python-shell-interpreter "python3")'
M-x run-python

Evaluation of (python-shell-completion-native-try):

http://i.imgur.com/VbBbxuy.png

Evaluation (python-shell-completion-native-get-completions (get-buffer-process (current-buffer)) nil "imp"):

http://i.imgur.com/ttABCyP.png

The same warning and errors also happen when I use "python2" as the interpreter so this is a bit strange.
This is on Arch Linux with python 3.5.2-3 and python 2.7.12-2 installed:

Python 3.5.2 (default, Nov  7 2016, 11:31:36)
[GCC 6.2.1 20160830] on linux

Python 2.7.12 (default, Nov  7 2016, 11:55:55)
[GCC 6.2.1 20160830] on linux2

Thank you for your patience.




This bug report was last modified 7 years and 80 days ago.

Previous Next


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