Re: [Python-Dev] [Python-checkins] r84906 - python/branches/py3k/Doc/library/ssl.rst

2010-09-20 Thread Éric Araujo
> Log: > Remove references to read() and write() methods, which are useless > synonyms of recv() and send() Unless I’m mistaken, ssl.SSLSocket.write is still useful for use with print, pprint and maybe other functions, so I think the method should be listed somewhere. Regards ___

Re: [Python-Dev] [Python-checkins] r84871 + committing distutils fixes

2010-09-20 Thread Éric Araujo
>+@unittest.skipIf(sys.platform.startswith('win'), >+"This test is only appropriate for POSIX-like systems.") Is win32 the only non-POSIX supported platform now that OS 9 support is gone? I find those values in the docs for sys.platform: win32, cygwin, darwin, os2, os2

Re: [Python-Dev] Builder: x86 Windows7 3.x OpenSSL compile error

2010-09-20 Thread Antoine Pitrou
On Mon, 20 Sep 2010 19:02:33 -0400 David Bolen wrote: > > d...@buildbot-win7 ~ > $ buildarea/3.x.bolen-windows7/build/pcbuild/python_d > Python 3.2a2+ (py3k, Sep 20 2010, 18:49:03) [MSC v.1500 32 bit (Intel)] on > win32 > > Type "help", "copyright", "credits" or "license" for more information.

Re: [Python-Dev] [Python-checkins] r84858 - in python/branches: py3k/Doc/library/logging.rst release27-maint/Doc/library/logging.rst

