A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-February/033702.html below:

[Python-Dev] Re: module extension search order

[Python-Dev] Re: module extension search order - can it be changed? [Python-Dev] Re: module extension search order - can it be changed?Chermside, Michael mchermside@ingdirect.com
Wed, 26 Feb 2003 08:04:25 -0500
> > > Speaking entirely from a point of ignorance, why are the source =
line #s=20
> > > not shown for frames that are implemented in modules loaded from=20
> > > zipimport?
> >=20
> > Because the code printing the tracebacks doesn't know how to look
> > inside a zip file.
>=20
> Maybe, if the source file can't be found, it could
> decompile the bytecode?

Too clever by far. The peculiar way in which the comments disappear,
the fact that the code is wrong when I used a (so-far-non-existent)
peephole optimizer to optimize my .pyc files... I'd rather show NO
line (so long as we still give file and line number) than try to
guess in an overly clever manner.

-- Michael Chermside



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