Re: [Python-Dev] r83893 - python/branches/release27-maint/Misc/ACKS

2010-08-10 Thread Terry Reedy
On 8/10/2010 6:29 PM, "Martin v. Löwis" wrote: If I were committing a patch and was checking to see whether a name that started with a decorated A (or any other letter) were already in the list, I would look in the appropriate place in the A (or other) section, not after Z. Everyone working on

Re: [Python-Dev] Proposed tweaks to functools.wraps

2010-08-10 Thread Nick Coghlan
On Wed, Aug 11, 2010 at 1:22 PM, Steve Holden wrote: > One of the things that's slightly irking about the decorator syntax is > that a decorator is always called with exactly one argument, and that if > you want to write a parameterized decorator you therefore end up writing > a function that retu

Re: [Python-Dev] Proposed tweaks to functools.wraps

2010-08-10 Thread Guido van Rossum
On Tue, Aug 10, 2010 at 8:22 PM, Steve Holden wrote: > One of the things that's slightly irking about the decorator syntax is > that a decorator is always called with exactly one argument, and that if > you want to write a parameterized decorator you therefore end up writing > a function that retu

Re: [Python-Dev] Proposed tweaks to functools.wraps

2010-08-10 Thread Steve Holden
On 8/10/2010 10:58 PM, Nick Coghlan wrote: > On Wed, Aug 11, 2010 at 12:48 PM, Éric Araujo wrote: >>> The second (#9396) came up in the context of the new cache decorators >>> added to functools, and allowing applications to choose their own >>> caching strategies. I suggested exposing the origina

Re: [Python-Dev] Proposed tweaks to functools.wraps

2010-08-10 Thread Nick Coghlan
On Wed, Aug 11, 2010 at 12:39 PM, Benjamin Peterson wrote: > which would require ignoring the absence of __annotations__. It turns out the patch that added __annotations__ support also made a change to make all of the copied attributes optional. So I'll be tidying up the implementation of that,

Re: [Python-Dev] Proposed tweaks to functools.wraps

2010-08-10 Thread Nick Coghlan
On Wed, Aug 11, 2010 at 12:39 PM, Benjamin Peterson wrote: >> The second (#9396) came up in the context of the new cache decorators >> added to functools, and allowing applications to choose their own >> caching strategies. I suggested exposing the original (uncached) >> function, and Raymond sugg

Re: [Python-Dev] Proposed tweaks to functools.wraps

2010-08-10 Thread Nick Coghlan
On Wed, Aug 11, 2010 at 12:48 PM, Éric Araujo wrote: >> The second (#9396) came up in the context of the new cache decorators >> added to functools, and allowing applications to choose their own >> caching strategies. I suggested exposing the original (uncached) >> function, and Raymond suggested

Re: [Python-Dev] Proposed tweaks to functools.wraps

2010-08-10 Thread Éric Araujo
> The second (#9396) came up in the context of the new cache decorators > added to functools, and allowing applications to choose their own > caching strategies. I suggested exposing the original (uncached) > function, and Raymond suggested that the easiest way to enable that > would be for functoo

Re: [Python-Dev] Proposed tweaks to functools.wraps

2010-08-10 Thread Benjamin Peterson
2010/8/10 Nick Coghlan : > Based on a pair of tracker issues (#3445 and #9396) I'm considering a > couple of adjustments to functools.wraps for 3.2. > > The first (#3445) is a request from ages ago to make update_wrapper > more forgiving when it encounters a missing attribute. Instead of > throwing

[Python-Dev] Proposed tweaks to functools.wraps

2010-08-10 Thread Nick Coghlan
Based on a pair of tracker issues (#3445 and #9396) I'm considering a couple of adjustments to functools.wraps for 3.2. The first (#3445) is a request from ages ago to make update_wrapper more forgiving when it encounters a missing attribute. Instead of throwing AttributeError (as it does now), it

Re: [Python-Dev] r83893 - python/branches/release27-maint/Misc/ACKS

2010-08-10 Thread Alexander Belopolsky
On Tue, Aug 10, 2010 at 6:50 PM, "Martin v. Löwis" wrote: .. >> or Александр Белопольский for that matter? :-) > > If you care about that, feel free to add that spelling to the file. > Somebody proposed to put it along with some latin transliteration, > which I can sympathize with. > That was Dona

Re: [Python-Dev] r83893 - python/branches/release27-maint/Misc/ACKS

2010-08-10 Thread Martin v. Löwis
Am 11.08.2010 00:35, schrieb Alexander Belopolsky: > On Tue, Aug 10, 2010 at 6:29 PM, "Martin v. Löwis" wrote: > .. >> So where do you put Γεώργιος Μπουτσιούκης? >> > > or Александр Белопольский for that matter? :-) If you care about that, feel free to add that spelling to the file. Somebody pro

Re: [Python-Dev] r83893 - python/branches/release27-maint/Misc/ACKS

2010-08-10 Thread Tarek Ziadé
On Wed, Aug 11, 2010 at 12:35 AM, Alexander Belopolsky wrote: > On Tue, Aug 10, 2010 at 6:29 PM, "Martin v. Löwis" wrote: > .. >> So where do you put Γεώργιος Μπουτσιούκης? >> > > or Александр Белопольский for that matter? :-) James Tauber did a UCA implementation in Python it seems: http://jtau

Re: [Python-Dev] r83893 - python/branches/release27-maint/Misc/ACKS

2010-08-10 Thread Alexander Belopolsky
On Tue, Aug 10, 2010 at 6:29 PM, "Martin v. Löwis" wrote: .. > So where do you put Γεώργιος Μπουτσιούκης? > or Александр Белопольский for that matter? :-) ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-d

Re: [Python-Dev] r83893 - python/branches/release27-maint/Misc/ACKS

2010-08-10 Thread Martin v. Löwis
> If I were committing a patch and was checking to see whether a name that > started with a decorated A (or any other letter) were already in the > list, I would look in the appropriate place in the A (or other) section, > not after Z. > > Everyone working on the English-based Python distribution

Re: [Python-Dev] [Python-checkins] r83893 - python/branches/release27-maint/Misc/ACKS

2010-08-10 Thread Martin v. Löwis
> I am not 100% happy with this because I am sure people will keep > discovering that the order in the file does not match the order > suggested by their favorite sort program. I was also hoping to learn > from this discussion what the state of the art in in sorting unicode > words is. I believe

Re: [Python-Dev] r83893 - python/branches/release27-maint/Misc/ACKS

2010-08-10 Thread Terry Reedy
On 8/10/2010 3:44 PM, Benjamin Peterson wrote: No, but if he complains about it, we should change it. If "In rough English alphabetical order" is extended with "unless the person requests otherwise", then it should also be extended with "in which case the name is suffixed with '(phbr)' [or s

Re: [Python-Dev] r83893 - python/branches/release27-maint/Misc/ACKS

2010-08-10 Thread Alexander Belopolsky
On Tue, Aug 10, 2010 at 3:25 PM, Terry Reedy wrote: .. > If I were committing a patch and was checking to see whether a name that > started with a decorated A (or any other letter) were already in the list, I > would look in the appropriate place in the A (or other) section, not after > Z. > > Eve

Re: [Python-Dev] r83893 - python/branches/release27-maint/Misc/ACKS

2010-08-10 Thread Benjamin Peterson
2010/8/10 Terry Reedy : > On 8/10/2010 9:13 AM, Benjamin Peterson wrote: >> >> 2010/8/10 Stephen J. Turnbull: >>> >>> Benjamin Peterson writes: >>>  >  2010/8/9 Nick Coghlan: >>>  >  >  On Tue, Aug 10, 2010 at 2:10 AM, alexander.belopolsky >>>  >  >    wrote: >>>  >  >>  +PS: In the standard Python

Re: [Python-Dev] r83893 - python/branches/release27-maint/Misc/ACKS

2010-08-10 Thread Terry Reedy
On 8/10/2010 3:25 PM, Terry Reedy wrote: Everyone working on the English-based Python distribution knows the order of the 26 English letters. Please use that order (including for decorated versions and tranliterations) instead of various idiosyncratic and possibly conflicting nationality-based r

Re: [Python-Dev] r83893 - python/branches/release27-maint/Misc/ACKS

2010-08-10 Thread Terry Reedy
On 8/10/2010 9:13 AM, Benjamin Peterson wrote: 2010/8/10 Stephen J. Turnbull: Benjamin Peterson writes: > 2010/8/9 Nick Coghlan: > > On Tue, Aug 10, 2010 at 2:10 AM, alexander.belopolsky > >wrote: > >> +PS: In the standard Python distribution, this file is encoded > >> in U

Re: [Python-Dev] Summary of Python tracker Issues

2010-08-10 Thread Terry Reedy
On 8/10/2010 10:28 AM, Ezio Melotti wrote: This is the list of *all* the issues created or reopened during the last week *that are still open*. Thank you for removing the duplication of listing issues opened and closed twice. I otherwise pretty much agree with RDM's comments. -- Terry Jan R

Re: [Python-Dev] mingw support?

2010-08-10 Thread David Cournapeau
On Tue, Aug 10, 2010 at 11:06 PM, wrote: > On Mon, Aug 09, 2010 at 06:55:29PM -0400, Terry Reedy wrote: >> On 8/9/2010 2:47 PM, Sturla Molden wrote: >> >> Terry Reedy: >> > >> >>     MingW has become less attractive in recent years by the difficulty >> >> in downloading and installing a current v

Re: [Python-Dev] [Python-checkins] r83893 - python/branches/release27-maint/Misc/ACKS

2010-08-10 Thread Alexander Belopolsky
On Tue, Aug 10, 2010 at 1:53 AM, "Martin v. Löwis" wrote: .. > People need to recognize that any kind of reference is really irrelevant > here. There is no "right" order that is better than any other "right" > order. I'd personally object to any English language dictionary telling > me how my name

Re: [Python-Dev] Summary of Python tracker Issues

2010-08-10 Thread R. David Murray
On Tue, 10 Aug 2010 17:28:18 +0300, Ezio Melotti wrote: > Hi, > lately I've been working on the new summary of Python tracker issues. > This is the result. Thanks for working on this, Ezio! > > Issues stats: > >open2640 (+35) > >closed 18679 (+194) > >total 21319 (+57) > > T

Re: [Python-Dev] Summary of Python tracker Issues

2010-08-10 Thread Ezio Melotti
Hi, lately I've been working on the new summary of Python tracker issues. This is the result. On 10/08/2010 16.39, Python tracker wrote: ACTIVITY SUMMARY (2010-08-01 - 2010-08-07) This is the period that is considered for the following stats. By default it shows the activity of the last we

Re: [Python-Dev] mingw support?

2010-08-10 Thread linux
On Mon, Aug 09, 2010 at 06:55:29PM -0400, Terry Reedy wrote: > On 8/9/2010 2:47 PM, Sturla Molden wrote: > >> Terry Reedy: > > > >> MingW has become less attractive in recent years by the difficulty > >> in downloading and installing a current version and finding out how to > >> do so. Some pro

[Python-Dev] Summary of Python tracker Issues

2010-08-10 Thread Python tracker
ACTIVITY SUMMARY (2010-08-01 - 2010-08-07) Python tracker at http://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue. Do NOT respond to this message. Issues stats: open2640 (+35) closed 18679 (+194) total 21319 (+57) Open issues with patches:

Re: [Python-Dev] [Python-checkins] r83893 - python/branches/release27-maint/Misc/ACKS

2010-08-10 Thread Benjamin Peterson
2010/8/10 Stephen J. Turnbull : > Benjamin Peterson writes: >  > 2010/8/9 Nick Coghlan : >  > > On Tue, Aug 10, 2010 at 2:10 AM, alexander.belopolsky >  > > wrote: >  > >> +PS: In the standard Python distribution, this file is encoded >  > >> in UTF-8 +and the list is in rough alphabetical order b

Re: [Python-Dev] Adding a token

2010-08-10 Thread Ronald Oussoren
On 8 Aug, 2010, at 6:15, Greg Ewing wrote: > Aaargh, I think I've found out what the problem is. > > I'm using framework builds on MacOSX. I have two experimental > builds of Python 3.1 around, plus a standard one installed in > /Library. It's picking up the version of Python.framework in > /Lib

Re: [Python-Dev] [Python-checkins] r83893 - python/branches/release27-maint/Misc/ACKS

2010-08-10 Thread Stephen J. Turnbull
Benjamin Peterson writes: > 2010/8/9 Nick Coghlan : > > On Tue, Aug 10, 2010 at 2:10 AM, alexander.belopolsky > > wrote: > >> +PS: In the standard Python distribution, this file is encoded > >> in UTF-8 +and the list is in rough alphabetical order by last > >> names. > >> > >>  David Abrah