Changes between Version 21 and Version 28 of Ticket #11600
- Timestamp:
- May 17, 2014, 2:07:01 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11600 – API Changes
v21 v28 1 Remove Python 2.5 compatibility:1 Removed Python 2.5 compatibility: 2 2 * statements `from __future__ import with_statement`. 3 3 * `trac.util.presentation.to_json` for the case that `json` can't be imported. 4 4 * `cleandoc` definition in `trac.util.compat`. 5 6 Utilized Python 2.6 features: 5 7 * 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`). 6 10 7 The function `terminate` in `trac.util` will accept a `subprocess.Popen` object or integer process id as an input.11 The function `terminate` in `trac.util` will accept either a `subprocess.Popen` object or integer process id as an input.