|
|
|
|
|
by BurningFrog
690 days ago
|
|
The worst thing is that it can't handle circular imports, unlike every other language, AFAIK. I've been told it's because of some deep part of Python interpretation that just can't be changed. The mutable default argument madness is also caused by that. Anyone know more? |
|
Python does a lot when it evaluates an import statement. That is where a lot of the python magic happens. As soon as you try to limit the import statement somehow, a lot of python code needs to be re-written (and maybe doesn't work at all anymore). That's arguably a bad decision but it's one at the center of the language and it's unlikely to change.