Edgewall Software

Changes between Version 21 and Version 28 of Ticket #11600


Ignore:
Timestamp:
May 17, 2014, 2:07:01 AM (5 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11600 – API Changes

    v21 v28  
    1 Remove Python 2.5 compatibility:
     1Removed Python 2.5 compatibility:
    22 * statements `from __future__ import with_statement`.
    33 * `trac.util.presentation.to_json` for the case that `json` can't be imported.
    44 * `cleandoc` definition in `trac.util.compat`.
     5
     6Utilized Python 2.6 features:
    57 * PEP 3110 style exception catching, `except X as e`.
     8 * Print function (`from __future__ import print_function`) (PEP 3105).
     9 * Absolute imports (`from __future__ import absolute_import`).
    610
    7 The function `terminate` in `trac.util` will accept a `subprocess.Popen` object or integer process id as an input.
     11The function `terminate` in `trac.util` will accept either a `subprocess.Popen` object or integer process id as an input.