Edgewall Software

Changes between Version 34 and Version 35 of TracDev/CodingStyle


Ignore:
Timestamp:
Sep 8, 2017, 1:01:52 AM (7 years ago)
Author:
Ryan J Ollos
Comment:

We discussed targeting Python 3.5+.

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/CodingStyle

    v34 v35  
    1212Like most Python projects, we adhere to [pep:0008 PEP 8 (Style Guide for Python Code)] and [pep:0257 PEP 257 (Docstring Conventions)]. Be sure to read those documents if you intend to contribute code to Trac.
    1313
    14 Starting with version 1.5.1 the codebase should be compatible with Python 2 and 3, specifically Python 2.7 and Python 3.3+. The [https://docs.djangoproject.com/en/1.11/topics/python3/ Django Python 2/3 guidelines] should be followed.
     14Starting with version 1.5.1 the codebase should be compatible with Python 2 and 3, specifically Python 2.7 and Python 3.5+. The [https://docs.djangoproject.com/en/1.11/topics/python3/ Django Python 2/3 guidelines] should be followed.
    1515
    1616Note that some of the current Trac code violates coding style rules. We are always in the process of refactoring the offending modules so that all code adheres to the conventions.