Luminescence
release 0.2
http://code.google.com/p/luminescence/
Luminescence is an application for generating HTML presentations from
Markdown sources. It allows one to create simple presentations quickly.
An small example
Hi all,
I'm glad to inform you about new quarterly OpenOpt/FuncDesigner
release (0.32):
OpenOpt:
* New class: LCP (and related solver)
* New QP solver: qlcp
* New NLP solver: sqlcp
* New large-scale NSP (nonsmooth) solver gsubg. Currently it still
requires lots of improvements (especially for
Hi all,
I am pleased to announce that `guiqwt` v2.0.8 has been released.
Note that the project has recently been moved to GoogleCode:
http://guiqwt.googlecode.com
This version of `guiqwt` includes a brand new documentation with examples, API
reference, etc.:
http://packages.python.org/guiqwt/
Hi all,
I am pleased to announce that `guidata` v1.2.5 has been released.
Note that the project has recently been moved to GoogleCode:
http://guidata.googlecode.com
This version of `guidata` includes a brand new documentation with examples, API
reference, etc.:
On Dec 15, 3:51 am, samwyse samw...@gmail.com wrote:
I'm in favor of this change. I've long wished that I could just add
lots of warning/error/infologgingto a script and have it just work
without having to spend time configuring theloggingsystem.
Note that INFO logging will still not be sent
On 12/9/2010 4:12 PM, Vinay Sajip wrote:
Some changes are being proposed to how logging works in default
configurations.
Briefly - when a logging event occurs which needs to be output to some
log, the behaviour of the logging package when no explicit logging
configuration is provided will
Mark Wooding, 14.12.2010 21:42:
I could have used PySequence_* functions to read the size and items, but
that makes error handling more complicated. One could also borrow the
references from the underlying list, which would leave the underlying
storage for the vector as the only thing to free.
On 14 déc, 21:38, Arnaud Delobelle arno...@gmail.com wrote:
I almost used:
True = to be or not to be # that is the question
KEYBOARD !-)
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 15, 8:46 am, John Nagle na...@animats.com wrote:
You're assuming that theloggingpackage has the right to blither
on the default sys.stderr. There are many cases in which it
should not. The program could be running in a web server, and
output would end up in the output HTML. The
On Tue, 14 Dec 2010 21:14:35 +, kj wrote:
Consider this code:
def spam(*args, **kwargs):
args, kwargs = __pre_spam(*args, **kwargs)
# args kwargs are OK: proceed
# ...
def __pre_spam(*args, **kwargs):
# validate args kwargs;
# return canonicalized
Hi all,
Since yesterday I'm working on an encoding problem, I become crazy now :)
Could you please help me ?
Here's the description of the problem :
I've got two table in a MysqlDB :
history_website and website
The important column in them are :
history_website.message (varchar(255), encoding
On 12/14/2010 11:52 PM, JohnWShipman wrote:
you
know how us ancient Unix weenies are.
Indeed we do ... ;-)
regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
PyCon 2011 Atlanta March 9-17 http://us.pycon.org/
See Python Video!
Hi,
I'm moving my development environment (python, Django, virtualenv) from Windows
to Linux (Debian more specific). However, on one app (uses Django), i have a
log on
module that uses AD to authenticate users.
It's based on the active_directory wrapper of Tim Golden.
That needs the win32
Hi All,
I am very new to the soap and its python client suds.Can anyone tell me how
the actual will happens i nthe webservices including suds and soap API.
Thanks in advance
CHEERS
CNA
9986229891
--
http://mail.python.org/mailman/listinfo/python-list
On 12/15/2010 5:03 AM, Vinay Sajip wrote:
On Dec 15, 8:46 am, John Nagle na...@animats.com wrote:
You're assuming that theloggingpackage has the right to blither
on the default sys.stderr. There are many cases in which it
should not. The program could be running in a web server, and
On Tuesday 14 December 2010, 21:38:47 Arnaud Delobelle wrote:
Christian Heimes li...@cheimes.de writes:
[...]
Tres Seavers once told me a joke like this:
True = not not Who's at the door? # say it out loud!
This was back in the old days of Zope 2.5 and Python 2.1, which
didn't
On 12/15/2010 7:38 AM, srinivas hn wrote:
Hi All,
I am very new to the soap and its python client suds.Can anyone tell me
how the actual will happens i nthe webservices including suds and soap API.
That's a bit like saying I need to go around the corner. Would you mind
teaching me to
On 15/12/2010 12:34, Romaric DEFAUX wrote:
snip
To create these query, I do this :
query = UPDATE website SET client_name='%s' WHERE ip='%s' %
(self.client_name, self.ip)
then self.cursor.execute(query)
Unicode can be tricky.
Don't you have to encode the string again?
I tested this in the
On 15/12/2010 12:58, Benedict Verheyen wrote:
I'm moving my development environment (python, Django, virtualenv) from Windows
to Linux (Debian more specific). However, on one app (uses Django), i have a
log on
module that uses AD to authenticate users.
It's based on the active_directory wrapper
Le 15/12/2010 14:16, Benedict Verheyen a écrit :
On 15/12/2010 12:34, Romaric DEFAUX wrote:
snip
To create these query, I do this :
query = UPDATE website SET client_name='%s' WHERE ip='%s' %
(self.client_name, self.ip)
then self.cursor.execute(query)
Unicode can be tricky.
Don't you have
On 15/12/2010 14:37, Tim Golden wrote:
Well I'm not sure how far something like WINE would take you,
but I suggest that trying to develop Windows-specific code in
a Linux Dev environment is creating a rod for your own back.
For the specific case you mention, you should be able to switch,
On 12/15/2010 8:51 AM, Benedict Verheyen wrote:
On 15/12/2010 14:37, Tim Golden wrote:
Well I'm not sure how far something like WINE would take you,
but I suggest that trying to develop Windows-specific code in
a Linux Dev environment is creating a rod for your own back.
For the specific
On 12/15/2010 8:10 AM, Hans-Peter Jansen wrote:
On Tuesday 14 December 2010, 21:38:47 Arnaud Delobelle wrote:
Christian Heimes li...@cheimes.de writes:
[...]
Tres Seavers once told me a joke like this:
True = not not Who's at the door? # say it out loud!
This was back in the old days
On 15/12/2010 15:17, Steve Holden wrote:
snip
Hi,
thanks for your answer.
For the moment, i only need to connect to AD to authenticate.
But you raise a good point that if I need more functionality, I will
encounter problems.
Benedict:
Have you considered running a virtual Windows
On 12/15/2010 3:46 AM, John Nagle wrote:
You're assuming that the logging package has the right to blither
on the default sys.stderr.
The Python stdlib *already* assumes that it can write to stderr. Using
logging instead will make it easier for app writers to do something else.
--
Terry
Hi all,
I'm glad to inform you about new quarterly OpenOpt/FuncDesigner
release (0.32):
OpenOpt:
* New class: LCP (and related solver)
* New QP solver: qlcp
* New NLP solver: sqlcp
* New large-scale NSP (nonsmooth) solver gsubg. Currently it still
requires lots of improvements (especially for
Am 15.12.2010 13:58, schrieb Benedict Verheyen:
Hi,
I'm moving my development environment (python, Django, virtualenv) from Windows
to Linux (Debian more specific). However, on one app (uses Django), i have a
log on
module that uses AD to authenticate users.
It's based on the active_directory
So I just got an e-mail from O'Reilly and their School of Technology
about a Python Certification course... anybody have any experience with
this?
It also says Steve Holden is involved -- is this True? (Steve?)
~Ethan~
PS
Can you tell I've been programming? ;)
--
On 12/15/2010 12:54 PM, Ethan Furman wrote:
So I just got an e-mail from O'Reilly and their School of Technology
about a Python Certification course... anybody have any experience with
this?
It also says Steve Holden is involved -- is this True? (Steve?)
Well, it's not not not False. You
On Dec 14, 1:51 pm, Emile van Sebille em...@fenx.com wrote:
On 12/14/2010 10:27 AM Akand Islam said...
On Dec 13, 4:33 pm, Rhodri Jamesrho...@wildebst.demon.co.uk
wrote:
On Fri, 10 Dec 2010 17:11:55 -, Akand Islamsohel...@gmail.com wrote:
In my system (Ubuntu 10.04) there are
On Monday 13 December 2010, 18:14:27 Godson Gera wrote:
On Sun, Dec 12, 2010 at 5:05 PM, ernest nfdi...@gmail.com wrote:
Hi,
I'd like to have a reference to an instance attribute as
default argument in a method. It doesn't work because
self is not defined at the time the method
On 12/15/2010 11:54 AM, Ethan Furman wrote:
So I just got an e-mail from O'Reilly and their School of Technology
about a Python Certification course... anybody have any experience with
this?
It also says Steve Holden is involved -- is this True?
you should just test for the truthiness
On 12/15/2010 3:40 PM, Tim Chase wrote:
On a more serious note, it would be interesting to know if it's possible
to test out of the certification for those of us that have been using
Python for a long time.
That's an interesting idea - let a bunch of experienced Python users
tell me what a
Am 15.12.2010 22:11, schrieb Steve Holden:
On 12/15/2010 3:40 PM, Tim Chase wrote:
On a more serious note, it would be interesting to know if it's possible
to test out of the certification for those of us that have been using
Python for a long time.
That's an interesting idea - let a bunch of
Hi People,
I need some ideas on how to find pattern in random data series like stock
chart.
What I want is to be able to find Head Shoulder pattern in chart.
Thanx
Anil
--
http://mail.python.org/mailman/listinfo/python-list
PyCon is made up of a number of different parts, each with its own
goals. For the talks presented during the conference portion of PyCon,
we go for both breadth and quality. There are enough different sessions
and different tracks that each person can customize their PyCon
experience according
Terry Reedy wrote:
On 12/15/2010 3:46 AM, John Nagle wrote:
You're assuming that the logging package has the right to blither
on the default sys.stderr.
The Python stdlib *already* assumes that it can write to stderr.
Also ISTM that any program relying on nothing it calls ever
writing to
On 12/15/2010 03:11 PM, Steve Holden wrote:
On 12/15/2010 3:40 PM, Tim Chase wrote:
On a more serious note, it would be interesting to know if it's possible
to test out of the certification for those of us that have been using
Python for a long time.
That's an interesting idea - let a bunch
On 14/12/2010 00:58, Gerry Reno wrote:
What I really don't like right off is that Pyramid is contorting the MVC
model
That specific pattern, I'm afraid, is a little antiquated nowadays,
particularly when it comes to web apps...
The VIEW is the bits that stream out of the webserver back to
On 12/15/2010 05:03 PM, Chris Withers wrote:
On 14/12/2010 00:58, Gerry Reno wrote:
What I really don't like right off is that Pyramid is contorting the MVC
model
That specific pattern, I'm afraid, is a little antiquated nowadays,
particularly when it comes to web apps...
The VIEW is the
On Wed, 15 Dec 2010 21:10:05 +0100, Hans-Peter Jansen wrote:
Since this is a major pitfall, it might be worth mentioning, that
mutable default arguments are generally a bad idea, as the default
arguments are evaluated just once, hence e.g. using an empty list might
contain the items, that
On Mon, Dec 13, 2010 at 5:58 PM, Gerry Reno gr...@verizon.net wrote:
The VIEW is the bits that stream out of the webserver back to the users
browser. The CONTROLLER is the code that gathers all the pieces from
the model and constructs the python code that is then fed to the engine
that then
Hi.
The query code is as follows:
--
import Tkinter
import tkMessageBox
class App:
def __init__(self, master):
master.protocol(WM_DELETE_WINDOW,quit)
def quit():
if tkMessageBox.askyesno('','Exit'):
master.quit()
On Thursday 16 December 2010, 00:56:31 Steven D'Aprano wrote:
On Wed, 15 Dec 2010 21:10:05 +0100, Hans-Peter Jansen wrote:
Since this is a major pitfall, it might be worth mentioning, that
mutable default arguments are generally a bad idea, as the default
arguments are evaluated just once,
On Wed, Dec 15, 2010 at 9:21 PM, jupiter anil.jupit...@gmail.com wrote:
Hi People,
I need some ideas on how to find pattern in random data series like stock
chart.
What I want is to be able to find Head Shoulder pattern in chart.
Have a look at the references in:
On Wed, Dec 15, 2010 at 6:22 PM, Katie T ka...@coderstack.co.uk wrote:
On Wed, Dec 15, 2010 at 9:21 PM, jupiter anil.jupit...@gmail.com wrote:
Hi People,
I need some ideas on how to find pattern in random data series like stock
chart.
What I want is to be able to find Head Shoulder
On 12/15/2010 07:36 PM, Ian Kelly wrote:
On Mon, Dec 13, 2010 at 5:58 PM, Gerry Reno gr...@verizon.net wrote:
The VIEW is the bits that stream out of the webserver back to the users
browser. The CONTROLLER is the code that gathers all the pieces from
the model and constructs the python
On Thu, Dec 16, 2010 at 2:34 AM, Chris Rebert c...@rebertia.com wrote:
On Wed, Dec 15, 2010 at 6:22 PM, Katie T ka...@coderstack.co.uk wrote:
On Wed, Dec 15, 2010 at 9:21 PM, jupiter anil.jupit...@gmail.com wrote:
Hi People,
I need some ideas on how to find pattern in random data series like
On Dec 15, 6:46 pm, craf p...@vtr.net wrote:
Hi.
The query code is as follows:
--
import Tkinter
import tkMessageBox
class App:
def __init__(self, master):
master.protocol(WM_DELETE_WINDOW,quit)
def quit():
if
Ethan Furman et...@stoneleaf.us wrote in message
news:mailman.4.1292379995.6505.python-l...@python.org...
kj wrote:
The one thing I don't like about this strategy is that the tracebacks
of exceptions raised during the execution of __pre_spam include one
unwanted stack level (namely, the one
On 12/15/2010 4:21 PM, Stefan Sonnenberg-Carstens wrote:
Am 15.12.2010 22:11, schrieb Steve Holden:
On 12/15/2010 3:40 PM, Tim Chase wrote:
On a more serious note, it would be interesting to know if it's possible
to test out of the certification for those of us that have been using
Python for
On 12/15/2010 5:14 AM, Steve Holden wrote:
On 12/15/2010 7:38 AM, srinivas hn wrote:
Hi All,
I am very new to the soap and its python client suds. Can anyone tell me
how the actual will happens i nthe webservices including suds and soap API.
That's a bit like saying I need to go around the
Changes by Finkregh finkr...@mafia-server.net:
--
nosy: +Finkregh
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1633941
___
___
Python-bugs-list
Zsolt Cserna zsolt.cse...@morganstanley.com added the comment:
Could you please add this change to test_urllib2.py as well?
It has the following line:
localaddr = socket.gethostbyname(socket.gethostname())
But urllib2.py has the change related to this bug.
That makes test_urllib2
Michael Buckley newslett...@codefisher.org added the comment:
You might want to check out what Django does, as they have the working well.
http://docs.djangoproject.com/en/dev/
--
nosy: +codefisher
___
Python tracker rep...@bugs.python.org
Ross Lagerwall rosslagerw...@gmail.com added the comment:
Attached is a unit test which tests the issue.
Unfortunately, since it uses the resource module to limit memory to a workable
size, it will only work on Unix.
The given patch appears to fix the issue well.
I think this should be taken
Ross Lagerwall rosslagerw...@gmail.com added the comment:
A py3k patch against revision 87228.
--
Added file: http://bugs.python.org/file20049/i6791_py3k.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6791
Yevgeniy shchemele...@gmail.com added the comment:
Have you confirmed that the same server is listening on port 993 as is
listening on port 143?
I found that is mistake in courier-imap(-ssl) configuration.
I have some troubles with it configuring(may by incorrect certificates).
When i make
Steve Moran s...@uw.edu added the comment:
(Forehead slap.)
On Tue, 14 Dec 2010, Matthew Barnett wrote:
Matthew Barnett pyt...@mrabarnett.plus.com added the comment:
The regex module is intended to replace the re module, so its default
behaviour is the same: in Python 2, regexes default
Senthil Kumaran orsent...@gmail.com added the comment:
Zsolt,
The change in the urllib2 was at a place where tuple of all local ips
were required.
In test_urllib2, which testcase failed?
Also, can you make this change and see if this helps in your case.
- localaddr =
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1975
___
___
Python-bugs-list
Florian Berger fber...@florian-berger.de added the comment:
I can confirm that this issue persists in Python 3.1.2 on win32. The patch by
cgohlke from 2010-10-22 fixes the problem here as well.
--
nosy: +fberger
versions: +Python 3.1
___
Python
Zsolt Cserna zsolt.cse...@morganstanley.com added the comment:
The test which failed was HandlerTests.test_file, and I'm using python 2.7.1.
socket.gethostbyname('localhost') returns 127.0.0.1 which is ok, but in the
unittest it's already tested (line 671).
The problem is that my /etc/hosts
Senthil Kumaran orsent...@gmail.com added the comment:
+localaddr = socket.gethostbyname_ex(socket.gethostname())[2][0]
May not be a generic solution, because in another system the other ip
could be first in the list. Because the failure was in the test_file,
which was basically
R. David Murray rdmur...@bitdance.com added the comment:
help no longer segfaults, but the find_module call still does; updating title.
The patch does cure the segfault, but as Stefan says it isn't the best fix
since having 'file' in the error message instead of the real file name isn't
very
Zsolt Cserna zsolt.cse...@morganstanley.com added the comment:
The order of the IP addresses doesn't matter as urllib2 is flexible enough to
handle all local IP addresses as local (that was the original bug - it handled
only one IP returned by gethostbyname which returned a random IP if there
Charles Duffy char...@dyfis.net added the comment:
Only the Comment field of a cookie is required by RFC2965 to support Unicode --
and several major browsers either mangle or discard cookies containing even
high-ASCII values.
Consequently, while some kind of unicode support is appropriate to
Antoine Pitrou pit...@free.fr added the comment:
First, I don't think the resource module needs to be used here. Second, I don't
see why getcode() would return 200. If no valid response was received then some
kind of error should certainly be raised, shouldn't it?
--
nosy: +pitrou
Antoine Pitrou pit...@free.fr added the comment:
Committed in r87261.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10706
New submission from Antoine Pitrou pit...@free.fr:
Title says it all.
--
assignee: brett.cannon
components: Documentation
messages: 124023
nosy: brett.cannon, pitrou
priority: normal
severity: normal
status: open
title: Misc/porting should be folded in to the development FAQ
versions:
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +sable
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10656
___
___
Python-bugs-list mailing
New submission from Antoine Pitrou pit...@free.fr:
Sébastien, would you like to provide an updated version of that file? The
current contents look hopelessly outdated.
--
assignee: d...@python
components: Documentation
messages: 124024
nosy: d...@python, pitrou, sable
priority: normal
New submission from Antoine Pitrou pit...@free.fr:
I guess it was created for ease of hosting CGI scripts written in Python, but
is it still useful (or even functional) nowadays? Last updated goes back to
1998.
--
components: Demos and Tools
messages: 124025
nosy: brett.cannon,
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Fixed if( spacing and applied in r87265.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10667
R. David Murray rdmur...@bitdance.com added the comment:
I started out writing that there must be better stuff available now for doing
this, but a search on 'setuid wrapper' on google reveals mostly people asking
about or talking about rolling their own special purpose scripts.
That said,
Andreas Stührk andy-pyt...@hammerhartes.de added the comment:
Yes, it is (at the latest since msg124018).
--
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10509
Antoine Pitrou pit...@free.fr added the comment:
By the way, looking at the code, readline() without any parameter is used all
over http.client, so fixing only this one use case doesn't really make sense.
--
stage: unit test needed - needs patch
___
Ross Lagerwall rosslagerw...@gmail.com added the comment:
That's true. Near the bottom of the code, it says:
# The status-line parsing code calls readline(), which normally
# get the HTTP status line. For a 0.9 response, however, this is
# actually the first line of the body!
Limiting the
Antoine Pitrou pit...@free.fr added the comment:
That's true. Near the bottom of the code, it says:
# The status-line parsing code calls readline(), which normally
# get the HTTP status line. For a 0.9 response, however, this is
# actually the first line of the body!
Limiting the
New submission from Antoine Pitrou pit...@free.fr:
Both http.client and http.server claim to support HTTP 0.9. The HTTP 1.0 RFC
was filed in 1996, and 1.1 is most commonly used nowadays. We should probably
rip off 0.9 support.
--
components: Library (Lib)
messages: 124032
nosy:
Changes by Antoine Pitrou pit...@free.fr:
--
title: Rip off HTTP 0.9 support - Rip out HTTP 0.9 support
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10711
___
Ron Adam ron_a...@users.sourceforge.net added the comment:
Pydoc skips the badsysntax_pep3120 file for now. When this gets fixed that
workaround should be removed. The work around is commented and refers to this
issue #.
--
___
Python tracker
Changes by Andreas Stührk andy-pyt...@hammerhartes.de:
--
nosy: +Trundle
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9319
___
___
Antoine Pitrou pit...@free.fr added the comment:
Here is a patch.
--
keywords: +patch
stage: needs patch - patch review
Added file: http://bugs.python.org/file20052/removehttp09.patch
___
Python tracker rep...@bugs.python.org
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +exarkun
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10711
___
___
Python-bugs-list mailing
Changes by Antoine Pitrou pit...@free.fr:
Removed file: http://bugs.python.org/file20052/removehttp09.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10711
___
Changes by Antoine Pitrou pit...@free.fr:
Added file: http://bugs.python.org/file20053/removehttp09.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10711
___
Changes by Bobby Impollonia bob...@gmail.com:
--
nosy: +bobbyi
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue874900
___
___
Python-bugs-list
Changes by Bobby Impollonia bob...@gmail.com:
--
nosy: +bobbyi
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6721
___
___
Python-bugs-list mailing
New submission from Daniel Stutzbach stutzb...@google.com:
Attached is a patch to add documentation for Py_ReprEnter and Py_ReprLeave.
Assigning to d...@python for review.
--
assignee: stutzbach - d...@python
keywords: +needs review, patch
nosy: +d...@python
stage: needs patch - patch
Eli Bendersky eli...@gmail.com added the comment:
Attaching a fix for Doc/distutils/apiref.rst and Lib/distutils/archive_util.py
in Python 3.2
If it's OK I will backport to other versions as well.
--
keywords: +patch
Added file: http://bugs.python.org/file20055/issue10693.py32.1.patch
Eli Bendersky eli...@gmail.com added the comment:
Updated patch with versionadded tag for the new methods
--
Added file: http://bugs.python.org/file20056/issue10516.5.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10516
Eli Bendersky eli...@gmail.com added the comment:
Guys, this issue is pending for a long time. Anything else needed before a
commit is done?
--
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9264
Changes by Eli Bendersky eli...@gmail.com:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9264
___
___
Python-bugs-list
Daniel Stutzbach stutzb...@google.com added the comment:
Would it be worth keeping (but modifying) test_http_0_9 to verify that the
server complains in the expected way?
--
nosy: +stutzbach
___
Python tracker rep...@bugs.python.org
Gregory P. Smith g...@krypto.org added the comment:
Ripping HTTP 0.9 support _out_ flys directly in the face of be lenient in
what you accept and strict in what you produce.
I do not mind removing support from http.server. But http.client needs to be
able to communicate with any random
Daniel Stutzbach stutzb...@google.com added the comment:
At minimum, I think we should apply this part of Antoine's patch:
-# Most web servers default to HTTP 0.9, i.e. don't send a status line.
-default_request_version = HTTP/0.9
+default_request_version = HTTP/1.0
--
Antoine Pitrou pit...@free.fr added the comment:
But http.client needs to be able to communicate with any random server
created since the dawn of time.
Well, that sounds a bit unreasonable...
Often on 8 bit microcontrollers that haven't been updated since 1994.
Anyone with such needs
Antoine Pitrou pit...@free.fr added the comment:
Would it be worth keeping (but modifying) test_http_0_9 to verify that
the server complains in the expected way?
Actually, I don't think the server will complain, since the request is legit.
It will send back a full response with status line
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10711
___
___
1 - 100 of 165 matches
Mail list logo