Message402734
> "static" anything in C is completely irrelevant to how symbols are looked up and resolved between modules
That is not true. On ELF/Mach-O the "static" storage-class specifier in C will prevent a symbol from being added to the dynamic symbol table, which will make it unavailable for use across modules.
> I wasn't aware the C standard covered dynamic symbol resolution?
Well the Python docs invoke the C standard to justify the behavior of DLL symbol resolution on Windows, using incorrect arguments about what the standard says: https://docs.python.org/3/c-api/typeobj.html#c.PyTypeObject.tp_base
Fixing those docs would be a good first step. |
|
Date |
User |
Action |
Args |
2021-09-27 17:39:46 | haberman2 | set | recipients:
+ haberman2, loewis, jcea, amaury.forgeotdarc, belopolsky, pitrou, Arfrever, petr.viktorin, lekma, Alexander.Belopolsky, mattip, Robin.Schreiber, steve.dower, seberg, Christian.Tismer, jhaberman |
2021-09-27 17:39:46 | haberman2 | set | messageid: <1632764386.72.0.393707687089.issue15870@roundup.psfhosted.org> |
2021-09-27 17:39:46 | haberman2 | link | issue15870 messages |
2021-09-27 17:39:46 | haberman2 | create | |
|