Project

Profile

Help

Bug #5936

closed

Python script Cross platform exception handling

Added by O'Neil Delpratt over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Python API
Start date:
2023-03-23
Due date:
% Done:

100%

Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
12.1
Fixed in version:
12.2
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:

Description

Reported by user here: https://saxonica.plan.io/boards/4/topics/9341

In SaxonC 12.1 to support python exception handling we switched to the throwing of PySaxonApiError to a RuntimeError on Windows only. This was a was a last minute workaround for compiler/linker issues on Windows.

This is not ideal for users with python scripts which are supported across different platforms

Please register to edit this issue

Also available in: Atom PDF