Message77863
| Author |
ncoghlan |
| Recipients |
belopolsky, loewis, ncoghlan |
| Date |
2008年12月15日.12:09:34 |
| SpamBayes Score |
9.991979e-07 |
| Marked as misclassified |
No |
| Message-id |
<1229342976.23.0.572178178354.issue4197@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It turns out you were pretty close to pinpointing the problem in
doctest, but didn't quite manage to identify which step was going wrong.
The problem was actually that even after __file__ was being set
correctly, the call to linecache.getlines wasn't being given the
__loader__ access it needed in order to retrieve the source code from
inside the zipfile.
The __main__.c thing turned out just to be a red herring caused by the
choice of class name in the test code (I changed it to be __main__.Test
for the checked in unit test).
Checkin versions:
2.7 = r67790
2.6 = r67791
3.1 = r67792
3.0 = r67793 |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2008年12月15日 12:09:36 | ncoghlan | set | recipients:
+ ncoghlan, loewis, belopolsky |
| 2008年12月15日 12:09:36 | ncoghlan | set | messageid: <1229342976.23.0.572178178354.issue4197@psf.upfronthosting.co.za> |
| 2008年12月15日 12:09:35 | ncoghlan | link | issue4197 messages |
| 2008年12月15日 12:09:34 | ncoghlan | create |
|