By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,822 Members | 1,054 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,822 IT Pros & Developers. It's quick & easy.

Re: why can i still able to reproduce the SimpleHTTPServer bugwhichis said fixed 3 years ago?

P: n/a

"Gabriel Genellina" <ga*******@yahoo.com.arwrote in message
news:op***************@gabriel2.softlabbsas.com.ar ...
En Fri, 13 Jun 2008 04:02:48 -0300, Leo Jay <py***********@gmail.com>
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.

Jun 27 '08 #1
Share this Question
Share on Google+
1 Reply

P: n/a

Terry Reedy wrote:
"Gabriel Genellina" <ga*******@yahoo.com.arwrote in message
news:op***************@gabriel2.softlabbsas.com.ar ...
En Fri, 13 Jun 2008 04:02:48 -0300, Leo Jay <py***********@gmail.com>
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
Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.