Edgewall Software

Changes between Version 3 and Version 12 of Ticket #9536


Ignore:
Timestamp:
Sep 25, 2010, 12:23:13 AM (11 years ago)
Author:
Remy Blank
Comment:

I have cleaned up trac.util.compat and fixed all occurrences where it is imported in [10128].

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9536 – Description

    v3 v12  
    55 * Use `try: except: finally:` instead of nested `try: finally:` and `try: except:`.
    66 * Use `except Exception:` instead of `except:`.
    7  * Remove our own implementations for functionality that was introduced in Python 2.5.
     7 * ~~Remove our own implementations for functionality that was introduced in Python 2.5.~~
    88 * Use generator expressions instead of list comprehensions where adequate.
    99 * Use tuple arguments to `str.startswith()` and `str.endswith()`.
    1010 * Use relative imports for parent, sibling and child modules?
     11 * Remove workarounds for 2.3 and 2.4.
    1112
    1213Please add new items to this list as they pop up.