Re: [Python-Dev] [RELEASED] Python 3.3.0 release candidate 3

2012-09-29 Thread Terry Reedy
On 9/29/2012 2:38 PM, Guido van Rossum wrote: Does this mean we want to re-open the discussion about decimal constants? Last time this came up I think we decided that we wanted to wait for cdecimal (which is obviously here) and work out how to handle contexts, the syntax, etc. I think that oug

Re: [Python-Dev] "Decimal(2) != float(2)"???

2012-09-29 Thread Terry Reedy
On 9/29/2012 11:48 PM, Steven D'Aprano wrote: On 30/09/12 10:43, Jan Kaliszewski wrote: Hello, In http://docs.python.org/release/3.2.3/reference/expressions.html#in we read: "[...] This can create the illusion of non-transitivity between supported cross-type comparisons and unsupported comparis

Re: [Python-Dev] [RELEASED] Python 3.3.0 release candidate 3

2012-09-29 Thread Chris Jerdonek
On Sat, Sep 29, 2012 at 10:09 PM, R. David Murray wrote: > On Sun, 30 Sep 2012 08:01:00 +1000, Tim Delaney > wrote: >> Also the example at >> http://docs.python.org/py3k/whatsnew/3.3.html#pep-409-suppressing-exception-contextreads: >> >> ... raise AttributeError(attr) from None... >>

Re: [Python-Dev] [RELEASED] Python 3.3.0 release candidate 3

2012-09-29 Thread R. David Murray
On Sun, 30 Sep 2012 08:01:00 +1000, Tim Delaney wrote: > Also the example at > http://docs.python.org/py3k/whatsnew/3.3.html#pep-409-suppressing-exception-contextreads: > > ... raise AttributeError(attr) from None... > > Looks like there's an elipsis there that shouldn't be. This a

Re: [Python-Dev] "Decimal(2) != float(2)"???

2012-09-29 Thread Steven D'Aprano
On 30/09/12 10:43, Jan Kaliszewski wrote: Hello, In http://docs.python.org/release/3.2.3/reference/expressions.html#in we read: "[...] This can create the illusion of non-transitivity between supported cross-type comparisons and unsupported comparisons. For example, Decimal(2) == 2 and 2 == floa

Re: [Python-Dev] "Decimal(2) != float(2)"???

2012-09-29 Thread MRAB
On 2012-09-30 01:43, Jan Kaliszewski wrote: Hello, In http://docs.python.org/release/3.2.3/reference/expressions.html#in we read: "[...] This can create the illusion of non-transitivity between supported cross-type comparisons and unsupported comparisons. For example, Decimal(2) == 2 and 2 == fl

[Python-Dev] "Decimal(2) != float(2)"???

2012-09-29 Thread Jan Kaliszewski
Hello, In http://docs.python.org/release/3.2.3/reference/expressions.html#in we read: "[...] This can create the illusion of non-transitivity between supported cross-type comparisons and unsupported comparisons. For example, Decimal(2) == 2 and 2 == float(2) but Decimal(2) != float(2)." (The

Re: [Python-Dev] [RELEASED] Python 3.3.0 release candidate 3

2012-09-29 Thread Brett Cannon
On Sep 29, 2012 2:38 PM, "Guido van Rossum" wrote: > > On Sat, Sep 29, 2012 at 11:26 AM, Brett Cannon wrote: > > > > > > On Sat, Sep 29, 2012 at 9:07 AM, Paul Moore wrote: > >> > >> On 29 September 2012 10:17, Stefan Krah wrote: > >> > Tim Delaney wrote: > >> >> If those numbers are similar in

Re: [Python-Dev] [RELEASED] Python 3.3.0 release candidate 3

2012-09-29 Thread Ned Deily
In article , Tim Delaney wrote: > BTW, "What's New": http://www.python.org/download/releases/3.3.0/ still > says 80x for decimal performance. Thanks for the report. The page has now been updated to match the final 3.3.0 release announcement post. -- Ned Deily, n...@acm.org __

Re: [Python-Dev] [RELEASED] Python 3.3.0 release candidate 3

2012-09-29 Thread Tim Delaney
Also the example at http://docs.python.org/py3k/whatsnew/3.3.html#pep-409-suppressing-exception-contextreads: ... raise AttributeError(attr) from None... Looks like there's an elipsis there that shouldn't be. Tim Delaney ___ Python-Dev mail

