Fix dont-use python functions
Use unitptr_t for marshalling ExportSpec instances to python
GitLab update will be applied on June 28th, between 8am and 10:30am, EDT (UTC-04:00). This site may have intermittent delays during that time.
Use unitptr_t for marshalling ExportSpec instances to python