]> gerrit.simantics Code Review - simantics/python.git/commit
Support for output and exceptions without tracebacks 19/319/3
authorReino Ruusu <reino.ruusu@vtt.fi>
Wed, 1 Feb 2017 19:17:18 +0000 (21:17 +0200)
committertkorvola <Timo.Korvola@vtt.fi>
Mon, 6 Feb 2017 11:42:13 +0000 (13:42 +0200)
commit8885425046e0f89893c0e1ee0fe5c27948dcd2be
tree42de4b5f96167ffd6e4b4772a10e4c3259441f8d
parent1ea9a623d145875880b543e8eea62e801561fba9
Support for output and exceptions without tracebacks

Added a redundant implementation of SCLReportingWriter for backward
compatibility.
Added support for a user-provided Writer object in
executePythonStatement.
Moved instantiation of SCLReportingWriter to Java.
Added support for sys.stdout.flush() in Python.

Change-Id: Icf53ed000844d136b93aa86f7bf41db3559f8748
org.simantics.pythonlink.win32.x86_64/jnipython.dll
org.simantics.pythonlink.win32.x86_64/src/sclpy.c
org.simantics.pythonlink.win32.x86_64/src/sclpy.h
org.simantics.pythonlink/src/org/simantics/pythonlink/PythonContext.java
org.simantics.pythonlink/src/org/simantics/pythonlink/SCLReportingWriter.java [new file with mode: 0644]