Bug 27342 - Python-mode is old and causes warnings in emacs 27.1
Summary: Python-mode is old and causes warnings in emacs 27.1
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Python Stack Maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-30 22:59 CEST by Joseph Wang
Modified: 2020-10-03 11:28 CEST (History)
0 users

See Also:
Source RPM: python-2.7.18-3.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Joseph Wang 2020-09-30 22:59:34 CEST
Description of problem:

Python-mode.el is old and causes warnings in emacs 27.1 complaining about cl-mode not being present

Also python-mode.el should probably be moved out of python2 and into a standalone package with a new version

https://github.com/emacsmirror/python-mode

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. start up emacs 27.1
2. see warning about deprecated library cl
3. the file can be fixed by require cl-lib rather than cl
Comment 1 Lewis Smith 2020-10-03 11:28:15 CEST
Thank you for reporting this. And:
> can be fixed by require cl-lib rather than cl
I found these:
 $ urpmf python-mode.el
 panda3d:/usr/share/panda3d/direct/directscripts/python-mode.el
 python:/usr/share/emacs/site-lisp/python-mode.el
 python:/usr/share/emacs/site-lisp/python-mode.elc
and
 $ urpmf cl-lib
 emacs-el:/usr/share/emacs/26.2/lisp/emacs-lisp/cl-lib.el.gz
 emacs-common:/usr/share/emacs/26.2/lisp/emacs-lisp/cl-lib.elc
but I cannot see where the 'requires' applies.

> python-mode.el should probably be moved out of python2
> and into a standalone package with a new version
I thought Python2 is no longer with us.

Assigning this to the Python maintainers.

Assignee: bugsquad => python


Note You need to log in before you can comment on or make changes to this bug.