【发布时间】:2011-01-18 21:31:03
【问题描述】:
当我easy_install一些python模块时,警告如:
<some module>: module references __file__
<some module>: module references __path__
<some module>: module MAY be using inspect.trace
<some module>: module MAY be using inspect.getsourcefile
有时会发出。
这些消息来自哪里(什么包/源文件)?为什么引用 __file__ 或 __path__ 被认为是一件坏事?
【问题讨论】:
标签: python warnings easy-install