diff options
| author | Stella Laurenzo <stellaraccident@gmail.com> | 2021-09-03 00:37:00 +0000 |
|---|---|---|
| committer | Stella Laurenzo <stellaraccident@gmail.com> | 2021-09-03 00:43:28 +0000 |
| commit | cb7b03819ae667a87e49fa2546498dcf6248d99c (patch) | |
| tree | 4b9caf1f7f92707c873579e439df1a0812502e4e /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h | |
| parent | 78fbd1aa3da4da318f6ee8d269f1f4002d19a7ff (diff) | |
[mlir][python] Simplify python extension loading.
* Now that packaging has stabilized, removes old mechanisms for loading extensions, preferring direct importing.
* Removes _cext_loader.py, _dlloader.py as unnecessary.
* Fixes the path where the CAPI dll is written on Windows. This enables that path of least resistance loading behavior to work with no further drama (see: https://bugs.python.org/issue36085).
* With this patch, `ninja check-mlir` on Windows with Python bindings works for me, modulo some failures that are actually due to a couple of pre-existing Windows bugs. I think this is the first time the Windows Python bindings have worked upstream.
* Downstream changes needed:
* If downstreams are using the now removed `load_extension`, `reexport_cext`, etc, then those should be replaced with normal import statements as done in this patch.
Reviewed By: jdd, aartbik
Differential Revision: https://reviews.llvm.org/D108489
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h')
0 files changed, 0 insertions, 0 deletions
