Dang, guess what? There's a new version of python-mode.el available
(4.6). Please grab it from
http://www.python.org/emacs/python-mode/python-mode.el
or let me know and I'll email it to you directly.
I believe the current prog-modes package has version 4.1, if so,
here's ChangeLog entries:
2001-06-19 Barry Warsaw <barry(a)xemacs.org>
* python-mode.el (python-font-lock-keywords):
Add "yield" as a keyword to support the new "simple
generators" feature of 2.2. See PEP 255.
2001-06-18 Barry Warsaw <barry(a)xemacs.org>
* python-mode.el (py-continuation-offset):
New variable which controls how much to indent continuation
lines, defined as lines following those that end in backslash
continuing a block opening statement.
Enjoy,
-Barry