Re: [Python-Dev] Link to issue tracker

2011-02-23 Thread Martin v. Löwis
> What redirect.txt did you edit specifically? > > > It was beta.python.org/build/redirects.txt > , but I went ahead and > reverted the change since your solution works. Ah. That file isn't used, AFAICT, so I now deleted it. If there are any other

Re: [Python-Dev] Strange error importing a Pickle from 2.7 to 3.2

2011-02-23 Thread Scott Dial
On 2/23/2011 9:19 PM, Alexander Belopolsky wrote: > On Wed, Feb 23, 2011 at 8:48 PM, Dj Gilcrease wrote: >> Google Code search limited to python >> >> latin1: 3,489 >> http://www.google.com/codesearch?hl=en&lr=&q=latin1+lang%3Apython&sbtn=Search >> latin-1: 5,604 >> http://www.google.com/codesea

Re: [Python-Dev] [RELEASED] Python 3.2

2011-02-23 Thread Jesse Noller
On Wed, Feb 23, 2011 at 5:45 PM, Barry Warsaw wrote: > On Feb 21, 2011, at 12:39 AM, Victor Stinner wrote: > >>Le dimanche 20 février 2011 à 23:22 +0100, Georg Brandl a écrit : >>> On behalf of the Python development team, I'm delighted to announce >>> Python 3.2 final release. >>> >>> Python 3.2

Re: [Python-Dev] Strange error importing a Pickle from 2.7 to 3.2

2011-02-23 Thread Alexander Belopolsky
On Wed, Feb 23, 2011 at 8:48 PM, Dj Gilcrease wrote: > Google Code search limited to python > > latin1: 3,489 > http://www.google.com/codesearch?hl=en&lr=&q=latin1+lang%3Apython&sbtn=Search > latin-1: 5,604 > http://www.google.com/codesearch?hl=en&lr=&q=latin-1+lang%3Apython&sbtn=Search > > utf8

Re: [Python-Dev] Strange error importing a Pickle from 2.7 to 3.2

2011-02-23 Thread Dj Gilcrease
Google Code search limited to python latin1: 3,489 http://www.google.com/codesearch?hl=en&lr=&q=latin1+lang%3Apython&sbtn=Search latin-1: 5,604 http://www.google.com/codesearch?hl=en&lr=&q=latin-1+lang%3Apython&sbtn=Search utf8: 25,341 http://www.google.com/codesearch?hl=en&lr=&q=utf8+lang%3Ap

Re: [Python-Dev] Strange error importing a Pickle from 2.7 to 3.2

2011-02-23 Thread Stephen J. Turnbull
M.-A. Lemburg writes: > "Latin-1" is short for "Latin Alphabet No. 1" [...]. > I assume that since the HTML standard used the more popular > name "Latin-1" for its definition of the default character set > and also made use of the term throughout the spec, it > became the de-facto standard n

Re: [Python-Dev] Strange error importing a Pickle from 2.7 to 3.2

2011-02-23 Thread Alexander Belopolsky
On Wed, Feb 23, 2011 at 6:32 PM, M.-A. Lemburg wrote: > Alexander Belopolsky wrote: .. >> In what sense is "Latin-1" the official name?  The IANA charset >> registry has the following listing >> >> >> Name: ISO_8859-1:1987                                    [RFC1345,KXS2] >> MIBenum: 4 >> Source:

Re: [Python-Dev] Link to issue tracker

2011-02-23 Thread Brett Cannon
On Wed, Feb 23, 2011 at 15:40, "Martin v. Löwis" wrote: > > As for redirects: it's certainly possible to redirect ^/dev$ to > > /devguide, leaving /dev..* alone. I can set this up if you want me > to. > > > > > > Please. Or double-check what I put into pydotorg's redirect.txt will > > wor

Re: [Python-Dev] Link to issue tracker

2011-02-23 Thread Martin v. Löwis
> As for redirects: it's certainly possible to redirect ^/dev$ to > /devguide, leaving /dev..* alone. I can set this up if you want me to. > > > Please. Or double-check what I put into pydotorg's redirect.txt will > work properly. What redirect.txt did you edit specifically? I have now

Re: [Python-Dev] Strange error importing a Pickle from 2.7 to 3.2

2011-02-23 Thread M.-A. Lemburg
Alexander Belopolsky wrote: > On Wed, Feb 23, 2011 at 4:23 PM, M.-A. Lemburg wrote: > .. >> "Latin-1" is the official name and the one used internally by Python, > > In what sense is "Latin-1" the official name? The IANA charset > registry has the following listing > > > Name: ISO_8859-1:1987

