Re:“Python's batteries are leaking”
by lalaland1125 on Sunday May 19, 2019 @02:32AM
(#19951799)
+1 for this. Trying to ban programming languages that support network connections is both foolish and impossible. Any Turing complete language that allows any sort of OS interaction can be used to communicate over a network. Even if you have to manually do the syscalls yourself.
most companies i've worked for have special packages for perl/python/php/etc that compile the interpreter without support for system calls, for example.
That alone have probably paid of handsomely over the years considering all the XSS we patched, which could very well have been full network compromises.
...wouldn't the company policy involve removing the means of performing a network request from the computer, making the notional capabilities of the software irrelevant?
Python will let you drive network requests through the OS. It's just that you wouldn't normally want to.