Exporting data from shared libraries is problematic, and we should instead export functions that fetch the data.
This issue didn't make it to PEP 733 (aside from a passing reference to “non-function symbols”).
I don't recall the reason behind this, and I'd like to have it written down so we avoid cargo-culting. @zooba, could you fill it in here? (Or in the guidelines draft?)