[issue31918] Don't let all python code modify modules

2017-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You haven't modified the os module. You have just binded a new value to the os variable. You can assign arbitrary values to your variables, this is a feature of Python. -- nosy: +serhiy.storchaka resolution: -> not a bug stage: -> resolved status:

[issue31918] Don't let all python code modify modules

2017-11-01 Thread Марат Нагаев
Change by Марат Нагаев : -- components: +Extension Modules ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue31918] Don't let all python code modify modules

2017-11-01 Thread Марат Нагаев
New submission from Марат Нагаев : import os os="os" #I think it's bad, os and other modules constants -- title: D -> Don't let all python code modify modules ___ Python tracker ___