Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-27 Thread Stefan Krah
Andriy Kornatskyy  wrote:
> > but you can install this backport from PyPI: 
> > https://pypi.python.org/pypi/cdecimal/2.3
> 
> This is what I was looking for.

Note that for numerical work _decimal from Python3.3 is vastly faster than
cdecimal. I've added two major speedups (credit for one of them goes to
Antoine), so these are the numbers for the pi benchmark:

Python3.3 (_decimal):time:  0.15s
Python3.3 (decimal.py):  time: 17.22s
=

Python2.7 (cdecimal):time:  0.29s
Python2.7 (decimal.py):  time: 17.74s
=


For database work and such the numbers should be about the same.


Stefan Krah


___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-27 Thread Andriy Kornatskyy
> No. 2.7 does not accept new features anymore, 

It is clear now.

> but you can install this backport from PyPI: 
> https://pypi.python.org/pypi/cdecimal/2.3

This is what I was looking for.

Thanks.

Andriy



> Date: Wed, 27 Mar 2013 10:54:37 +0100 
> Subject: Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1 
> From: amaur...@gmail.com 
> To: andrew.svet...@gmail.com 
> CC: andriy.kornats...@live.com; python-dev@python.org 
> 
> 2013/3/27 Andrew Svetlov 
> mailto:andrew.svet...@gmail.com>> 
> No. _decimal is new functionality that will never be backported. 
> 
> On Wed, Mar 27, 2013 at 9:40 AM, Andriy Kornatskyy 
> mailto:andriy.kornats...@live.com>> wrote: 
> > Any plans backport decimal C implementation from 3.3? 
> 
> No. 2.7 does not accept new features anymore, but you can install 
> this backport from PyPI: https://pypi.python.org/pypi/cdecimal/2.3 
> 
> -- 
> Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-27 Thread Amaury Forgeot d'Arc
2013/3/27 Andrew Svetlov 

> No. _decimal is new functionality that will never be backported.
>
> On Wed, Mar 27, 2013 at 9:40 AM, Andriy Kornatskyy
>  wrote:
> > Any plans backport decimal C implementation from 3.3?
>

No. 2.7 does not accept new features anymore, but you can install
this backport from PyPI: https://pypi.python.org/pypi/cdecimal/2.3

-- 
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-27 Thread Andriy Kornatskyy
Andrew,

Thank you for the prompt response back.

> will never be backported.

Who knows?

Is python 3.3 _decimal interface 100% compatible with one pure python 
implementation in 2.7?

I suppose code written using decimals in python 2.7 should work in python 3 
with no changes, or there should be taken caution for something?

According to presentation slides, 30x performance boost is something definitely 
valuable for 2.7 crowd.

Thanks.

Andriy



> Date: Wed, 27 Mar 2013 10:24:47 +0200
> Subject: Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1
> From: andrew.svet...@gmail.com
> To: andriy.kornats...@live.com
> CC: python-dev@python.org
>
> No. _decimal is new functionality that will never be backported.
>
> On Wed, Mar 27, 2013 at 9:40 AM, Andriy Kornatskyy
>  wrote:
> > Any plans backport decimal C implementation from 3.3?
> >
> > Thanks.
> >
> > Andriy Kornatskyy
> >
> >
> > 
> >> Date: Tue, 26 Mar 2013 16:18:34 -0700
> >> From: ether@gmail.com
> >> To: h...@ox.cx
> >> CC: python-dev@python.org
> >> Subject: Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1
> >>
> >> On Tue, Mar 26, 2013 at 3:26 PM, Hynek Schlawack  wrote:
> >> > Speakerdeck is slides only. The video is here: 
> >> > http://pyvideo.org/video/1730/python-33-trust-me-its-better-than-27
> >>
> >> Sweet thanks!
> >> ___
> >> Python-Dev mailing list
> >> Python-Dev@python.org
> >> http://mail.python.org/mailman/listinfo/python-dev
> >> Unsubscribe: 
> >> http://mail.python.org/mailman/options/python-dev/andriy.kornatskyy%40live.com
> > ___
> > Python-Dev mailing list
> > Python-Dev@python.org
> > http://mail.python.org/mailman/listinfo/python-dev
> > Unsubscribe: 
> > http://mail.python.org/mailman/options/python-dev/andrew.svetlov%40gmail.com
>
>
>
> --
> Thanks,
> Andrew Svetlov  
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-27 Thread Andrew Svetlov
No. _decimal is new functionality that will never be backported.

