Message362300
I have been experiencing what I thought was this issue in my embedded Python code. We have been using Python 3.7, so I thought upgrading to 3.8.1 would fix it, but it doesn't seem to have made any difference.
My C++ code essentially can call PyImport_GetModule() from two threads simultaneously on the same module A. The symptoms I see are that one of them then gets a stacktrace in module B (imported by A), saying that some symbol defined near the end of B does not exist.
I've also noticed that this happens far more often on deployed code (where Python modules end up in a zip file) than when run directly in development (where the modules are just normal files). I can't see any difference in the frequency between 3.7.5 and 3.8.1.
Any ideas? Should I reopen this? |
|
Date |
User |
Action |
Args |
2020-02-20 07:39:32 | gjb1002 | set | recipients:
+ gjb1002, brett.cannon, ncoghlan, pitrou, vstinner, eric.snow, p-ganssle, pablogsal, nanjekyejoannah, Valentyn Tymofieiev |
2020-02-20 07:39:32 | gjb1002 | set | messageid: <1582184372.18.0.968017148602.issue35943@roundup.psfhosted.org> |
2020-02-20 07:39:32 | gjb1002 | link | issue35943 messages |
2020-02-20 07:39:32 | gjb1002 | create | |
|