Opened 6 years ago

Closed 6 years ago

#57584 closed defect (fixed)

libedit@20180525-3.1: tab completion and history does not work anymore in Python

Reported by: reneeotten (Renee Otten) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: libedit python2 python3

Description

After upgrading to the latest libedit version the tab completion and going through the history (arrow-up/down) does not work anymore for me in the Python ports.

For example:

  • trying to tab-complete pri gives print\(; there shouldn't be a \
  • only the last command in the history can be reached

Re-installing the Python port from source after this upgrade does not solve the issue, reverting to the previous libedit does. Any ideas how to fix this?

Change History (4)

comment:1 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Unfortunately, these seems to be different issues.
The tab-complete issue seems to have been introduced in a changes intended to facilitate filename completion.

I am still working on the history issue.

comment:2 Changed 6 years ago by mf2k (Frank Schima)

Port: python2 python3 added; python* removed

comment:3 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

The history issue seems to have been introduced in a change intended increase compatibility with readline.

Last edited 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) (previous) (diff)

comment:4 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed

In e226b3380e15c494e5bf2fbef0489e960098493e/macports-ports (master):

libedit: fix tab completion and history in Python

Fixes #57584

Note: See TracTickets for help on using tickets.