Skip to content

Commit 0bbed9d

Browse files
authored
[mypyc] Extract more things from mypyc.genops (python#8412)
I extracted various things that did things not directly related to the main business of genops.
1 parent a8f06c8 commit 0bbed9d

File tree

5 files changed

+537
-503
lines changed

5 files changed

+537
-503
lines changed

mypyc/emitmodule.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
from mypy.util import hash_digest
2121

2222
from mypyc import genops
23+
from mypyc.genopsprepare import load_type_map
2324
from mypyc.common import (
2425
PREFIX, TOP_LEVEL_NAME, INT_PREFIX, MODULE_PREFIX, shared_lib_name,
2526
)
@@ -370,7 +371,7 @@ def load_scc_from_cache(
370371
)['ir'] for k in scc
371372
}
372373
modules = deserialize_modules(cache_data, ctx)
373-
genops.load_type_map(mapper, scc, ctx)
374+
load_type_map(mapper, scc, ctx)
374375
return modules
375376

376377

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy