Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix EPDType.encode str vs bytes conflict
Issue: EPDType.encode tried to pack a str into a 22p struct format. However, in Python 3 onward, 22p will only accept a bytes. Resolution: Encode the string using the ASCII charset. This guarantees that only one byte is used per character. Non-ASCII characters will never be generated.
- Loading branch information