Guido van Rossum <guido@python.org> writes: >> Speaking entirely from a point of ignorance, why are the source line #s >> not shown for frames that are implemented in modules loaded from >> zipimport? > > Because the code printing the tracebacks doesn't know how to look > inside a zip file. It Would Be Nice (tm) if the code that printed tracebacks could be made cleverer in some fashion. For instance, in a pyrepl session I have the source in the session's history and it would surely be nice if I could display it in tracebacks. Of course, I have no idea how to go about implementing this :-) Cheers, M. -- I never realized it before, but having looked that over I'm certain I'd rather have my eyes burned out by zombies with flaming dung sticks than work on a conscientious Unicode regex engine. -- Tim Peters, 3 Dec 1998
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