Re: [Python-Dev] [Python-checkins] cpython: Issue #11049: adding some tests to test.support

2011-07-26 Thread Brett Cannon
On Tue, Jul 26, 2011 at 17:41, Nick Coghlan wrote: > On Wed, Jul 27, 2011 at 12:10 AM, Éric Araujo wrote: > > Le 26/07/2011 15:30, Antoine Pitrou a écrit : > >> Actually, you want %a for non-ASCII messages to be escaped. > > > > Thanks for the reminder, I should use more %a instead of %r. In th

Re: [Python-Dev] [Python-checkins] cpython: Issue #11049: adding some tests to test.support

2011-07-26 Thread Nick Coghlan
On Wed, Jul 27, 2011 at 12:10 AM, Éric Araujo wrote: > Le 26/07/2011 15:30, Antoine Pitrou a écrit : >> Actually, you want %a for non-ASCII messages to be escaped. > > Thanks for the reminder, I should use more %a instead of %r.  In the > packaging code however, we can’t, given that we want to bac

[Python-Dev] ESHUTDOWN

2011-07-26 Thread Antoine Pitrou
Some more digging indicates that ESHUTDOWN appears in asyncore with the following commit: changeset: 10934:c089020a7a1e branch: legacy-trunk user:Guido van Rossum date:Tue Jun 08 13:20:05 1999 + files: Lib/asynchat.py Lib/asyncore.py description: Sam's latest ver

Re: [Python-Dev] Comments of the PEP 3151

2011-07-26 Thread Antoine Pitrou
On Tue, 26 Jul 2011 19:32:56 -0400 Glyph Lefkowitz wrote: > > On Jul 26, 2011, at 6:49 PM, Antoine Pitrou wrote: > > > On Mon, 25 Jul 2011 15:28:47 +1000 > > Nick Coghlan wrote: > >> There may be some error codes that we choose to map to these generic > >> errors, even if we don't give them the

Re: [Python-Dev] Comments of the PEP 3151

2011-07-26 Thread Glyph Lefkowitz
On Jul 26, 2011, at 6:49 PM, Antoine Pitrou wrote: > On Mon, 25 Jul 2011 15:28:47 +1000 > Nick Coghlan wrote: >> There may be some error codes that we choose to map to these generic >> errors, even if we don't give them their own exception types at this >> point (e.g. ECONSHUTDOWN could map dire

Re: [Python-Dev] Comments of the PEP 3151

2011-07-26 Thread Antoine Pitrou
On Mon, 25 Jul 2011 15:28:47 +1000 Nick Coghlan wrote: > There may be some error codes that we choose to map to these generic > errors, even if we don't give them their own exception types at this > point (e.g. ECONSHUTDOWN could map directly to ConnectionError). Ok, I can find neither ECONSHUTDO

Re: [Python-Dev] [Python-checkins] cpython (merge 3.2 -> default): Issue #12102: Merge with 3.2.