Re: [Python-Dev] [RELEASED] Python 3.2

2011-02-23 Thread Barry Warsaw
On Feb 21, 2011, at 12:39 AM, Victor Stinner wrote: >Le dimanche 20 février 2011 à 23:22 +0100, Georg Brandl a écrit : >> On behalf of the Python development team, I'm delighted to announce >> Python 3.2 final release. >> >> Python 3.2 is a continuation of the efforts to improve and stabilize the

Re: [Python-Dev] Strange error importing a Pickle from 2.7 to 3.2

2011-02-23 Thread Ethan Furman
M.-A. Lemburg wrote: Still, the stdlib and test suite should be examples of using the correct names. I won't argue with the stdlib portion of your argument, but I would think that the best example of test code would be a complete and thorough check of all options. ~Ethan~ __

Re: [Python-Dev] Strange error importing a Pickle from 2.7 to 3.2

2011-02-23 Thread Alexander Belopolsky
On Wed, Feb 23, 2011 at 5:21 PM, M.-A. Lemburg wrote: .. > If you open a ticket for this, I'll add the list of hits to > that ticket. > http://bugs.python.org/issue11303 ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/li

Re: [Python-Dev] Strange error importing a Pickle from 2.7 to 3.2

2011-02-23 Thread M.-A. Lemburg
Alexander Belopolsky wrote: > On Wed, Feb 23, 2011 at 4:54 PM, M.-A. Lemburg wrote: > .. >> Yet 108 for the correct name, so I can't follow your statement >> that the wrong variant is used more often. > > Hmm, your grepping skills are probably better than mine. I get > > > $ grep -iw latin-1 Li

Re: [Python-Dev] Strange error importing a Pickle from 2.7 to 3.2

