4 ms·
> if you must have a system that parses XML but for company policy is not allowed to have even the means of performing a network request. With python you eithe
by thaumasiotes 8y ago
> if you must have a system that parses XML but for company policy is not allowed to have even the means of performing a network request. With python you either have both xml and an http library and whatever else included and you will either have to do a special package with a striped down python+xml only or get a corporate exception. While on other languages you can install only the xml parser component package and your code will run happily and be compliant with company policy.
...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.
- lalaland1125 8y ago+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.
- gcb0 8y agomost 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.