[Python-Dev] Patches: 1 for the price of 10.

2004-12-21 Thread Titus Brown
Hello all, per previous discussion, http://mail.python.org/pipermail/python-dev/2004-October/049495.html I'd like to push a trivial little patch to sgmllib (#1087808) on you gents, in exchange for my reviews & effort etc. on 10 other patches. Without further ado: No-brainers: 1055159

Re: [Python-Dev] Latex problem when trying to build documentation

2004-12-21 Thread George Yoshida
Irmen de Jong wrote: Looks like the end tag of {description} has disappeared with this check-in: [...] Out of curiousity, how did you find this? Well, I periodically download daily snapshots, so I compiled TeX files with them. The snapshot from Dec-11 was OK, but with the one from Dec-17 I couldn'

Re: [Python-Dev] Re: [Python-checkins] python/dist/src/Pythonmarshal.c, 1.79, 1.80

2004-12-21 Thread Tim Peters
[Armin Rigo] > Some code in the 'py' lib used to use marshal to send simple objects between > the main process and a subprocess. We ran into trouble when we extended the > idea to a subprocess that would actually run via ssh on a remote machine, and > the remote machine's Python version didn't mat

Re: [Python-Dev] Latex problem when trying to build documentation

2004-12-21 Thread Johannes Gijsbers
On Tue, Dec 21, 2004 at 07:57:43PM +0100, Irmen de Jong wrote: > >Looks like the end tag of {description} has disappeared with this > >check-in: > > [...] > > Out of curiousity, how did you find this? Once you filter through all the noise LaTeX generates there's actually a pretty clear error mes

Re: [Python-Dev] Re:[Python-checkins] python/dist/src/Pythonmarshal.c, 1.79, 1.80

2004-12-21 Thread Johannes Gijsbers
On Tue, Dec 21, 2004 at 08:00:22PM +0100, Irmen de Jong wrote: > Thanks for those suggestions. > Let's see what I can concoct. > > Never made (or studied in detail) a python regression test case > before so now is a good time :) You might be especially interested in 'class urlopen_HttpTests' in t

Re: [Python-Dev] Re:[Python-checkins] python/dist/src/Pythonmarshal.c, 1.79, 1.80

2004-12-21 Thread Irmen de Jong
Tim Delaney wrote: Irmen de Jong wrote: Also, I'm not sure how a test-case should be constructed for this patch? Can the Python regression test download stuff as part of a test? Or is there some other way to make a testcase for this. Hmm - perhaps start a server on the local machine at the start o

Re: [Python-Dev] Latex problem when trying to build documentation

2004-12-21 Thread Irmen de Jong
George Yoshida wrote: Irmen de Jong wrote: > I wanted to create a doc patch belonging to my patch #1062060, > but got this error when trying to build the documentation from CVS: > [snip] > I dont really understand that latex stuff (used to, but that > was a long time ago). What's the problem?

[Python-Dev] Re: [Python-checkins]python/dist/src/Pythonmarshal.c, 1.79, 1.80

2004-12-21 Thread Fredrik Lundh
Armin Rigo wrote: > Some code in the 'py' lib used to use marshal to send simple objects between > the main process and a subprocess. We ran into trouble when we extended the > idea to a subprocess that would actually run via ssh on a remote machine, and > the remote machine's Python version didn

[Python-Dev] PyCon is coming - we need your help

2004-12-21 Thread Steve Holden
Dear Python User: I wonder if you would be kind enough to take the time to read this email and help us to publicize PyCon DC 2005, being held March 23-26 at the Cafritz Conference Center of George Washington University. The Call for Participation went out some time ago, but it is a good time to

Re: [Python-Dev] Re: [Python-checkins] python/dist/src/Pythonmarshal.c, 1.79, 1.80

2004-12-21 Thread Armin Rigo
Hi Tim, On Mon, Dec 20, 2004 at 07:26:25PM -0500, Tim Peters wrote: > Still, it's a new-in-2.4 gimmick, and no pre-2.4 code could be using > it. I suppose Armin found a use for it in 2.4, but I'm still > scratching my head. If ZODB doesn't already depend on it, how useful > can it be? QED Some

Re: [Python-Dev] Py2.4 _sre uses uninitialised memory (Bug 1088891)

2004-12-21 Thread Gustavo Niemeyer
Hello Andrew, > _sre.c, data_stack_grow() in Py2.4 uses realloc()'ed memory without > initialising the newly allocated memory. For complex regexps that > require additional sre stack space, this ultimately results in a core > dump or corrupted heap. Filling the newly allocated memory with 0x55 > m

Re: [Python-Dev] Latex problem when trying to build documentation

2004-12-21 Thread George Yoshida
Irmen de Jong wrote: > I wanted to create a doc patch belonging to my patch #1062060, > but got this error when trying to build the documentation from CVS: > [snip] > I dont really understand that latex stuff (used to, but that > was a long time ago). What's the problem? > Looks like the end tag of

[Python-Dev] Py2.4 _sre uses uninitialised memory (Bug 1088891)

2004-12-21 Thread Andrew McNamara
_sre.c, data_stack_grow() in Py2.4 uses realloc()'ed memory without initialising the newly allocated memory. For complex regexps that require additional sre stack space, this ultimately results in a core dump or corrupted heap. Filling the newly allocated memory with 0x55 makes the problem more obv