2011-02-23 Thread Alexander Belopolsky
On Wed, Feb 23, 2011 at 4:23 PM, M.-A. Lemburg wrote: .. > "Latin-1" is the official name and the one used internally by Python, In what sense is "Latin-1" the official name? The IANA charset registry has the following listing Name: ISO_8859-1:1987[RFC1345,K

Re: [Python-Dev] Strange error importing a Pickle from 2.7 to 3.2

2011-02-23 Thread Alexander Belopolsky
On Wed, Feb 23, 2011 at 4:54 PM, M.-A. Lemburg wrote: .. > Yet 108 for the correct name, so I can't follow your statement > that the wrong variant is used more often. Hmm, your grepping skills are probably better than mine. I get $ grep -iw latin-1 Lib/*.py | wc -l 24 and $ grep -iw lat

Re: [Python-Dev] Strange error importing a Pickle from 2.7 to 3.2

2011-02-23 Thread M.-A. Lemburg
Alexander Belopolsky wrote: > On Wed, Feb 23, 2011 at 4:23 PM, M.-A. Lemburg wrote: > .. >> "Latin-1" is the official name and the one used internally by Python, >> so it would be good to have the test suite and Python code in general >> to use that variant of the name (just as "utf-8" is preferre

Re: [Python-Dev] Link to issue tracker

2011-02-23 Thread James Y Knight
On Feb 23, 2011, at 4:00 PM, Brett Cannon wrote: > On Wed, Feb 23, 2011 at 12:38, James Y Knight wrote: > > On Feb 23, 2011, at 3:05 PM, Brett Cannon wrote: > >> >> >> On Wed, Feb 23, 2011 at 11:52, "Martin v. Löwis" wrote: >> Am 23.02.2011 19:30, schrieb Brett Cannon: >> > I won't add the li

Re: [Python-Dev] Strange error importing a Pickle from 2.7 to 3.2

2011-02-23 Thread Alexander Belopolsky
On Wed, Feb 23, 2011 at 4:23 PM, M.-A. Lemburg wrote: .. > "Latin-1" is the official name and the one used internally by Python, > so it would be good to have the test suite and Python code in general > to use that variant of the name (just as "utf-8" is preferred over > "utf8"). > > Instead of ad

Re: [Python-Dev] Strange error importing a Pickle from 2.7 to 3.2

2011-02-23 Thread M.-A. Lemburg
Alexander Belopolsky wrote: > On Wed, Feb 23, 2011 at 4:07 PM, Guido van Rossum wrote: >> I'm guessing that one of these encoding names is recognized by the C >> code while the other one takes the slow path via the aliasing code. > > This is absolutely right. In fact I am going to propose adding

Re: [Python-Dev] Link to issue tracker

2011-02-23 Thread Brett Cannon
On Wed, Feb 23, 2011 at 12:51, "Martin v. Löwis" wrote: > > But python.org/dev/ is a dead page. I was > > trying to avoid adding a redirect for python.org/dev/ > > as I was afraid that it would lead to the > > website doing something silly like re

Re: [Python-Dev] Strange error importing a Pickle from 2.7 to 3.2

2011-02-23 Thread Alexander Belopolsky
On Wed, Feb 23, 2011 at 4:07 PM, Guido van Rossum wrote: > I'm guessing that one of these encoding names is recognized by the C > code while the other one takes the slow path via the aliasing code. This is absolutely right. In fact I am going to propose adding strcmp(lower, "latin1") to the foll

Re: [Python-Dev] Strange error importing a Pickle from 2.7 to 3.2

2011-02-23 Thread Guido van Rossum
I'm guessing that one of these encoding names is recognized by the C code while the other one takes the slow path via the aliasing code. On Wed, Feb 23, 2011 at 11:16 AM, Alexander Belopolsky wrote: > On Tue, Feb 22, 2011 at 11:34 PM, Jesus Cea wrote: > .. >> Issue filed. It already has a patch.

Re: [Python-Dev] Link to issue tracker

2011-02-23 Thread Brett Cannon
On Wed, Feb 23, 2011 at 12:38, James Y Knight wrote: > > On Feb 23, 2011, at 3:05 PM, Brett Cannon wrote: > > > > On Wed, Feb 23, 2011 at 11:52, "Martin v. Löwis" wrote: > >> Am 23.02.2011 19:30, schrieb Brett Cannon: >> > I won't add the link back >> >> Why not? It's a useful link apparently. Th

Re: [Python-Dev] Link to issue tracker

2011-02-23 Thread Martin v. Löwis
> But python.org/dev/ is a dead page. I was > trying to avoid adding a redirect for python.org/dev/ > as I was afraid that it would lead to the > website doing something silly like redirecting everything below that > URL, but obviously this can cont

Re: [Python-Dev] Link to issue tracker

2011-02-23 Thread James Y Knight
On Feb 23, 2011, at 3:05 PM, Brett Cannon wrote: > > > On Wed, Feb 23, 2011 at 11:52, "Martin v. Löwis" wrote: > Am 23.02.2011 19:30, schrieb Brett Cannon: > > I won't add the link back > > Why not? It's a useful link apparently. The "Developer's Guide" > link does not hint that it will be th

Re: [Python-Dev] 3.2.0 == 20th anniversary release

2011-02-23 Thread Georg Brandl
On 23.02.2011 20:43, "Martin v. Löwis" wrote: >> Or you realized later how nice it would be, grabbed the time machine, >> and fixed 10 release blockers on the 19th. :) > > No no no. He actually grabbed the time machine, drove 20 years back, > and gave it to Guido so he could release Python 0.9 in

Re: [Python-Dev] Link to issue tracker

2011-02-23 Thread Brett Cannon
I just added a Quick Links section to the devguide at the very top which is short and to the point. I also committed to pydotorg for python.org/dev/ to redirect to docs.python.org/devguide/, so this whole discussion is dealt with IMO. On Wed, Feb 23, 2011 at 12:06, Brett Cannon wrote: > > > On W

Re: [Python-Dev] Link to issue tracker

2011-02-23 Thread Brett Cannon
On Wed, Feb 23, 2011 at 11:52, "Martin v. Löwis" wrote: > Am 23.02.2011 19:30, schrieb Brett Cannon: > > I won't add the link back > > Why not? It's a useful link apparently. The "Developer's Guide" > link does not hint that it will be the only way to find the > bug tracker. > But python.org/dev

Re: [Python-Dev] Link to issue tracker

2011-02-23 Thread Brett Cannon
On Wed, Feb 23, 2011 at 11:53, Antoine Pitrou wrote: > On Wed, 23 Feb 2011 11:21:58 -0800 > Brett Cannon wrote: > > On Wed, Feb 23, 2011 at 10:52, Antoine Pitrou > wrote: > > > > > On Wed, 23 Feb 2011 10:30:54 -0800 > > > Brett Cannon wrote: > > > > I won't add the link back, but I will try to

Re: [Python-Dev] r88516 - in python/branches/py3k/Python: dynload_aix.c dynload_dl.c dynload_hpux.c dynload_next.c dynload_os2.c dynload_shlib.c dynload_win.c importdl.c

2011-02-23 Thread Georg Brandl
On 23.02.2011 12:31, Victor Stinner wrote: > Le mercredi 23 février 2011 à 08:35 +0100, Georg Brandl a écrit : >> This commit introduced tabs, at least in dynload_dl.c. > > WHAT? No, I didn't introduced new tabs: dynload_dl.c always used tabs. Oh, sorry then: I thought the whole codebase had been

Re: [Python-Dev] 3.2.0 == 20th anniversary release

2011-02-23 Thread Barry Warsaw
On Feb 23, 2011, at 08:43 PM, Martin v. Löwis wrote: >> Or you realized later how nice it would be, grabbed the time machine, >> and fixed 10 release blockers on the 19th. :) > >No no no. He actually grabbed the time machine, drove 20 years back, >and gave it to Guido so he could release Python 0.

