Skip to content

Commit fe9cc53

Browse files
authored
Limitations
1 parent cb75825 commit fe9cc53

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ set ^UnitTestRoot = ##class(%File).SubDirectoryName(##class(%File).SubDirectoryN
5757
set sc = ##class(%UnitTest.Manager).RunTest(,"/nodelete")
5858
```
5959

60+
# Limitations
61+
62+
There are several limitaions associated with the use of PythonAdapter.
63+
64+
1. Modules reinitialization. Some modules may only be loaded once diring process lifetime (i.e. numpy). While Finalization clears the context of the process, repeated load of such libraries terminates the process. Discussions: [1](https://stackoverflow.com/questions/14843408/python-c-embedded-segmentation-fault), [2](https://stackoverflow.com/questions/7676314/py-initialize-py-finalize-not-working-twice-with-numpy).
65+
2. Variables. Do not use these variables: `zzztype`, `zzzjson`. They are used by `isc.py.data` package.
6066

6167
# Development
6268

0 commit comments

Comments
 (0)