Changes between Version 8 and Version 9 of PythonGuidelines
- Timestamp:
- Mar 31, 2010, 9:44:08 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PythonGuidelines
v8 v9 76 76 }}} 77 77 78 == Consequences of not using Python 2.6 == 78 79 80 Below is a list of some consequences of not using Python 2.6 (and things we should revisit in our code base should we ever upgrade to 2.6): 81 82 * We can't use os.path.relpath(): [http://docs.python.org/library/os.path.html#os.path.relpath] 83 * We can't use ZipFile.extractall(): [http://docs.python.org/library/zipfile.html#zipfile.ZipFile.extractall] 84 * We need to use an import statement to use the "with" keyword: http://docs.python.org/whatsnew/2.5.html#pep-343-the-with-statement