[issue8812] Show package path in repr string for packages installed to user site

2010-05-24 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue8812] Show package path in repr string for packages installed to user site

2010-05-24 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: On 2010-05-24, at 3:46 PM, Martin v. Löwis wrote: > Can you please provide a reproducible bug report? I have no idea what "paste" > is or how it got into your .local folder. Please structure the bug report as > follows: > > 1. this is what you did > 2. t

[issue8812] Show package path in repr string for packages installed to user site

2010-05-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: Can you please provide a reproducible bug report? I have no idea what "paste" is or how it got into your .local folder. Please structure the bug report as follows: 1. this is what you did 2. this is what happened 3. this is what you expected to happen instea

[issue8812] Show package path in repr string for packages installed to user site

2010-05-24 Thread Sridhar Ratnakumar
Sridhar Ratnakumar 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 u

[issue8812] Show package path in repr string for packages installed to user site

2010-05-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: 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. -- nosy: +loewis resolution: -> invalid status: open -> pending ___ Python

[issue8812] Show package path in repr string for packages installed to user site

2010-05-24 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : I see this in Python 2.7. No idea if this is a regression, mere future request, but doesn't it make sense to print the value `__path__` in the repr string? >>> import paste >>> paste >>> paste.__path__ ['/home/sridharr/.local/lib/python2.7/site-packages