Re: [Python-Dev] Reindenting the C code base?

2008-12-15 Thread Georg Brandl
Jeffrey Yasskin schrieb: On Sun, Dec 14, 2008 at 8:26 AM, Guido van Rossum gu...@python.org wrote: On Sat, Dec 13, 2008 at 2:11 PM, Antoine Pitrou solip...@pitrou.net wrote: Guido van Rossum guido at python.org writes: I think we should not do this. We should use 4 space indents for new

Re: [Python-Dev] Python-3.0, unicode, and os.environ

2008-12-15 Thread Ulrich Eckhardt
On Friday 12 December 2008, Adam Olsen wrote: Only pages like this, which indicate the underlying API is an array of WCHAR: http://blogs.msdn.com/michkap/archive/2005/05/11/416552.aspx Hmm, true. So even there, the encoding isn't known... char * is just fine. You need only pass a length

Re: [Python-Dev] sys.stdout.write encoding failure

2008-12-15 Thread Amaury Forgeot d'Arc
Hi, Alexander Belopolsky wrote: There is currently a unit test in the trunk that fails in verbose mode: $ ./python.exe Lib/test/test_doctest.py -v ... UnicodeEncodeError: 'ascii' codec can't encode characters in position 338-339: ordinal not in range(128) Apparently, the problem is that

Re: [Python-Dev] Reindenting the C code base?

2008-12-15 Thread Steve Holden
Miguel Lobo wrote: I think we should not do this. We should use 4 space indents for new files, but existing files should not be reindented. If you reindent, much of the history of the file is essentially lost -- svn blame will blame whoever reindented the code, and it's a pain to go back. I

Re: [Python-Dev] Reindenting the C code base?

2008-12-15 Thread M.-A. Lemburg
On 2008-12-14 21:43, Martin v. Löwis wrote: Personally, I think the indentation of, at least, Objects/unicodeobject.c should be fixed. This file has become so mixed-up with tab and space indents that I have no-idea what to use when I edit it. Just to give an idea how messy it is, they are 5214

Re: [Python-Dev] [ANN] Python 2.4.6 and 2.5.3, release candidate 1

2008-12-15 Thread Josiah Carlson
Would anyone mind terribly if I backported a version of: http://bugs.python.org/issue4501 to 2.4 and 2.5? It fixes some strange duplicate data issues on poll() with packets with a nonstandard flag set. - Josiah On Sat, Dec 13, 2008 at 2:55 PM, Martin v. Löwis mar...@v.loewis.de wrote:

Re: [Python-Dev] Python 3.0 urllib fails with chunked HTTP responses

2008-12-15 Thread Jeremy Hylton
I have a patch that appears to fix this bug http://bugs.python.org/file12361/urllib-chunked.diff but I'm not sure about its interaction with the io module and RawIOBase. Is there a new IO expert who could take a look at it for me? Jeremy On Sun, Dec 14, 2008 at 11:06 PM, Jeremy Hylton

Re: [Python-Dev] Reindenting the C code base?

2008-12-15 Thread Brett Cannon
On Mon, Dec 15, 2008 at 00:20, Georg Brandl g.bra...@gmx.net wrote: Jeffrey Yasskin schrieb: On Sun, Dec 14, 2008 at 8:26 AM, Guido van Rossum gu...@python.org wrote: On Sat, Dec 13, 2008 at 2:11 PM, Antoine Pitrou solip...@pitrou.net wrote: Guido van Rossum guido at python.org writes: I

Re: [Python-Dev] Psyco for -OO or -O

2008-12-15 Thread Mike Klaas
On 13-Dec-08, at 5:28 AM, Michael Foord wrote: Lie Ryan wrote: I'm sure probably most of you knows about psyco[1], the optimizer. Python has an -O and -OO flag that is intended to be optimization flag, but we know that currently it doesn't do much. Why not add psyco as standard library

Re: [Python-Dev] Reindenting the C code base?

2008-12-15 Thread Guido van Rossum
Aha! A specific file. I'm supportive of fixing that specific file. Now if you can figure out how to do it and still allow merging between 2.6 and 3.0 that would be cool. --Guido van Rossum (home page: http://www.python.org/~guido/) On Sun, Dec 14, 2008 at 9:54 AM, Alexandre Vassalotti

Re: [Python-Dev] How to force export of a particular symbol from python.exe?

2008-12-15 Thread Jim Murphy
Martin: You wrote: That's not the issue. Had pymath.o been linked into python, it's symbols would have been exported (is that proper use of English tenses?) Yes, it's a proper and idiomatic use of the subjunctive mood, which many native (American) English speakers manage to mangle. I

Re: [Python-Dev] [ANN] Python 2.4.6 and 2.5.3, release candidate 1

2008-12-15 Thread Martin v. Löwis
Would anyone mind terribly if I backported a version of: http://bugs.python.org/issue4501 to 2.4 and 2.5? Yes, I would. These branches are frozen right now until the final release is made. Afterwards, only security-critical patches are allowed, which this one is not, AFAICT. It fixes some

