Changes between Version 10 and Version 11 of PythonGuidelines
- Timestamp:
- Mar 31, 2010, 12:12:12 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PythonGuidelines
v10 v11 1 1 [[PageOutline]] 2 2 3 = WebKit Python Guidelines and Tips=3 = Python in WebKit = 4 4 5 5 Below is an overview of WebKit's use of Python. … … 7 7 == Basics == 8 8 9 * Most of WebKit's Python scripts require Python 2.5to run.9 * WebKit's Python scripts require Python 2.5 or higher to run. 10 10 * Informally, we try to follow [http://www.python.org/dev/peps/pep-0008/ PEP8]. Eventually we may make this official. 11 11 * [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: