Luminescence v. 0.2 released

2010-12-15 Thread Pedro Matiello
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

New OpenOpt/FuncDesigner release 0.32

2010-12-15 Thread dmitrey
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

[ANN] guiqwt v2.0.8

2010-12-15 Thread Pierre.RAYBAUT
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/

[ANN] guidata v1.2.5

2010-12-15 Thread Pierre.RAYBAUT
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.:

Re: Proposed changes to logging defaults

2010-12-15 Thread Vinay Sajip
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

Re: Proposed changes to logging defaults

2010-12-15 Thread John Nagle
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

Re: PyArg_ParseTuple question

2010-12-15 Thread Stefan Behnel
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.

Re: while True or while 1

2010-12-15 Thread bruno.desthuilli...@gmail.com
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

Re: Proposed changes to logging defaults

2010-12-15 Thread Vinay Sajip
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

Re: How to pop the interpreter's stack?

2010-12-15 Thread Steven D'Aprano
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

Encoding trouble

2010-12-15 Thread Romaric DEFAUX
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

Re: Tkinter polling example: file copy with progress bar

2010-12-15 Thread Steve Holden
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!

Dealing with pywin32 on Linux

2010-12-15 Thread 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 wrapper of Tim Golden. That needs the win32

Links and pointers to basics of soap and suds

2010-12-15 Thread srinivas hn
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

Re: Proposed changes to logging defaults

2010-12-15 Thread Steve Holden
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

Re: while True or while 1

2010-12-15 Thread Hans-Peter Jansen
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

Re: Links and pointers to basics of soap and suds

2010-12-15 Thread Steve Holden
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

Re: Encoding trouble

2010-12-15 Thread Benedict Verheyen
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

Re: Dealing with pywin32 on Linux

2010-12-15 Thread Tim Golden
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

Re: Encoding trouble

2010-12-15 Thread Romaric DEFAUX
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

Re: Dealing with pywin32 on Linux

2010-12-15 Thread Benedict Verheyen
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,

Re: Dealing with pywin32 on Linux

2010-12-15 Thread Steve Holden
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

Re: while True or while 1

2010-12-15 Thread Steve Holden
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

Re: Dealing with pywin32 on Linux

2010-12-15 Thread Benedict Verheyen
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

Re: Proposed changes to logging defaults

2010-12-15 Thread Terry Reedy
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

New OpenOpt/FuncDesigner release 0.32

2010-12-15 Thread dmitrey
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

Re: Dealing with pywin32 on Linux

2010-12-15 Thread Stefan Sonnenberg-Carstens
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

O'Reilly Python Certification

2010-12-15 Thread Ethan Furman
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? ;) --

Re: O'Reilly Python Certification

2010-12-15 Thread Steve Holden
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

Re: Sage's Python

2010-12-15 Thread Akand Islam
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

Re: default argument in method

2010-12-15 Thread Hans-Peter Jansen
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

Re: O'Reilly Python Certification

2010-12-15 Thread Tim Chase
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

Re: O'Reilly Python Certification

2010-12-15 Thread 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 experienced Python users tell me what a

Re: O'Reilly Python Certification

2010-12-15 Thread Stefan Sonnenberg-Carstens
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

Help regarding pattern matching

2010-12-15 Thread jupiter
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

Help influence which tutorials are given at PyCon 2011

2010-12-15 Thread VanL
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

Re: Proposed changes to logging defaults

2010-12-15 Thread Gregory Ewing
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

Re: O'Reilly Python Certification

2010-12-15 Thread Tim Chase
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

Re: Added Python, WSGI to XAMPP

2010-12-15 Thread Chris Withers
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

Pyramid and MVC (split from: Re: Added Python, WSGI to XAMPP)

2010-12-15 Thread Gerry Reno
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

Re: default argument in method

2010-12-15 Thread Steven D'Aprano
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

Re: Added Python, WSGI to XAMPP

2010-12-15 Thread Ian Kelly
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

Calling function from another module

2010-12-15 Thread craf
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()

Re: default argument in method

2010-12-15 Thread Hans-Peter Jansen
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,

Re: Help regarding pattern matching

2010-12-15 Thread Katie T
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:

Re: Help regarding pattern matching

2010-12-15 Thread Chris Rebert
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

Re: Added Python, WSGI to XAMPP

2010-12-15 Thread Gerry Reno
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

Re: Help regarding pattern matching

2010-12-15 Thread Katie T
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

Re: Calling function from another module

2010-12-15 Thread rantingrick
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

Re: How to pop the interpreter's stack?

2010-12-15 Thread Tim Arnold
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

Re: O'Reilly Python Certification

2010-12-15 Thread Steve Holden
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

Re: Links and pointers to basics of soap and suds

2010-12-15 Thread John Nagle
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

[issue1633941] for line in sys.stdin: doesn't notice EOF the first time

2010-12-15 Thread Finkregh
Changes by Finkregh finkr...@mafia-server.net: -- nosy: +Finkregh ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1633941 ___ ___ Python-bugs-list

[issue5625] test_urllib2 fails - urlopen error file not on local host

2010-12-15 Thread Zsolt Cserna
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

[issue8040] It would be nice if documentation pages linked to other versions of the same document

2010-12-15 Thread Michael Buckley
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

[issue6791] httplib read status memory usage

2010-12-15 Thread Ross Lagerwall
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

[issue6791] httplib read status memory usage

