Edgewall Software

Changes between Version 27 and Version 28 of Ticket #9536


Ignore:
Timestamp:
Feb 23, 2011, 11:33:13 PM (13 years ago)
Author:
Remy Blank
Comment:

Cleaned-up exception handling in [10595].

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9536 – Description

    v27 v28  
    33 * ~~Use context managers and the `with` statement for: database transactions, handling locks, handling files.~~
    44 * ~~Use `... if ... else ...` expressions instead of the more error-prone `... and ... or ...`.~~
    5  * Use `try: except: finally:` instead of nested `try: finally:` and `try: except:`.
    6  * Use `except Exception:` instead of `except:`.
     5 * ~~Use `try: except: finally:` instead of nested `try: finally:` and `try: except:`.~~
     6 * ~~Use `except Exception:` instead of `except:`.~~
    77 * ~~Remove our own implementations for functionality that was introduced in Python 2.5.~~
    88 * Use generator expressions instead of list comprehensions where adequate.