Re: [Python-Dev] [RELEASED] Python 3.3.0 release candidate 3

2012-09-29 Thread Tim Delaney
BTW, "What's New": http://www.python.org/download/releases/3.3.0/ still says 80x for decimal performance. Tim Delaney ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.or

Re: [Python-Dev] make decimal the default non-integer instead of float?

2012-09-29 Thread Gregory P. Smith
-cc: python-dev +cc: python-ideas On Sat, Sep 29, 2012 at 11:39 AM, Chris Angelico wrote: > On Sun, Sep 30, 2012 at 4:26 AM, Brett Cannon wrote: > > Does this mean we want to re-open the discussion about decimal constants? > > Last time this came up I think we decided that we wanted to wait for

Re: [Python-Dev] str.format bug again

2012-09-29 Thread Eric V. Smith
It's on my list of things to look at. I have a project due next week, then I'll have some time. -- Eric. On Sep 29, 2012, at 2:11 PM, Ben Wolfson wrote: > On Sat, Sep 29, 2012 at 10:59 AM, Benjamin Peterson > wrote: >> 2012/9/28 Ben Wolfson : >>> There's a patch for this bug: http://bugs.pyt

Re: [Python-Dev] [RELEASED] Python 3.3.0 release candidate 3

2012-09-29 Thread Chris Angelico
On Sun, Sep 30, 2012 at 4:26 AM, Brett Cannon wrote: > Does this mean we want to re-open the discussion about decimal constants? > Last time this came up I think we decided that we wanted to wait for > cdecimal (which is obviously here) and work out how to handle contexts, the > syntax, etc. Just

Re: [Python-Dev] [RELEASED] Python 3.3.0 release candidate 3

2012-09-29 Thread Guido van Rossum
On Sat, Sep 29, 2012 at 11:26 AM, Brett Cannon wrote: > > > On Sat, Sep 29, 2012 at 9:07 AM, Paul Moore wrote: >> >> On 29 September 2012 10:17, Stefan Krah wrote: >> > Tim Delaney wrote: >> >> If those numbers are similar in other benchmarks, would it be accurate >> >> and/or >> >> reasonable

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

2012-09-29 Thread R. David Murray
On Sat, 29 Sep 2012 10:46:37 -0700, Glenn Linderman wrote: > On Sat, Sep 29, 2012 at 5:18 AM, Georg Brandl wrote: > >> In total, almost 500 API items are new or improved in Python 3.3. > >> For a more extensive list of changes in 3.3.0, see > >> > >> http://docs.python.org/3.3/whatsnew/3.3

Re: [Python-Dev] [RELEASED] Python 3.3.0 release candidate 3

2012-09-29 Thread Brett Cannon
On Sat, Sep 29, 2012 at 9:07 AM, Paul Moore wrote: > On 29 September 2012 10:17, Stefan Krah wrote: > > Tim Delaney wrote: > >> If those numbers are similar in other benchmarks, would it be accurate > and/or > >> reasonable to include a statement along the lines of: > >> > >> "comparable to flo

Re: [Python-Dev] str.format bug again

2012-09-29 Thread Ben Wolfson
On Sat, Sep 29, 2012 at 10:59 AM, Benjamin Peterson wrote: > 2012/9/28 Ben Wolfson : >> There's a patch for this bug: http://bugs.python.org/issue12014 that >> needs reviewed. Petri Lehtinen made some (very minor) comments back in >> May; otherwise it's been neglected. I've brought this up occasio

Re: [Python-Dev] str.format bug again

2012-09-29 Thread Benjamin Peterson
2012/9/28 Ben Wolfson : > There's a patch for this bug: http://bugs.python.org/issue12014 that > needs reviewed. Petri Lehtinen made some (very minor) comments back in > May; otherwise it's been neglected. I've brought this up occasionally > here in the past; it would be great if someone could just

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

2012-09-29 Thread Glenn Linderman
On Sat, Sep 29, 2012 at 5:18 AM, Georg Brandl wrote: In total, almost 500 API items are new or improved in Python 3.3. For a more extensive list of changes in 3.3.0, see http://docs.python.org/3.3/whatsnew/3.3.html Reading this to see if I missed anything while downloading the new releas

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

