stefankoegl/python-json-patch — pull request #9 by kxepal (2012-10-04 20:30:14+00:00)
Title: Fix compatibility with Python 3.x 

Used exception handling syntax is deprecated since 2.6 and removed in 3.0 (see [PEP-3110][1] for details). However, the new one is invalid for Python 2.5 and older versions, so it's a little tricky to reraise exception in portable way.

[1]: http://www.python.org/dev/peps/pep-3110/