Ticket #6402 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

Python 2.4 support for GitPlugin r7356

Reported by: twpayne@gmail.com Assigned to: hvr
Priority: high Component: GitPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

GitPlugin 0.11 requires Python 2.5 which is not available on certain popular Linux distributions.

This patch ports GitPlugin r7356 to Python 2.4 while keeping as much of the original high order functional programming inspiration as possible, specifically:

  • implementations are provided for any and all if they are missing
  • lambda expressions are used in place of functools.partial
  • with statements are replaced with try/except
  • ... if ... else ... expressions are expanded out cleanly

Attachments

trac-git-plugin-python2.4.patch (7.0 kB) - added by twpayne@gmail.com on 01/07/10 16:59:01.
Python 2.4 support for GitPlugin r7356

Change History

01/07/10 16:59:01 changed by twpayne@gmail.com

  • attachment trac-git-plugin-python2.4.patch added.

Python 2.4 support for GitPlugin r7356

03/07/10 12:25:50 changed by hvr

  • status changed from new to closed.
  • resolution set to fixed.

(In [7752]) branched off python 2.4 backport of 0.11 using attachment:trac-git-plugin-python2.4.patch:ticket:6402

closes #6402 closes #5273 closes #3411 closes #5310

03/07/10 12:27:05 changed by hvr

thanks for the patch


Add/Change #6402 (Python 2.4 support for GitPlugin r7356)




Change Properties
Action