JoshData / fast_diff_match_patch

Python package for Google's diff-match-patch native C++ implementation.
https://pypi.org/project/fast-diff-match-patch/
Apache License 2.0
73 stars 27 forks source link

This library isn't binary safe. 0x00 can't be in the string. #5

Closed myrfy001 closed 2 years ago

myrfy001 commented 7 years ago

I use Python 2.7 and the input can't contain a 0x00 char.

christian-storm commented 7 years ago

Same here but with python 3.

JoshData commented 2 years ago

In the latest release (today), this seems to be working with strings in Py 3, but not with bytes yet.

JoshData commented 2 years ago

Hopefully fixed in https://github.com/JoshData/fast_diff_match_patch/commit/07f19e6b4b9488599a85b3318840183d92e48f3e.