可观察的实现细节会变成兼容负担
Python的slots、类型与模块缓存被生态依赖,阻碍实现调整;Swiss Table演讲将同一现象明确表述为用户会依赖所有可观察行为,并用随机化抑制偶然迭代顺序成为契约。
沿同一来源继续阅读
对照原文
people actually depend in very bizarre ways on some of the internalsanything a user can observe about the implementation of your API不是所有内部行为都必须隐藏;Python演讲同时肯定栈状态暴露带来的调试收益。