techtonik / python-patch

Library to parse and apply unified diffs
https://pypi.python.org/pypi/patch
106 stars 63 forks source link

Minimal changes to make it work with py3 with log and all #74

Open DarioDaF opened 2 years ago

DarioDaF commented 2 years ago

Made the minimal amount of changes to make it work for python 3.8.0, should work fine in all python 3, can't test in python 2 (my initial idea was to strip out py2 support and make it a small tool, I just use it as main).

Fixed:

Hope this gets tested in py2 and up in pip so I can start using it from the repo instead of shipping it (command line patch tools for windows are a rarity unfortunately).