On Wed, Mar 27, 2013 at 9:40 AM, Andriy Kornatskyy
 wrote:
> Any plans backport decimal C implementation from 3.3?
>
> Thanks.
>
> Andriy Kornatskyy
>
>
> 
>> Date: Tue, 26 Mar 2013 16:18:34 -0700
>> From: ether@gmail.com
>> To: h...@ox.cx
>> CC: python-dev@python.org
>> Subject: Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1
>>
>> On Tue, Mar 26, 2013 at 3:26 PM, Hynek Schlawack  wrote:
>> > Speakerdeck is slides only. The video is here: 
>> > http://pyvideo.org/video/1730/python-33-trust-me-its-better-than-27
>>
>> Sweet thanks!
>> ___
>> Python-Dev mailing list
>> Python-Dev@python.org
>> http://mail.python.org/mailman/listinfo/python-dev
>> Unsubscribe: 
>> http://mail.python.org/mailman/options/python-dev/andriy.kornatskyy%40live.com
> ___
> Python-Dev mailing list
> Python-Dev@python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: 
> http://mail.python.org/mailman/options/python-dev/andrew.svetlov%40gmail.com



-- 
Thanks,
Andrew Svetlov
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-27 Thread Andriy Kornatskyy
Any plans backport decimal C implementation from 3.3?

Thanks.

Andriy Kornatskyy



> Date: Tue, 26 Mar 2013 16:18:34 -0700
> From: ether@gmail.com
> To: h...@ox.cx
> CC: python-dev@python.org
> Subject: Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1
>
> On Tue, Mar 26, 2013 at 3:26 PM, Hynek Schlawack  wrote:
> > Speakerdeck is slides only. The video is here: 
> > http://pyvideo.org/video/1730/python-33-trust-me-its-better-than-27
>
> Sweet thanks!
> ___
> Python-Dev mailing list
> Python-Dev@python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: 
> http://mail.python.org/mailman/options/python-dev/andriy.kornatskyy%40live.com
>  
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-26 Thread Sean Felipe Wolfe
On Tue, Mar 26, 2013 at 3:26 PM, Hynek Schlawack  wrote:
> Speakerdeck is slides only. The video is here: 
> http://pyvideo.org/video/1730/python-33-trust-me-its-better-than-27

Sweet thanks!
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-26 Thread Hynek Schlawack
Am 26.03.2013 um 23:05 schrieb Sean Felipe Wolfe :

>> Anyway, you should trust Brett Canon: "Python 3.3: Trust Me, It's
>> Better Than Python 2.7".
>> 
>> https://speakerdeck.com/pyconslides/python-3-dot-3-trust-me-its-better-than-python-2-dot-7-by-dr-brett-cannon
> Was there supposed to be audio with this, or is it slides only? I got
> no audio :P

Speakerdeck is slides only. The video is here: 
http://pyvideo.org/video/1730/python-33-trust-me-its-better-than-27

___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-26 Thread Sean Felipe Wolfe
On Tue, Mar 26, 2013 at 4:34 AM, Victor Stinner
 wrote:
> Anyway, you should trust Brett Canon: "Python 3.3: Trust Me, It's
> Better Than Python 2.7".
>
> https://speakerdeck.com/pyconslides/python-3-dot-3-trust-me-its-better-than-python-2-dot-7-by-dr-brett-cannon

