This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author deepanshugarg09
Recipients deepanshugarg09
Date 2020-12-10.07:20:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1607584803.23.0.875978893674.issue42612@roundup.psfhosted.org>
In-reply-to
Content
I am calling and executing python script from C++ code using "PyRun_SimpleFile". This API is being called from windows thread and every thread intializes and finalizes the python interpreter. However, it works fine for single thread but if intiate a request immideatly after first returned the results, it does not work.

I ttried using PyGILState_STATE as well but it caused me access violation issue and application crashed
History
Date User Action Args
2020-12-10 07:20:03deepanshugarg09setrecipients: + deepanshugarg09
2020-12-10 07:20:03deepanshugarg09setmessageid: <1607584803.23.0.875978893674.issue42612@roundup.psfhosted.org>
2020-12-10 07:20:03deepanshugarg09linkissue42612 messages
2020-12-10 07:20:02deepanshugarg09create