Changes between Version 8 and Version 9 of PythonGuidelines


Ignore:
Timestamp:
Mar 31, 2010 9:44:08 AM (12 years ago)
Author:
Chris Jerdonek
Comment:

Added section on consequences of not using Python 2.6

Legend:

Unmodified
Added
Removed
Modified
  • PythonGuidelines

    v8 v9  
    7676}}}
    7777
     78== Consequences of not using Python 2.6 ==
    7879
     80Below 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