Was there supposed to be audio with this, or is it slides only? I got
no audio :P
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-26 Thread Georg Brandl
Am 26.03.2013 13:13, schrieb Benjamin Peterson:
> 2013/3/26 Matthias Klose :
>> Am 25.03.2013 01:30, schrieb Benjamin Peterson:
>>> 2.7.4 will be the latest maintenance release in the Python 2.7 series.
>>
>> I hope it's not (and in the IDLE thread you say so otherwise too).
> 
> "latest" is different from "last" :)

As opposed to 3.2.4, which will really be the last (the last regular one,
that is -- if/when the XML stuff gets released there will be a source-only
release).

Georg

___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-26 Thread Antoine Pitrou
On Tue, 26 Mar 2013 12:54:11 +0100
a.cava...@cavallinux.eu wrote:
> It's already hard to sell 2.7 in most companies.

Sure, it's often hard to sell free software!

Regards

Antoine.


___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-26 Thread Antoine Pitrou
Le Tue, 26 Mar 2013 12:34:34 +0100,
Victor Stinner  a écrit :

> 2013/3/26 Lennart Regebro :
> > On Tue, Mar 26, 2013 at 11:54 AM, Matthias Klose 
> > wrote:
> >> Am 25.03.2013 01:30, schrieb Benjamin Peterson:
> >>> 2.7.4 will be the latest maintenance release in the Python 2.7
> >>> series.
> >>
> >> I hope it's not (and in the IDLE thread you say so otherwise too).
> >
> > It most certainly will be the latest once it's released. But
> > hopefully not the last. :-)
> 
> I also read "the last" by mistake!
> 
> Anyway, you should trust Brett Canon: "Python 3.3: Trust Me, It's
> Better Than Python 2.7".
> 
> https://speakerdeck.com/pyconslides/python-3-dot-3-trust-me-its-better-than-python-2-dot-7-by-dr-brett-cannon

You can always trust Brett Cannon!

cheers

Antoine.


___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-26 Thread Benjamin Peterson
2013/3/26 Matthias Klose :
> Am 25.03.2013 01:30, schrieb Benjamin Peterson:
>> 2.7.4 will be the latest maintenance release in the Python 2.7 series.
>
> I hope it's not (and in the IDLE thread you say so otherwise too).

"latest" is different from "last" :)


-- 
Regards,
Benjamin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-26 Thread a . cavallo

It's already hard to sell 2.7 in most companies.

Regards,
Antonio


Anyway, you should trust Brett Canon: "Python 3.3: Trust Me, It's
Better Than Python 2.7".


https://speakerdeck.com/pyconslides/python-3-dot-3-trust-me-its-better-than-python-2-dot-7-by-dr-brett-cannon

Victor


___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-26 Thread Victor Stinner
2013/3/26 Lennart Regebro :
> On Tue, Mar 26, 2013 at 11:54 AM, Matthias Klose  wrote:
>> Am 25.03.2013 01:30, schrieb Benjamin Peterson:
>>> 2.7.4 will be the latest maintenance release in the Python 2.7 series.
>>
>> I hope it's not (and in the IDLE thread you say so otherwise too).
>
> It most certainly will be the latest once it's released. But hopefully
> not the last. :-)

I also read "the last" by mistake!

Anyway, you should trust Brett Canon: "Python 3.3: Trust Me, It's
Better Than Python 2.7".

https://speakerdeck.com/pyconslides/python-3-dot-3-trust-me-its-better-than-python-2-dot-7-by-dr-brett-cannon

Victor
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-26 Thread Lennart Regebro
On Tue, Mar 26, 2013 at 11:54 AM, Matthias Klose  wrote:
> Am 25.03.2013 01:30, schrieb Benjamin Peterson:
>> 2.7.4 will be the latest maintenance release in the Python 2.7 series.
>
> I hope it's not (and in the IDLE thread you say so otherwise too).

It most certainly will be the latest once it's released. But hopefully
not the last. :-)

//Lennart
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-26 Thread Matthias Klose
Am 25.03.2013 01:30, schrieb Benjamin Peterson:
> 2.7.4 will be the latest maintenance release in the Python 2.7 series.

I hope it's not (and in the IDLE thread you say so otherwise too).

  Matthias


___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com