2011-07-26 Thread Antoine Pitrou
Hi, > > But this i tell you - if i would be an italian.. then i.. would.. > > Viva la mamma - per que!!! > > Sob. > > This is **NOT** offensive against just anybody. > (Except maybe that i don't take *myself* too seriously, because > doing so is a bit strange on a planet which disappears in som

[Python-Dev] hard linking executables

2011-07-26 Thread Antoine Pitrou
Ok, apparently the decision to make hard links for executables dates at least back to: changeset: 16221:588691f806f4 branch: legacy-trunk user:Neil Schemenauer date:Wed Jan 24 17:11:43 2001 + files: Makefile.pre.in description: Flat makefile based on toplevel Mak

Re: [Python-Dev] [Python-checkins] cpython (merge 3.2 -> default): Issue #12102: Merge with 3.2.

2011-07-26 Thread Steffen Daode Nurpmeso
I was contacted off-list due to anxiety about cleanliness of python-dev in respect to the following lines: > But this i tell you - if i would be an italian.. then i.. would.. > Viva la mamma - per que!!! Sob. This is **NOT** offensive against just anybody. (Except maybe that i don't take *myself

Re: [Python-Dev] [Python-checkins] cpython (2.7): Issue #8746: Correct faulty configure checks so that os.chflags() and

2011-07-26 Thread Ned Deily
In article <4e2ed1a3.3050...@netwok.org>, Eric Araujo wrote: > > changeset: 71030:abfe28e7e5cd > > branch: 2.7 > > user:Ned Deily > > > diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py > > --- a/Lib/test/test_posix.py > > +++ b/Lib/test/test_posix.py > > @@ -11,10 +11

Re: [Python-Dev] [Python-checkins] cpython: Issue #11784: Improve multiprocessing.Process.join() documentation. Patch by

2011-07-26 Thread Charles-François Natali
> There’s a dedicated file to thank doc contributors: Doc/ACKS.rst I didn't know about this file, thanks. In my "defense", there's this comment at the top of Misc/ACKS: """ This list is not complete and not in any useful order, but I would like to thank everybody who contributed in any way, with c

Re: [Python-Dev] [PEPs] Rebooting PEP 394 (aka Support the /usr/bin/python2 symlink upstream)

2011-07-26 Thread Ned Deily
In article <4e2ee813.1080...@netwok.org>, Éric Araujo wrote: > Le 26/07/2011 18:05, Antoine Pitrou a écrit : > > Le mardi 26 juillet 2011 à 10:56 -0500, Kerrick Staley a écrit : > >> I'm indifferent either way. python3 is a hard link to python3.2, so I > >> thought we'd make everything that way

Re: [Python-Dev] [PEPs] Rebooting PEP 394 (aka Support the /usr/bin/python2 symlink upstream)

2011-07-26 Thread Éric Araujo
Le 26/07/2011 18:05, Antoine Pitrou a écrit : > Le mardi 26 juillet 2011 à 10:56 -0500, Kerrick Staley a écrit : >> I'm indifferent either way. python3 is a hard link to python3.2, so I >> thought we'd make everything that way for consistency. > > Is it? Yikes, I didn't know about that. Yikes for

Re: [Python-Dev] [PEPs] Rebooting PEP 394 (aka Support the /usr/bin/python2 symlink upstream)

2011-07-26 Thread Antoine Pitrou
Le mardi 26 juillet 2011 à 10:56 -0500, Kerrick Staley a écrit : > I'm indifferent either way. python3 is a hard link to python3.2, so I > thought we'd make everything that way for consistency. Is it? Yikes, I didn't know about that. Regards Antoine. ___

Re: [Python-Dev] [Python-checkins] cpython (merge 3.2 -> default): Issue #12102: Merge with 3.2.

2011-07-26 Thread Ross Lagerwall
> We don’t add NEWS entries for each and every doc fix, otherwise it would > be very huge :) We rather document large changes to the documentation, > like adding links to the source files, using “python3” instead of > “python” in all examples, etc. In addition, Library is the wrong > section, it

Re: [Python-Dev] [PEPs] Rebooting PEP 394 (aka Support the /usr/bin/python2 symlink upstream)

2011-07-26 Thread Kerrick Staley
I'm indifferent either way. python3 is a hard link to python3.2, so I thought we'd make everything that way for consistency. Higher-level links (python/idle/pydoc/python-config) have to be soft links so that if, e.g., python points to python3, and python3 is then pointed to another location, python

Re: [Python-Dev] [Python-checkins] cpython (merge 3.2 -> default): Issue #12102: Merge with 3.2.

2011-07-26 Thread Éric Araujo
Hi, > Murmur... but it hits me little: where is the difference in > between Doc/ACKS.txt and Misc/ACKS? Doc/ACKS.txt is used for doc contributions, Misc/ACKS for other contributions (but sometimes doc too!). Doc/A is also displayed on docs.python.org whereas Misc/A is only readable in tarballs.

Re: [Python-Dev] [Python-checkins] cpython (merge 3.2 -> default): Issue #12102: Merge with 3.2.

2011-07-26 Thread Steffen Daode Nurpmeso
@ Éric Araujo wrote (2011-07-26 15:17+0200): > > [.] > > Doc/library/mmap.rst | 6 ++ > > [.] > > + with mmap. Patch by Steffen Daode Nurpmeso. > > I’m doing commits this afternoon, so I’ll take the occasion to remove > this entry. Murmur... but it hits me little: where is the difference

Re: [Python-Dev] [Python-checkins] cpython (2.7): Issue #8746: Correct faulty configure checks so that os.chflags() and

2011-07-26 Thread Éric Araujo
Hi, > changeset: 71030:abfe28e7e5cd > branch: 2.7 > user:Ned Deily > diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py > --- a/Lib/test/test_posix.py > +++ b/Lib/test/test_posix.py > @@ -11,10 +11,12 @@ > import os > import pwd > import shutil > +import stat > impor

Re: [Python-Dev] [Python-checkins] cpython: Issue #11049: adding some tests to test.support

2011-07-26 Thread Éric Araujo
Le 26/07/2011 15:30, Antoine Pitrou a écrit : > Actually, you want %a for non-ASCII messages to be escaped. Thanks for the reminder, I should use more %a instead of %r. In the packaging code however, we can’t, given that we want to backport. > (however, there's hardly any reason to worry about i

Re: [Python-Dev] [Python-checkins] cpython: Issue #11784: Improve multiprocessing.Process.join() documentation. Patch by

2011-07-26 Thread Éric Araujo
> changeset: 71499:8d67fd820627 > parent: 71497:4898b14dcd69 > user:Charles-François Natali > date:Mon Jul 25 18:35:49 2011 +0200 > summary: > Issue #11784: Improve multiprocessing.Process.join() documentation. Patch by > Patrick Sabin. > > files: > Doc/library/multipro

Re: [Python-Dev] [Python-checkins] cpython: Issue #11049: adding some tests to test.support

2011-07-26 Thread Antoine Pitrou
On Tue, 26 Jul 2011 15:20:55 +0200 Éric Araujo wrote: > > > > diff --git a/Lib/test/support.py b/Lib/test/support.py > > --- a/Lib/test/support.py > > +++ b/Lib/test/support.py > > @@ -170,7 +170,7 @@ > > attribute = getattr(obj, name) > > except AttributeError: > > raise u

Re: [Python-Dev] [Python-checkins] cpython: Issue #11049: adding some tests to test.support

2011-07-26 Thread Éric Araujo
Hi, > changeset: 71465:be558ad15789 > user:Eli Bendersky > summary: > Issue #11049: adding some tests to test.support > Based on original patch by Giampaolo Rodola with contributions from R. David > Murray > > files: > Lib/test/support.py | 21 +- > Lib/test/test_support.p

Re: [Python-Dev] [Python-checkins] cpython (merge 3.2 -> default): Issue #12102: Merge with 3.2.

2011-07-26 Thread Éric Araujo
Hi, > changeset: 71497:4898b14dcd69 > user:Ross Lagerwall > summary: > Issue #12102: Merge with 3.2. > > files: > Doc/ACKS.txt | 1 + > Doc/library/mmap.rst | 6 ++ > Misc/NEWS| 3 +++ > diff --git a/Misc/NEWS b/Misc/NEWS > --- a/Misc/NEWS > +++ b/Misc/