Re: [Python-Dev] Link to issue tracker

2011-02-23 Thread Antoine Pitrou
On Wed, 23 Feb 2011 11:21:58 -0800 Brett Cannon wrote: > On Wed, Feb 23, 2011 at 10:52, Antoine Pitrou wrote: > > > On Wed, 23 Feb 2011 10:30:54 -0800 > > Brett Cannon wrote: > > > I won't add the link back, but I will try to change the global link on > > the > > > website to point to the devgu

Re: [Python-Dev] Link to issue tracker

2011-02-23 Thread Martin v. Löwis
Am 23.02.2011 19:30, schrieb Brett Cannon: > I won't add the link back Why not? It's a useful link apparently. The "Developer's Guide" link does not hint that it will be the only way to find the bug tracker. It's like adding the download page at the end of the tutorial - "you can get Python only

Re: [Python-Dev] 3.2.0 == 20th anniversary release

2011-02-23 Thread Martin v. Löwis
> Or you realized later how nice it would be, grabbed the time machine, > and fixed 10 release blockers on the 19th. :) No no no. He actually grabbed the time machine, drove 20 years back, and gave it to Guido so he could release Python 0.9 in time. Guido then kept the machine ever since. Regards

Re: [Python-Dev] [Python-checkins] r88503 - in python/branches/py3k: Lib/lib2to3/__main__.py Tools/scripts/2to3

2011-02-23 Thread Benjamin Peterson
2011/2/23 Brett Cannon : > Does the benchmarking use the 2to3 script? I'm asking because package > execution is not supported that far back. Correct. But I suppose, it wouldn't really be harmful to add __main__. Just a no-op. -- Regards, Benjamin ___

Re: [Python-Dev] [Python-checkins] r88503 - in python/branches/py3k: Lib/lib2to3/__main__.py Tools/scripts/2to3

2011-02-23 Thread Brett Cannon
Does the benchmarking use the 2to3 script? I'm asking because package execution is not supported that far back. On Wed, Feb 23, 2011 at 11:38, Benjamin Peterson wrote: > 2011/2/23 Brett Cannon : > > I assume you are having me do this because you still plan to cut separate > > releases. Is there a

Re: [Python-Dev] [Python-checkins] r88503 - in python/branches/py3k: Lib/lib2to3/__main__.py Tools/scripts/2to3

2011-02-23 Thread Benjamin Peterson
2011/2/23 Brett Cannon : > I assume you are having me do this because you still plan to cut separate > releases. Is there a minimum Python version that needs to be supported? 2.5 but that's only for benchmarking purposes IIRC. -- Regards, Benjamin __

Re: [Python-Dev] 3.2.0 == 20th anniversary release

2011-02-23 Thread Benjamin Peterson
2011/2/23 Georg Brandl : > On 23.02.2011 19:51, Guido van Rossum wrote: >> On Wed, Feb 23, 2011 at 10:42 AM, Terry Reedy wrote: >>> As pointed out by Ramiro Morales on the Python-Argentina list >>> (quoting Guido's blog post >>> http://python-history.blogspot.com/2009/01/brief-timeline-of-python.h

Re: [Python-Dev] Link to issue tracker

2011-02-23 Thread Brett Cannon
On Wed, Feb 23, 2011 at 10:52, Antoine Pitrou wrote: > On Wed, 23 Feb 2011 10:30:54 -0800 > Brett Cannon wrote: > > I won't add the link back, but I will try to change the global link on > the > > website to point to the devguide. python.org/dev/ at this point exists > > purely to not break pre-

Re: [Python-Dev] Strange error importing a Pickle from 2.7 to 3.2

2011-02-23 Thread Alexander Belopolsky
On Tue, Feb 22, 2011 at 11:34 PM, Jesus Cea wrote: .. > Issue filed. It already has a patch. That was fast!. Now I can sit back > waiting for 3.2.1 before touching my project again :). Mixed feelings > about the waiting. I hope it is short. It looks like you don't need delay your project: if you

