Bug 27342

Summary: Python-mode is old and causes warnings in emacs 27.1
Product: Mageia Reporter: Joseph Wang <joequant>
Component: RPM PackagesAssignee: Python Stack Maintainers <python>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: python-2.7.18-3.mga8.src.rpm CVE:
Status comment:

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