This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
Recipients docs@python, methane
Date 2011-03-07.05:44:51
SpamBayes Score 1.30922e-06
Marked as misclassified No
Message-id <1299476693.61.0.829631562481.issue11425@psf.upfronthosting.co.za>
In-reply-to
Content
* Insert spaces around operators and after commas.
* Split one liner blocks (ex. def foo(x, y): return x + y) to
  multi-line blocks.
* Insert empty line after def block for scripts (not interactive mode).
* Use new-style raise (s/ralse KeyboardInterrupt/raise KeyboardInterrupt()/)
* Use x ** 3 instead of x * x * x.

Attached patch is for Python 2.6.
I'll make same changes for Python 3.1 if this patch is accepted.
History
Date User Action Args
2011-03-07 05:44:54methanesetrecipients: + methane, docs@python
2011-03-07 05:44:53methanesetmessageid: <1299476693.61.0.829631562481.issue11425@psf.upfronthosting.co.za>
2011-03-07 05:44:52methanelinkissue11425 messages
2011-03-07 05:44:52methanecreate