logoalt Hacker News

snovv_crashyesterday at 5:55 PM2 repliesview on HN

Can't you do some kind of static analysis instead?


Replies

Figsyesterday at 8:07 PM

Depends if your code has horrors like this lurking in it:

m = importlib.import_module(requests.get("http://localhost:8000/package_name").content.strip().decode("ASCII"))

show 2 replies
fithisuxyesterday at 6:01 PM

Yes. It is much more clear to be explicit though.

show 1 reply