Issue31918
Created on 2017-11-01 09:55 by nagayev, last changed 2022-04-11 14:58 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg305362 - (view) | Author: Марат Нагаев (nagayev) * | Date: 2017-11-01 09:58 | |
import os os="os" #I think it's bad, os and other modules constants |
|||
| msg305363 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * ![]() |
Date: 2017-11-01 10:03 | |
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. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:53 | admin | set | github: 76099 |
| 2017-11-01 10:03:10 | serhiy.storchaka | set | status: open -> closed nosy:
+ serhiy.storchaka resolution: not a bug |
| 2017-11-01 10:01:00 | nagayev | set | components: + Extension Modules |
| 2017-11-01 09:58:59 | nagayev | set | messages:
+ msg305362 title: D -> Don't let all python code modify modules |
| 2017-11-01 09:55:52 | nagayev | create | |
