We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e90f1a commit 3fedbc4Copy full SHA for 3fedbc4
1 file changed
mypyc/build.py
@@ -467,7 +467,9 @@ def construct_groups(
467
for files, name in separate:
468
normalized_files = {os.path.normpath(f) for f in files}
469
group_sources = [
470
- src for src in sources if os.path.normpath(src.path) in normalized_files
+ src
471
+ for src in sources
472
+ if src.path is not None and os.path.normpath(src.path) in normalized_files
473
]
474
groups.append((group_sources, name))
475
used_sources.update(group_sources)
0 commit comments