2010-09-20 Thread Éric Araujo
Hello + NOTE: If you are thinking of defining your own levels, please see the section + on :ref:`custom-levels`. I think those instances of upper-case-as-markup should either be real reST note/warning/etc. directives or plain English (that is, integrating “NOTE:” into the text flow, for examp

Re: [Python-Dev] Builder: x86 Windows7 3.x OpenSSL compile error

2010-09-20 Thread Antoine Pitrou
On Mon, 20 Sep 2010 19:02:33 -0400 David Bolen wrote: > > Looks like some issue with using bytes for os.path.exists - I > "borrowed" a Python 3.x build currently in the tree as part of build > 1611 and tried: > > d...@buildbot-win7 ~ > $ buildarea/3.x.bolen-windows7/build/pcbuild/python_d > Pyth

Re: [Python-Dev] Builder: x86 Windows7 3.x OpenSSL compile error

2010-09-20 Thread David Bolen
Antoine Pitrou writes: > (...) > > test test_ssl failed -- Can't read certificate file > b'D:\\cygwin\\home\\db3l\\buildarea\\3.x.bolen-windows7\\build\\lib\\test\\keycert.pem' > > But the aforementioned certificate file is in the SVN tree and other > buildslaves have no problem reading it. Can y

Re: [Python-Dev] Supporting raw bytes data in urllib.parse.* (was Re: Polymorphic best practices)

2010-09-20 Thread Nick Coghlan
On Tue, Sep 21, 2010 at 7:39 AM, Chris McDonough wrote: > On Tue, 2010-09-21 at 07:12 +1000, Nick Coghlan wrote: >> On Tue, Sep 21, 2010 at 4:30 AM, Chris McDonough wrote: >> > Existing APIs save for "quote" don't really need to deal with charset >> > encodings at all, at least on any level that

Re: [Python-Dev] Builder: x86 Windows7 3.x OpenSSL compile error

2010-09-20 Thread Antoine Pitrou
Hello David, On Mon, 20 Sep 2010 16:42:10 -0400 David Bolen wrote: > Hirokazu Yamamoto writes: > > > Hello. I've sent following mail to buildbot manager, > > but I found that buildbot page saids the problem of unsable > > bot should be sent to python-...@python.org. So I'll do it. > > (I'm fi

Re: [Python-Dev] Supporting raw bytes data in urllib.parse.* (was Re: Polymorphic best practices)

2010-09-20 Thread Chris McDonough
On Tue, 2010-09-21 at 08:19 +1000, Nick Coghlan wrote: > On Tue, Sep 21, 2010 at 7:39 AM, Chris McDonough wrote: > > On Tue, 2010-09-21 at 07:12 +1000, Nick Coghlan wrote: > >> On Tue, Sep 21, 2010 at 4:30 AM, Chris McDonough wrote: > >> > Existing APIs save for "quote" don't really need to deal

Re: [Python-Dev] Supporting raw bytes data in urllib.parse.* (was Re: Polymorphic best practices)

2010-09-20 Thread Chris McDonough
On Tue, 2010-09-21 at 07:12 +1000, Nick Coghlan wrote: > On Tue, Sep 21, 2010 at 4:30 AM, Chris McDonough wrote: > > Existing APIs save for "quote" don't really need to deal with charset > > encodings at all, at least on any level that Python needs to care about. > > The potential already exists t

Re: [Python-Dev] Supporting raw bytes data in urllib.parse.* (was Re: Polymorphic best practices)

2010-09-20 Thread Nick Coghlan
On Tue, Sep 21, 2010 at 4:30 AM, Chris McDonough wrote: > Existing APIs save for "quote" don't really need to deal with charset > encodings at all, at least on any level that Python needs to care about. > The potential already exists to emit garbage which will turn into > mojibake from almost all

Re: [Python-Dev] Fwd: Builder: x86 Windows7 3.x OpenSSL compile error

2010-09-20 Thread David Bolen
Hirokazu Yamamoto writes: > Hello. I've sent following mail to buildbot manager, > but I found that buildbot page saids the problem of unsable > bot should be sent to python-...@python.org. So I'll do it. (I'm fine with direct email for any of my build slaves, and it's probably the quickest way

Re: [Python-Dev] Python 2.7 Won't Build

2010-09-20 Thread Tom Browder
On Mon, Sep 20, 2010 at 14:28, Antoine Pitrou wrote: > On Mon, 20 Sep 2010 09:31:45 -0500 > Tom Browder wrote: >> >> Can anyone explain the two different "default" installations I got? >> >> It seems to me I should force the Ubuntu-style installation by  the >> "--with-universal-archs=64-bit" con

Re: [Python-Dev] Python 2.7 Won't Build

2010-09-20 Thread Antoine Pitrou
On Mon, 20 Sep 2010 09:31:45 -0500 Tom Browder wrote: > > Can anyone explain the two different "default" installations I got? > > It seems to me I should force the Ubuntu-style installation by the > "--with-universal-archs=64-bit" configure option, and I will try that > on Debian while I await

Re: [Python-Dev] Buildbot for AIX

2010-09-20 Thread Martin v. Löwis
> Also could you provide me the master.cfg file (with obfuscated > passwords) that is used by the Python buildbot master or tell me if it > is in subversion somewhere? Attached! Regards, Martin # -*- python -*- # This is a sample buildmaster config file. It must be installed as # 'master.cfg' in

Re: [Python-Dev] Python 2.7 Won't Build

2010-09-20 Thread Tom Browder
On Mon, Sep 20, 2010 at 13:05, Terry Reedy wrote: > On 9/20/2010 10:31 AM, Tom Browder wrote: > ... >> >> I see that the configure file has some architecture choices >> (--with-universal-archs=ARCH) but no explanation about the >> consequences. >> >> Can anyone explain the two different "default"

Re: [Python-Dev] Python 2.7 Won't Build

2010-09-20 Thread Tom Browder
On Mon, Sep 20, 2010 at 13:05, Terry Reedy wrote: > On 9/20/2010 10:31 AM, Tom Browder wrote: > ... >> >> I see that the configure file has some architecture choices >> (--with-universal-archs=ARCH) but no explanation about the >> consequences. >> >> Can anyone explain the two different "default"

Re: [Python-Dev] Supporting raw bytes data in urllib.parse.* (was Re: Polymorphic best practices)

2010-09-20 Thread Chris McDonough
On Mon, 2010-09-20 at 23:23 +1000, Nick Coghlan wrote: > On Mon, Sep 20, 2010 at 10:12 PM, Chris McDonough wrote: > > urllib.parse.urlparse/urllib.parse.urlsplit will never need to decode > > anything when passed bytes input. > > Correct. Supporting manipulation of bytes directly is primarily a >

Re: [Python-Dev] Python 2.7 Won't Build

2010-09-20 Thread Ronald Oussoren
On 20 Sep, 2010,at 04:31 PM, Tom Browder wrote:Continuing on with investigating Python 2.7 build problems, one problem I just discovered is a different installation on one 64-bit system (Debian Lenny) versus another (Ubuntu 10.04.1 LTS). I used gcc-4.5.1 on both systems, with no *PY* environment

Re: [Python-Dev] Python 2.7 Won't Build

2010-09-20 Thread Terry Reedy
On 9/20/2010 10:31 AM, Tom Browder wrote: ... I see that the configure file has some architecture choices (--with-universal-archs=ARCH) but no explanation about the consequences. Can anyone explain the two different "default" installations I got? At the moment, this appears to be question abou

Re: [Python-Dev] Python 2.7 Won't Build

2010-09-20 Thread Tom Browder
On Mon, Sep 20, 2010 at 10:12, Ronald Oussoren wrote: > > > On 20 Sep, 2010,at 04:31 PM, Tom Browder wrote: > > Continuing on with investigating Python 2.7 build problems, one > problem I just discovered is a different installation on one 64-bit > system (Debian Lenny) versus another (Ubuntu 10.0

[Python-Dev] Fwd: Builder: x86 Windows7 3.x OpenSSL compile error

2010-09-20 Thread Hirokazu Yamamoto
Hello. I've sent following mail to buildbot manager, but I found that buildbot page saids the problem of unsable bot should be sent to python-...@python.org. So I'll do it. Original Message Subject: Builder: x86 Windows7 3.x OpenSSL compile error Date: Mon, 20 Sep 2010 22:53:04

[Python-Dev] Buildbot for AIX

2010-09-20 Thread Sébastien Sablé
Hi Martin, Le 17/09/2010 14:42, "Martin v. Löwis" a écrit : If you are having the build slave compile Python, I'd like to point out that you *already* run arbitrary shell commands provided by some external source: if somebody would check some commands into Python's configure.in, you would uncond

[Python-Dev] Buildbot for AIX

2010-09-20 Thread Sébastien Sablé
Le 17/09/2010 15:05, Antoine Pitrou a écrit : Following on Martin's comments, you might also want to share things with the ActiveState guys who, AFAIK, maintain an AIX version of Python (but you have been the most active AIX user on the bug tracker lately; perhaps they are keeping their patches t

Re: [Python-Dev] Python 2.7 Won't Build

2010-09-20 Thread Tom Browder
Continuing on with investigating Python 2.7 build problems, one problem I just discovered is a different installation on one 64-bit system (Debian Lenny) versus another (Ubuntu 10.04.1 LTS). I used gcc-4.5.1 on both systems, with no *PY* environment variables set. On Debian I got two directories:

Re: [Python-Dev] Supporting raw bytes data in urllib.parse.* (was Re: Polymorphic best practices)

2010-09-20 Thread Nick Coghlan
On Mon, Sep 20, 2010 at 10:12 PM, Chris McDonough wrote: > urllib.parse.urlparse/urllib.parse.urlsplit will never need to decode > anything when passed bytes input. Correct. Supporting manipulation of bytes directly is primarily a speed hack for when an application wants to avoid the decoding/enc

Re: [Python-Dev] Supporting raw bytes data in urllib.parse.* (was Re: Polymorphic best practices)

2010-09-20 Thread Chris McDonough
On Sun, 2010-09-19 at 12:03 +1000, Nick Coghlan wrote: > On Sun, Sep 19, 2010 at 4:18 AM, John Nagle wrote: > > On 9/18/2010 2:29 AM, python-dev-requ...@python.org wrote: > >> > >> Polymorphic best practices [was: (Not) delaying the 3.2 release] > > > > If you're hung up on this, try writing the

Re: [Python-Dev] Supporting raw bytes data in urllib.parse.* (was Re: Polymorphic best practices)

2010-09-20 Thread Nick Coghlan
On Mon, Sep 20, 2010 at 2:12 PM, Glyph Lefkowitz wrote: > While I don't like the email6 precedent as such (that there would be > different parsed objects, based on whether you started parsing with bytes or > with strings), the idea that when you are working directly with bytes or > text, you shoul

Re: [Python-Dev] Rework nntplib?

2010-09-20 Thread Nick Coghlan
On Mon, Sep 20, 2010 at 12:25 PM, R. David Murray wrote: > On Mon, 20 Sep 2010 06:55:50 +1000, Nick Coghlan wrote: >> On Mon, Sep 20, 2010 at 3:27 AM, Antoine Pitrou wrote: >> > >> > For the record, the code is pretty much done now: >> > http://bugs.python.org/issue9360 >> >> Generally looks pre