yuce / pyswip

PySwip is a Python-Prolog interface that enables querying SWI-Prolog in your Python programs.
https://pyswip.org
MIT License
482 stars 98 forks source link

Add abort functionality and handle exception in cleanup #150

Closed g-gemignani closed 4 months ago

g-gemignani commented 1 year ago

In this PR, I have added the method for aborting a query. Also, I have added the handling of an exception that popped up on our side during cleanup.