defalias does not provide backward-compatibility
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
High
|
Andreas Roehler |
Bug Description
In python-mode.el version 6.0.4, there is this section of code:
;; backward compatibility
(defalias 'py-python-command 'py-shell-name)
(defalias 'py-jpython-command 'py-shell-name)
(defalias 'py-jython-command 'py-shell-name)
(defalias 'py-default-
(defalias 'python-command 'py-shell-name)
However, "defalias" works only for functions, and all of those symbols are variables, so this "backward-
Changed in python-mode: | |
assignee: | nobody → Andreas Roehler (a-roehler) |
importance: | Undecided → High |
milestone: | none → 6.0.4 |
status: | New → Confirmed |
Changed in python-mode: | |
status: | Fix Committed → Fix Released |
change defalias to defvaralias
The patch also includes a line removal from the py-execute-base because me and bzr still don't get along well