Changes between Version 10 and Version 11 of PythonGuidelines


Ignore:
Timestamp:
Mar 31, 2010 12:12:12 PM (14 years ago)
Author:
Chris Jerdonek
Comment:

Retitled, and clarified the minimum Python version requirement.

Legend:

Unmodified
Added
Removed
Modified
  • PythonGuidelines

    v10 v11  
    11[[PageOutline]]
    22
    3 = WebKit Python Guidelines and Tips =
     3= Python in WebKit =
    44
    55Below is an overview of WebKit's use of Python.
     
    77== Basics ==
    88
    9  * Most of WebKit's Python scripts require Python 2.5 to run.
     9 * WebKit's Python scripts require Python 2.5 or higher to run.
    1010 * Informally, we try to follow [http://www.python.org/dev/peps/pep-0008/ PEP8].  Eventually we may make this official.
    1111 * [http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/test-webkitpy Scripts/test-webkitpy] unit tests the Python code.  It also cleans orphan *.pyc files from webkitpy (i.e. .pyc files without a corresponding .py file).  You can also do this manually (for all *.pyc files in webkitpy) using the following command: