ClemaX

joined 2 years ago
[–] ClemaX@lemm.ee 7 points 1 week ago

It is the stream itself that is buffered, so the terminal does not handle the contents until the stream is flushed.

[–] ClemaX@lemm.ee 5 points 1 week ago

Would you provide a free mail service?

[–] ClemaX@lemm.ee 5 points 2 weeks ago

Eval is bad for security boundaries and the string based approach is a pain to develop and maintain. An alternative that is equally bad for security but better for development would be dynamic imports using importlib.

If you want to support custom scripts while enforcing security boundaries, you could use an embeddable interpreter like lua, or create your own.

[–] ClemaX@lemm.ee 10 points 2 weeks ago