← index #6800PR #4905
Off-topic · high · value 2.053
QUERY · ISSUE

Build process: mpy file in frozen dir produces spam

openby peterhinchopened 2021-01-26updated 2024-09-13
enhancementtools

I inadvertently included a .mpy file in a directory containing .py files for freezing. On building, so much output spewed that the Bash history buffer filled; I couldn't scroll back far enough to see where the error first occurred.

It would be good if the build process either stopped with a clear message or ignored files without .py extensions with a warning.

CANDIDATE · PULL REQUEST

port-javascript: handle FROZEN_MPY_DIR

closedby pmp-popened 2019-07-08updated 2019-07-09

tested on 1.9.3 with 2 .py in a folder called modules: one imp.py and an empty module
built with
emmake make FROZEN_MPY_DIR=modules

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied