mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Implement tree-shaking for Python sources
This commit is contained in:
parent
81287b7ec0
commit
44c87b83ff
110 changed files with 899 additions and 1922 deletions
3
third_party/python/Python/import.c
vendored
3
third_party/python/Python/import.c
vendored
|
@ -32,9 +32,12 @@
|
|||
#include "third_party/python/Include/tupleobject.h"
|
||||
#include "third_party/python/Include/warnings.h"
|
||||
#include "third_party/python/Include/weakrefobject.h"
|
||||
#include "third_party/python/Include/yoink.h"
|
||||
#include "third_party/python/Python/importdl.h"
|
||||
/* clang-format off */
|
||||
|
||||
PYTHON_PROVIDE("_imp");
|
||||
|
||||
#define CACHEDIR "__pycache__"
|
||||
|
||||
/* See _PyImport_FixupExtensionObject() below */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue