SeiictyUsui / pydicom

Automatically exported from code.google.com/p/pydicom
0 stars 0 forks source link

Extend pydicom to earlier releases of python #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. The package fails to import on earlier versions of python (seen on 2.3.5
on Windows)
{{{
File "C:\Python23\Lib\site-packages\dicom\tag.py", line 28, in __new__
    raise OverflowError, "Tags are limited to 32-bit length"
OverflowError: Tags are limited to 32-bit length
}}}
2. setup.py script also uses package_data which python docs claim is new in
python 2.4. 

Original issue reported on code.google.com by darcymason@gmail.com on 8 Sep 2008 at 3:09

GoogleCodeExporter commented 9 years ago
Fixed in r7. Changed Tag class to use python long's for all inputs, converting 
the
old int from python <2.4 properly.

Original comment by darcymason@gmail.com on 9 Sep 2008 at 12:53