News for hackers. Stuff that matters.
Re:A bite of Python by riskable on Thursday September 08, 2016 @08:15AM (#12452244)
Yes it does... One of the examples is monkey patching using bytecode. How are you going to do that without write access to the filesystem running your code?

The same is true for module imports... If you have write access to the same directory as the code itself there's all sorts of havoc one can cause beyond merely substituting your own os.py.

Re:A bite of Python by warkdarrior on Thursday September 08, 2016 @12:26PM (#12454475)
You do not need access to the same directory as the code itself. Think of a Python program that can use plugins written by users. For example Django.