Sridhar Ratnakumar <sridh...@activestate.com> added the comment: On 2010-05-24, at 2:44 PM, Martin v. Löwis wrote:
> You are mistaken. It doesn't include __path__ into repr, but __file__. It > prints "(built-in)" if the filename is not set for some reason. Ok. Why is __file__ not set for modules/packages installed to user site (~/.local/), but not stdlib? Is this a bug? Ah, I see that a "__init__.py" is missing in these packages. Strange; gotta see how that happened in first place .. (even stranger that I can actually import these directories...) ---------- status: pending -> open _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8812> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com