Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#6402 closed enhancement (fixed)

Python 2.4 support for GitPlugin r7356

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

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

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by twpayne@…

Python 2.4 support for GitPlugin r7356

comment:1 Changed 5 years ago by hvr

  • Resolution set to fixed
  • Status changed from new to closed

(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 5 years ago by hvr

thanks for the patch

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.