April 2024 - This site, and Kamaelia are being updated. There is significant work needed, and PRs are welcome.

Project Task Page: Dirac 0.6.0 Bindings

Status: Completed
Current Developers: MH, MS
Current "inflight" dev location: /branches/private_MH_20070425_dirac0.6.0bindings
Start Date: 11 October 2006
Expected End Date: 30 April 2007
End Date: 27 April 2007
Date this page last updated: 25 April 2007
Estimated effort so far: 5


Description

Dirac python bindings are for dirac version 0.5.4. Dirac has moved onto 0.6.0 and there have been API changes which make the bindings incompatible (see IRC logs)

Update the bindings for compatibility with 0.6.0. If possible find a way to maintain compatibility with 0.5.4.

Inputs

Task Sponsor: MH

Task Owner: MH

Developers: MH, MS

Users: lawouach (IRC handle)

Interested third parties: MS, lawouach (IRC handle)

Requirements

Outputs

Expected

New/updated bindings in

Actual

Branch /branches/private_MH_20070425_dirac0.6.0bindings/

...containing modifications to:

Modifications merged into /trunk

Realistic possibilities arising as a result of activity on this task

Tasks that directly enable this task (dependencies)

none

Sub Tasks

Task Log

Discussion

Discovered it was possible to simply keep two sets of bindings - for 0.5.4 and 0.6.0. Pyrex does not yet support conditional compilation, so two sets of bindings is an alternative simple solution.

Added a version number attribute to 0.6.0 which the component now tests for so it knows how to behave differently depending on which bindings it has available.

Note that there was a change in bitsam syntax between 0.6.0 and 0.5.4 so files compressed with one cannot be played back by the other.

Modified examples so there are two example compressed files - one for 0.5.4 and one for 0.6.0. 'simple playback' example program modified to take a command line argument to specify which.

-- Matt, 25 April 2007