IntelHex 2.0
Major improvements in IntelHex 2.0
- The same codebase can be run on both Python 2 (2.4-2.7) and Python 3 (3.2+). No need to use 2to3.
Bugfixes
- Python 3 compatibility: tobinstr should return bytes not unicode string (Launchpad Bug #1212698).
- Python 2: better support for long int addresses (over 2GB) (Launchpad Bug #1408934)
Internals
- compat.py: provide more helper functions and aliases to reduce changes required to convert python 2 compatible sources to python 3. The code becomes quite ugly, but such compatibility has its price.