Re: [Python-Dev] 3.2.0 == 20th anniversary release

2011-02-23 Thread Georg Brandl
On 23.02.2011 19:51, Guido van Rossum wrote: > On Wed, Feb 23, 2011 at 10:42 AM, Terry Reedy wrote: >> As pointed out by Ramiro Morales on the Python-Argentina list >> (quoting Guido's blog post >> http://python-history.blogspot.com/2009/01/brief-timeline-of-python.html >> ) >> Python 0.9.0 was re

Re: [Python-Dev] [Python-checkins] r88503 - in python/branches/py3k: Lib/lib2to3/__main__.py Tools/scripts/2to3

2011-02-23 Thread Brett Cannon
I assume you are having me do this because you still plan to cut separate releases. Is there a minimum Python version that needs to be supported? On Tue, Feb 22, 2011 at 18:23, Benjamin Peterson wrote: > 2011/2/22 brett.cannon : > > Author: brett.cannon > > Date: Tue Feb 22 20:12:43 2011 > > New

Re: [Python-Dev] Link to issue tracker

2011-02-23 Thread Antoine Pitrou
On Wed, 23 Feb 2011 10:30:54 -0800 Brett Cannon wrote: > I won't add the link back, but I will try to change the global link on the > website to point to the devguide. python.org/dev/ at this point exists > purely to not break pre-existing links. There are items there that are out of scope for th

Re: [Python-Dev] 3.2.0 == 20th anniversary release

2011-02-23 Thread Guido van Rossum
On Wed, Feb 23, 2011 at 10:42 AM, Terry Reedy wrote: > As pointed out by Ramiro Morales on the Python-Argentina list > (quoting Guido's blog post > http://python-history.blogspot.com/2009/01/brief-timeline-of-python.html > ) > Python 0.9.0 was released on 20 Feb 1991 > > Python 3.2.0 was released

Re: [Python-Dev] Link to issue tracker

2011-02-23 Thread Brett Cannon
I won't add the link back, but I will try to change the global link on the website to point to the devguide. python.org/dev/ at this point exists purely to not break pre-existing links. On Wed, Feb 23, 2011 at 07:58, Antoine Pitrou wrote: > > Hello, > > I think it was a slight mistake to remove

[Python-Dev] 3.2.0 == 20th anniversary release

2011-02-23 Thread Terry Reedy
As pointed out by Ramiro Morales on the Python-Argentina list (quoting Guido's blog post http://python-history.blogspot.com/2009/01/brief-timeline-of-python.html ) Python 0.9.0 was released on 20 Feb 1991 Python 3.2.0 was released on 20 Feb 2011 Python's come a long way. I look forward to the ne

Re: [Python-Dev] Fwd: deep question re dict as formatting input

2011-02-23 Thread Eric Smith
> On Feb 23, 2011, at 5:42 AM, Nick Coghlan wrote: > >> Ah, how (much more) confused would we be if we didn't have the PEPs >> and mailing list archives to remind ourselves of what we were thinking >> years ago... >> > True. And how much more useful it would be if it were incorporated into > the do

Re: [Python-Dev] Fwd: deep question re dict as formatting input

2011-02-23 Thread Ethan Furman
Eric Smith wrote: On 2/22/2011 6:28 PM, Steve Holden wrote: On Feb 22, 2011, at 3:08 PM, Eric Smith wrote: Quoting PEP 3101: An example of the 'getitem' syntax: "My name is {0[name]}".format(dict(name='Fred')) It should be noted that the use of 'getitem' within a format string is muc

Re: [Python-Dev] Fwd: deep question re dict as formatting input

2011-02-23 Thread Steve Holden
On Feb 23, 2011, at 5:42 AM, Nick Coghlan wrote: > Ah, how (much more) confused would we be if we didn't have the PEPs > and mailing list archives to remind ourselves of what we were thinking > years ago... > True. And how much more useful it would be if it were incorporated into the documentati

Re: [Python-Dev] Link to issue tracker

2011-02-23 Thread Giampaolo Rodolà
+1, I often use that link as well. 2011/2/23 Antoine Pitrou : > > Hello, > > I think it was a slight mistake to remove the link to the issue tracker > from the sidebar in the "core development" section. Dave Beazley just > complained about it > (http://twitter.com/dabeaz/status/40397577916661760)

Re: [Python-Dev] Fwd: deep question re dict as formatting input

2011-02-23 Thread Eric Smith
On 02/23/2011 09:42 AM, R. David Murray wrote: On Tue, 22 Feb 2011 19:32:56 -0500, Eric Smith wrote: You are correct, I didn't exactly implement the PEP on this point, probably as a shortcut. I think there's an issue somewhere that discusses this, but I can't find it. The CPython implementation

[Python-Dev] Link to issue tracker

2011-02-23 Thread Antoine Pitrou
Hello, I think it was a slight mistake to remove the link to the issue tracker from the sidebar in the "core development" section. Dave Beazley just complained about it (http://twitter.com/dabeaz/status/40397577916661760) and I think it will probably confuse other people too. Could we add it back

Re: [Python-Dev] Fwd: deep question re dict as formatting input

2011-02-23 Thread R. David Murray
On Tue, 22 Feb 2011 19:32:56 -0500, Eric Smith wrote: > You are correct, I didn't exactly implement the PEP on this point, > probably as a shortcut. I think there's an issue somewhere that > discusses this, but I can't find it. The CPython implementation is > really using "If every character is

Re: [Python-Dev] Fwd: deep question re dict as formatting input

2011-02-23 Thread Nick Coghlan
On Wed, Feb 23, 2011 at 9:32 AM, Senthil Kumaran wrote: > """ > Because keys are not quote-delimited, it is not possible to >    specify arbitrary dictionary keys (e.g., the strings "10" or >    ":-]") from within a format string. > """ I was curious as to whether or not nested substitution could

Re: [Python-Dev] svn outage on Friday

2011-02-23 Thread Nick Coghlan
On Wed, Feb 23, 2011 at 4:22 PM, "Martin v. Löwis" wrote: > The ViewVC configuration has significantly changed, so I originally > tried to adjust the old configuration. I went now the other path of > configuring starting with the new configuration template. I may have > broken things in the proces

Re: [Python-Dev] Strange error importing a Pickle from 2.7 to 3.2

2011-02-23 Thread Nick Coghlan
On Wed, Feb 23, 2011 at 3:51 PM, Stephen J. Turnbull wrote: > Jesus Cea writes: > >  > Every time I read a message from [long, incomplete list] and >  > so many others python-devs (not an exhaustive list, if you are not >  > there, you probably should, sorry :), I feel I am faking my >  > knowledg

Re: [Python-Dev] %-formatting depracation

2011-02-23 Thread Xavier Morel
On 2011-02-23, at 12:30 , Hrvoje Niksic wrote: > On 02/22/2011 11:03 PM, Antoine Pitrou wrote: >> I think there are many people still finding %-style more practical for >> simple uses, > > It's also a clash of cultures. People coming from a C/Unix background > typically find %-style format obviou

Re: [Python-Dev] Fwd: deep question re dict as formatting input

2011-02-23 Thread Eric Smith
On 02/22/2011 07:32 PM, Eric Smith wrote: On 2/22/2011 6:28 PM, Steve Holden wrote: On Feb 22, 2011, at 3:08 PM, Eric Smith wrote: Quoting PEP 3101: An example of the 'getitem' syntax: "My name is {0[name]}".format(dict(name='Fred')) It should be noted that the use of 'getitem' within a fo

Re: [Python-Dev] %-formatting depracation

2011-02-23 Thread Hrvoje Niksic
On 02/22/2011 11:03 PM, Antoine Pitrou wrote: I think there are many people still finding %-style more practical for simple uses, It's also a clash of cultures. People coming from a C/Unix background typically find %-style format obvious and self-explanatory, while people coming from Java/Dot

Re: [Python-Dev] r88516 - in python/branches/py3k/Python: dynload_aix.c dynload_dl.c dynload_hpux.c dynload_next.c dynload_os2.c dynload_shlib.c dynload_win.c importdl.c

2011-02-23 Thread Victor Stinner
Le mercredi 23 février 2011 à 08:35 +0100, Georg Brandl a écrit : > This commit introduced tabs, at least in dynload_dl.c. WHAT? No, I didn't introduced new tabs: dynload_dl.c always used tabs. Anyway, I converted tabs to spaces in r88527. Victor ___