[Python-Dev] is sys.modules not meant to be replaced?

Petri Lehtinen petri at digip.org
Sun Jul 24 19:51:37 CEST 2011


Eric Snow wrote:
> p.s. I tried opening a tracker ticket on this, but it wouldn't go
> through.  I'll try again later.

Adding the following line to /etc/hosts makes the bug tracker fast
when python.org is down:

127.0.0.1  python.org

This is because bugs.python.org works fine, but it links to CSS files
and images that are on python.org. Forcing DNS lookups for python.org
to return localhost makes the requests for these resources fail fast.

A more long-term solution would be to duplicate all the resources to
bugs.python.org...

Petri


More information about the Python-Dev mailing list