certi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-dev] PyHLA and python3 compatibility for OMT


From: Charles Lesire-Cabaniols
Subject: [certi-dev] PyHLA and python3 compatibility for OMT
Date: Wed, 14 Sep 2011 11:54:49 +0200

Hi,

I faced some troubles while using OMT types with PyHLA under python 3.2.

The point is that, when using HLAfixedArray, the buffer type is a string, whereas python3 now distinguishes strings and bytes.

I have modified the array.py and record.py files to use bytes type for buffers, and it works for me now, and the fom-simple.py test file output looks correct.

However, I have not fully tested the python3 compatibility of other OMT types.

The patch is attached.

Cheers,

Charles.

Attachment: omt-python3-bytes.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]