New submission from Eric Naeseth:

The www.python.org website was just redesigned, and apparently is running on 
some new infrastructure which always responds to `GET /` requests with a body 
using `Content-Encoding: gzip`.

Python's test suite includes some tests which fetch http://www.python.org/, and 
some of the tests in `test.test_urllibnet.urlretrieveNetworkTests` are now 
failing, because they expect the server to return un-gzip'd UTF-8 text. :(

The full test output (from Python 3.3.4) is attached.

----------
components: Tests
files: python-3.3.4-urllibnet-failure.txt
messages: 211679
nosy: ericnaeseth
priority: normal
severity: normal
status: open
title: test_urllibnet.urlretrieveNetworkTests fails due to new python.org 
website
type: compile error
versions: Python 3.3
Added file: http://bugs.python.org/file34150/python-3.3.4-urllibnet-failure.txt

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20695>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to