2012-09-29 Thread Antoine Pitrou
Hello, I've created a 3.3 category on the buildbots: http://buildbot.python.org/3.3/ http://buildbot.python.org/3.3.stable/ Someone will have to update the following HTML page: http://python.org/dev/buildbot/ Regards Antoine. On Sat, 29 Sep 2012 14:18:54 +0200 Georg Brandl wrote: > On beha

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

2012-09-29 Thread python
> Agreed - this is a really nice release, thanks to all who put it together. +1 Thank you! Malcolm ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/

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

2012-09-29 Thread Dave Angel
On 09/29/2012 08:23 AM, Amit Saha wrote: > On Sat, Sep 29, 2012 at 10:18 PM, Georg Brandl wrote: >> >> >> For a more extensive list of changes in 3.3.0, see >> >> http://docs.python.org/3.3/whatsnew/3.3.html > Redirects to http://docs.python.org/py3k/whatsnew/3.3.html: 404 Not Found. > > Wor

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

2012-09-29 Thread Guido van Rossum
Congrats Georg and team! I am incredibly proud of you all for producing such a great release. As the marketeers would say, "Python 3.3 is the best Python ever!" The feature list is amazing. --Guido On Sat, Sep 29, 2012 at 5:18 AM, Georg Brandl wrote: > On behalf of the Python development team, I

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

2012-09-29 Thread Paul Moore
On 29 September 2012 14:24, Eli Bendersky wrote: > On Sat, Sep 29, 2012 at 5:18 AM, Georg Brandl wrote: >> On behalf of the Python development team, I'm delighted to announce the >> Python 3.3.0 final release. >> > > Yay :) Agreed - this is a really nice release, thanks to all who put it togethe

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

2012-09-29 Thread Eli Bendersky
On Sat, Sep 29, 2012 at 5:18 AM, Georg Brandl wrote: > On behalf of the Python development team, I'm delighted to announce the > Python 3.3.0 final release. > Yay :) ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listin

Re: [Python-Dev] [RELEASED] Python 3.3.0 release candidate 3

2012-09-29 Thread Paul Moore
On 29 September 2012 10:17, Stefan Krah wrote: > Tim Delaney wrote: >> If those numbers are similar in other benchmarks, would it be accurate and/or >> reasonable to include a statement along the lines of: >> >> "comparable to float performance - usually no more than 3x for calculations >> within

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

2012-09-29 Thread Amit Saha
On Sat, Sep 29, 2012 at 10:37 PM, Dave Angel wrote: > On 09/29/2012 08:23 AM, Amit Saha wrote: >> On Sat, Sep 29, 2012 at 10:18 PM, Georg Brandl wrote: >>> >>> >>> For a more extensive list of changes in 3.3.0, see >>> >>> http://docs.python.org/3.3/whatsnew/3.3.html >> Redirects to http://

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

2012-09-29 Thread Amit Saha
On Sat, Sep 29, 2012 at 10:18 PM, Georg Brandl wrote: > On behalf of the Python development team, I'm delighted to announce the > Python 3.3.0 final release. > > Python 3.3 includes a range of improvements of the 3.x series, as well > as easier porting between 2.x and 3.x. Major new features and

[Python-Dev] [RELEASED] Python 3.3.0

2012-09-29 Thread Georg Brandl
On behalf of the Python development team, I'm delighted to announce the Python 3.3.0 final release. Python 3.3 includes a range of improvements of the 3.x series, as well as easier porting between 2.x and 3.x. Major new features and changes in the 3.3 release series are: * PEP 380, syntax for d

Re: [Python-Dev] [RELEASED] Python 3.3.0 release candidate 3

2012-09-29 Thread Stefan Krah
Antoine Pitrou wrote: > > Wow! I had no idea cdecimal was that close in speed to float. That's > > seriously impressive. > > I think this means the performance difference is on the same order > of magnitude as the CPython interpretation overhead. Still, it's > impressive indeed. Of course, if yo

Re: [Python-Dev] [RELEASED] Python 3.3.0 release candidate 3

2012-09-29 Thread Stefan Krah
Tim Delaney wrote: > If those numbers are similar in other benchmarks, would it be accurate and/or > reasonable to include a statement along the lines of: > > "comparable to float performance - usually no more than 3x for calculations > within the range of numbers covered by float" For numerical