Re: [Python-Dev] How to force export of a particular symbol from python.exe?

2008-12-15 Thread Steve Holden
Jim Murphy wrote: Martin: You wrote: That's not the issue. Had pymath.o been linked into python, it's symbols would have been exported (is that proper use of English tenses?) It does, however, make the common mistake of putting an apostrophe in a possessive personal pronoun.

Re: [Python-Dev] [ANN] Python 2.4.6 and 2.5.3, release candidate 1

2008-12-15 Thread Victor Stinner
Le Monday 15 December 2008 19:50:42 Josiah Carlson, vous avez écrit : Would anyone mind terribly if I backported a version of: http://bugs.python.org/issue4501 to 2.4 and 2.5? First the patch have be reviewed and at least applied to trunk :-) Can you give an short example to describe the bug?

Re: [Python-Dev] How to force export of a particular symbol from python.exe?

2008-12-15 Thread Nick Coghlan
Steve Holden wrote: This is only significant because Martin is a perfectionist who wants to write better English. I can't remember a time when his slightly-less-than-perfect command of the language rendered anything he wrote incomprehensible. I'd actually criticise the written communication

Re: [Python-Dev] How to force export of a particular symbol from python.exe?

2008-12-15 Thread Martin v. Löwis
This particular thread of discussion does appear to be veering a little off topic though :) And I apologize for starting it :-) Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe:

Re: [Python-Dev] Reindenting the C code base?

2008-12-15 Thread Scott Dial
Guido van Rossum wrote: Aha! A specific file. I'm supportive of fixing that specific file. Now if you can figure out how to do it and still allow merging between 2.6 and 3.0 that would be cool. Like svn blame, you can use svn merge -x -w to avoid merging whitespace changes. However,

Re: [Python-Dev] Reindenting the C code base?

2008-12-15 Thread Martin v. Löwis
Aha! A specific file. I'm supportive of fixing that specific file. Now if you can figure out how to do it and still allow merging between 2.6 and 3.0 that would be cool. In the specific case, I think it's best to fix the 2.7 source, and then merge the changes into 3k. The 3.x version is still

Re: [Python-Dev] Reindenting the C code base?

2008-12-15 Thread Alexandre Vassalotti
On Mon, Dec 15, 2008 at 3:59 PM, Guido van Rossum gu...@python.org wrote: Aha! A specific file. I'm supportive of fixing that specific file. Now if you can figure out how to do it and still allow merging between 2.6 and 3.0 that would be cool. Here's the simplest solution I thought so far to

Re: [Python-Dev] [ANN] Python 2.4.6 and 2.5.3, release candidate 1

2008-12-15 Thread Josiah Carlson
On Mon, Dec 15, 2008 at 1:14 PM, Victor Stinner victor.stin...@haypocalc.com wrote: Le Monday 15 December 2008 19:50:42 Josiah Carlson, vous avez écrit : Would anyone mind terribly if I backported a version of: http://bugs.python.org/issue4501 to 2.4 and 2.5? First the patch have be reviewed

Re: [Python-Dev] [Python-3000] python-3000 list is closed

2008-12-15 Thread skip
Martin The mailing list python-3...@python.org is now closed. All Martin further discussion of Python 3.x takes place on Martin python-...@python.org. Maybe set up a simple email alias reflecting python-3000 to python-dev? Skip ___

Re: [Python-Dev] [Python-3000] python-3000 list is closed

2008-12-15 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Dec 15, 2008, at 7:44 PM, s...@pobox.com wrote: Martin The mailing list python-3...@python.org is now closed. All Martin further discussion of Python 3.x takes place on Martin python-...@python.org. Maybe set up a simple email alias

Re: [Python-Dev] [Python-3000] python-3000 list is closed

2008-12-15 Thread Brad Knowles
Barry Warsaw wrote: Maybe set up a simple email alias reflecting python-3000 to python-dev? Or, https://launchpad.net/replybot If we're going to leave something configured in Mailman, it already has an auto-reply functionality. It would be nearly trivial to set that up. -- Brad

Re: [Python-Dev] Reindenting the C code base?

2008-12-15 Thread bharat satsangi
please unsubscribe me On Tue, Dec 16, 2008 at 12:51 AM, Brett Cannon br...@python.org wrote: On Mon, Dec 15, 2008 at 00:20, Georg Brandl g.bra...@gmx.net wrote: Jeffrey Yasskin schrieb: On Sun, Dec 14, 2008 at 8:26 AM, Guido van Rossum gu...@python.org wrote: On Sat, Dec 13, 2008 at

Re: [Python-Dev] [Python-3000] python-3000 list is closed

2008-12-15 Thread Terry Reedy
s...@pobox.com wrote: Martin The mailing list python-3...@python.org is now closed. All Martin further discussion of Python 3.x takes place on Martin python-...@python.org. Maybe set up a simple email alias reflecting python-3000 to python-dev? It is currently mirrored to