PySysC
PySysC copied to clipboard
Public repository for the SC Common Practices Subgroup
[wpeet@wpeet-lx01]> /proj/newton/_PySysC/pysysc-env/bin/python router_example.py DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): center.conan.io:443 DEBUG:urllib3.connectionpool:https://center.conan.io:443 "GET /v1/ping HTTP/1.1" 200 0 DEBUG:urllib3.connectionpool:https://center.conan.io:443 "GET /v1/conans/SystemC/2.3.3/minres/stable/download_urls HTTP/1.1" 404 74 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.bintray.com:443 DEBUG:urllib3.connectionpool:https://api.bintray.com:443 "GET /conan/minres/conan-repo/v1/ping...
This is probably not PySysC specific issue but my cppyy installation. I followed the procedure to build PySysC and I get this error when cppyy is imported (when I run...
This PR removes the SCC dependencies left over from the initial version. It also adds the support to run Python code as part of as SC_THREAD
There are two issues to support latest version of Python. Python header include is hard-coded: ``` PyScModule.cpp:9:30: fatal error: python3.6/Python.h: No such file or directory 9: #include ``` Changing it...
## Summary - Guard the legacy `PyEval_ThreadsInitialized()` call behind a `PY_VERSION_HEX < 0x03090000` check. - Call `PyEval_InitThreads()` unconditionally on Python ≥3.9, where `PyEval_ThreadsInitialized()` was removed, keeping the GIL initialisation behaviour...
When PySysC is built or imported under Python 3.9+ the import fails with: AttributeError: module 'cpython' has no attribute 'PyEval_ThreadsInitialized' `PyEval_ThreadsInitialized()` was removed in Python 3.9, so the guard in...
This is an nice work!! I want to know if SC_METHOD is supported. Thank you!!