Created attachment 293421 [details] emerge --info On my machine I see the following error after upgrading python-mode and subsequently invoking it: Symbol's value as variable is void: py-python-command I'm using an ~amd64 system with hardened profile and gcc-4.6.2 (although this should not make that much of a difference). Downgrading to python-mode-5.2.0 makes everything working fine. I'm using emacs-23.3-r2.
Sorry, but I cannot reproduce this, so could you please provide a recipe how to reproduce the problem, starting with "emacs -q"? Also, do you have any other Python related Emacs packages installed (like app-emacs/pymacs or dev-python/ipython)? What versions?
This always happens for me when using python-mode. So the recipe is quite short: $ emacs -q M-x python-mode I have dev-python/ipython-0.10.2 installed, but not app-emacs/pymacs. If I remove ipython the problem vanishes and on first look everything works fine again.
Does the following patch (from upstream) fix the proplem for you? <http://bazaar.launchpad.net/~python-mode-devs/python-mode/python-mode/revision/627/python-mode.el>
Yes this works.
Fixed in -r1. Thank you for reporting.