olofk / ipyxact

Python-based IP-XACT parser
MIT License
121 stars 47 forks source link

Fix error with large numbers #14

Closed zegervdv closed 5 years ago

zegervdv commented 6 years ago

Creating IpxactInt objects with large values (over 32bit) fail with

OverflowError: Python int too large to convert to C long

Instantiation a new int() in the class in stead of calling the super fixes the issue.

olofk commented 5 years ago

Thanks for this. Sorry for taking so long. Picked and pushed