OK, it's down to this: >>> f = open('../lib/test/regrtest.py', 'rU') >>> len(f.readlines()) 232 >>> g = open('../lib/test/regrtest.py') >>> len(g.readlines()) 715 >>> IOW, opening in U mode screws up on Windows when universal newlines is enabled. This screws test_inspect.py for reasons so complicated I won't even try to trace the trail here; the bottom line is that lincache.py's updatecache() uses U mode near the end: fp = open(fullname, 'rU') lines = fp.readlines() fp.close() For whatever reason, this only delivers the first 232 lines of regrtest.py. I doubt it's a coincidence this is darned near exactly the first 8192 bytes of the file.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4