[issue3583] test_urllibnet.test_bad_address() fails when using OpenDNS

Brett Cannon report at bugs.python.org
Mon Aug 18 19:19:18 CEST 2008


Brett Cannon <brett at python.org> added the comment:

On Mon, Aug 18, 2008 at 3:52 AM, Antoine Pitrou <report at bugs.python.org> wrote:
>
> Antoine Pitrou <pitrou at free.fr> added the comment:
>
> Are many people using OpenDNS? Is there a way to detect that OpenDNS is
> being used and trigger a separate path in the test?
> I say that because returning a 404 when the domain lookup has failed is
> wrong. Perhaps the test should check for a 404 and still raise an
> exception, but with an appropriate message indicating that it may be due
> to a "featureful" DNS service.
>

That's also a possibility.

Out of curiosity, what HTTP response should be received?

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3583>
_______________________________________


More information about the Python-bugs-list mailing list