2010-12-15 Thread Ross Lagerwall
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

[issue10692] imap lib server compabilities

2010-12-15 Thread Yevgeniy
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

[issue10703] Regex 0.1.20101210

2010-12-15 Thread Steve Moran
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

[issue5625] test_urllib2 fails - urlopen error file not on local host

2010-12-15 Thread Senthil Kumaran
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 =

[issue1975] signals not always delivered to main thread, since other threads have the signal unmasked

2010-12-15 Thread Antoine Pitrou
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

[issue7639] bdist_msi fails on files with long names

2010-12-15 Thread Florian Berger
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

[issue5625] test_urllib2 fails - urlopen error file not on local host

2010-12-15 Thread Zsolt Cserna
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

[issue5625] test_urllib2 fails - urlopen error file not on local host

2010-12-15 Thread Senthil Kumaran
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

[issue9319] imp.find_module('test/badsyntax_pep3120') causes segfault

2010-12-15 Thread R. David Murray
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

[issue5625] test_urllib2 fails - urlopen error file not on local host

2010-12-15 Thread Zsolt Cserna
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

[issue2212] Cookie.BaseCookie has ambiguous unicode handling

2010-12-15 Thread Charles Duffy
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

[issue6791] httplib read status memory usage

2010-12-15 Thread Antoine Pitrou
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

[issue10706] kill runtests.sh

2010-12-15 Thread Antoine 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

[issue10708] Misc/porting should be folded in to the development FAQ

2010-12-15 Thread Antoine Pitrou
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:

[issue10656] Out of tree build fails on AIX 5.3

2010-12-15 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +sable ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10656 ___ ___ Python-bugs-list mailing

[issue10709] Misc/AIX-NOTES needs updating

2010-12-15 Thread Antoine Pitrou
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

[issue10710] Is Misc/setuid-prog.c still needed?

2010-12-15 Thread Antoine Pitrou
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,

[issue10667] collections.Counter object in C

2010-12-15 Thread Raymond Hettinger
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

[issue10710] Is Misc/setuid-prog.c still needed?

2010-12-15 Thread R. David Murray
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,

[issue10509] PyTokenizer_FindEncoding can lead to a segfault if bad characters are found

2010-12-15 Thread Andreas Stührk
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

[issue6791] httplib read status memory usage

2010-12-15 Thread Antoine Pitrou
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 ___

[issue6791] httplib read status memory usage

2010-12-15 Thread Ross Lagerwall
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

[issue6791] httplib read status memory usage

2010-12-15 Thread Antoine Pitrou
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

[issue10711] Rip off HTTP 0.9 support

2010-12-15 Thread Antoine Pitrou
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:

[issue10711] Rip out HTTP 0.9 support

2010-12-15 Thread Antoine Pitrou
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 ___

[issue9319] imp.find_module('test/badsyntax_pep3120') causes segfault

2010-12-15 Thread Ron Adam
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

[issue9319] imp.find_module('test/badsyntax_pep3120') causes segfault

2010-12-15 Thread Andreas Stührk
Changes by Andreas Stührk andy-pyt...@hammerhartes.de: -- nosy: +Trundle ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9319 ___ ___

[issue10711] Rip out HTTP 0.9 support

2010-12-15 Thread Antoine Pitrou
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

[issue10711] Rip out HTTP 0.9 support

2010-12-15 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +exarkun ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10711 ___ ___ Python-bugs-list mailing

[issue10711] Rip out HTTP 0.9 support

2010-12-15 Thread Antoine Pitrou
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 ___

[issue10711] Rip out HTTP 0.9 support

2010-12-15 Thread Antoine Pitrou
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 ___

[issue874900] threading module can deadlock after fork

2010-12-15 Thread Bobby Impollonia
Changes by Bobby Impollonia bob...@gmail.com: -- nosy: +bobbyi ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue874900 ___ ___ Python-bugs-list

[issue6721] Locks in python standard library should be sanitized on fork

2010-12-15 Thread Bobby Impollonia
Changes by Bobby Impollonia bob...@gmail.com: -- nosy: +bobbyi ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6721 ___ ___ Python-bugs-list mailing

[issue8753] Py_ReprEnter and Py_ReprLeave are undocumented

2010-12-15 Thread Daniel Stutzbach
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

[issue10693] error in documentation of distutils.archive_util.make_zipfile

2010-12-15 Thread Eli Bendersky
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

[issue10516] Add list.clear() and list.copy()

2010-12-15 Thread Eli Bendersky
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

[issue9264] trace.py documentation is incomplete

2010-12-15 Thread Eli Bendersky
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

[issue9264] trace.py documentation is incomplete

2010-12-15 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9264 ___ ___ Python-bugs-list

[issue10711] Rip out HTTP 0.9 support

2010-12-15 Thread Daniel Stutzbach
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

[issue10711] Rip out HTTP 0.9 support

2010-12-15 Thread Gregory P. Smith
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

[issue10711] Rip out HTTP 0.9 support

2010-12-15 Thread Daniel Stutzbach
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 --

[issue10711] Rip out HTTP 0.9 support

2010-12-15 Thread Antoine Pitrou
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

[issue10711] Rip out HTTP 0.9 support

2010-12-15 Thread Antoine Pitrou
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

[issue10711] Rip out HTTP 0.9 support

2010-12-15 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10711 ___ ___

  1   2   >