This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | AstraLuma |
|---|---|
| Recipients | AstraLuma |
| Date | 2008年01月03日.19:26:29 |
| SpamBayes Score | 0.00093129766 |
| Marked as misclassified | No |
| Message-id | <1199388390.0.0.11060735615.issue1728@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Something about distutils/cmd.py breaks inspect.findsource(). I am unsure if this is a bug with DistUtils or the inspect module. >>> import inspect, distutils.cmd >>> inspect.findsource(distutils.cmd.install_misc.get_outputs) Causes findsource() to receive an IndexError. From some hacking, I've found that the root cause appears to be that linecache.getlines() returns a number of lines that do not match the actual file. (In my case, getlines() returns 405 lines when distutils/cmd.py has 478 lines.) This bug causes pydoc to break when it is pointed at distutils.cmd. This is on Ubuntu Gutsy, Python 2.5.1 |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年01月03日 19:26:30 | AstraLuma | set | spambayes_score: 0.000931298 -> 0.00093129766 recipients: + AstraLuma |
| 2008年01月03日 19:26:30 | AstraLuma | set | spambayes_score: 0.000931298 -> 0.000931298 messageid: <1199388390.0.0.11060735615.issue1728@psf.upfronthosting.co.za> |
| 2008年01月03日 19:26:29 | AstraLuma | link | issue1728 messages |
| 2008年01月03日 19:26:29 | AstraLuma | create | |