Edgewall Software

Changes between Version 14 and Version 21 of Ticket #11600


Ignore:
Timestamp:
May 15, 2014, 1:26:35 PM (10 years ago)
Author:
Jun Omae
Comment:

Replying to rjollos:

Replying to jomae:

PEP 3110 style exception catching in [5e31e276/jomae.git], e.g. except X as e. If we have a plan to support Python 3, we need to change the style. Should we apply the changes?

That looks good to me. It looks like the change was planned: TracDev/ApiChanges/1.1.1.

Thanks, committed in [12785]. Also absolute_import for importing pygments is committed in [12784].

As far as a tentative plan for switching to Python 3.2 or 3.3, …

#10083 has been filed about porting to Python 3. I think it might be good to support both 2.6+ and 3.3+, not switching.

…, shall we consider that for Trac 1.4?

Agreed.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11600 – API Changes

    v14 v21  
    33 * `trac.util.presentation.to_json` for the case that `json` can't be imported.
    44 * `cleandoc` definition in `trac.util.compat`.
     5 * PEP 3110 style exception catching, `except X as e`.
    56
    67The function `terminate` in `trac.util` will accept a `subprocess.Popen` object or integer process id as an input.