Terry Reedy wrote:
"Gabriel Genellina" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
En Fri, 13 Jun 2008 04:02:48 -0300, Leo Jay <[EMAIL PROTECTED]>
escribió:
http://bugs.python.org/issue1097597
in my python 2.5.2, i still find these code in SimpleHTTPServer.py,
is that deliberate?
According to http://bugs.python.org/issue839496 it should have been
corrected, but apparently the patch was only applied to the 2.4
maintenance branch, not to the trunk. Both 2.5 and 2.6 have the same
problem. 3.0 doesn't have this problem but probably it was fixed
independently.
===========================
I reopened this so it will appear on the weekly bug report, in case the
original committer does not see it.
Is jlgijsbers still around? :)
Seeing that Python 2.6 is now in beta phase, I'd love to see this 3 year old bug fixed
before 2.6 is released. The fix is extremely simple: just always open the file in
binary mode (i.e. remove the test for the file type).
--irmen
--
http://mail.python.org/mailman/listinfo/python-list