A proposal was floated to call the __pycache__ directory .pyc or some other dot-file name. This would have the effect on *nix systems of hiding the directory. There are many reasons why this was rejected by the BDFL [20] including the fact that dot-files are only special on some platforms, and we actually do not want to hide these completely from users.
The PEP itself mentions this as a rejected proposal:
基本上,他们希望减少源代码目录中的混乱,但他们没有试图隐藏实现,只是将其划分得更好。你知道吗
相关问题 更多 >
编程相关推荐