Hi, attached a test file, revealing a bug in python-fill-paragraph already reported at lp, which pertains to python.el and python-mode.el likewise. Patch attached. Andreas -- https://code.launchpad.net/~a-roehler/python-mode/python-mode-components https://code.launchpad.net/s-x-emacs-werkstatt/