Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#6402 closed enhancement (fixed)

Python 2.4 support for GitPlugin r7356

Reported by: twpayne@… Owned by: Herbert Valerio Riedel
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 (1)

trac-git-plugin-python2.4.patch (7.0 KB) - added by twpayne@… 14 years ago.
Python 2.4 support for GitPlugin r7356

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by twpayne@…

Python 2.4 support for GitPlugin r7356

comment:1 Changed 14 years ago by Herbert Valerio Riedel

Resolution: fixed
Status: newclosed

(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

comment:2 Changed 14 years ago by Herbert Valerio Riedel

thanks for the patch

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Herbert Valerio Riedel.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.