Re: [Python-Dev] Decimal news: speedup and stabilization

2007-12-02 Thread Nick Coghlan
Facundo Batista wrote: > 2007/11/24, Nick Coghlan <[EMAIL PROTECTED]>: > >> Did you change the Decimal repr to use the same format for the mantissa? > > I don't understand the question. The output of repr() does not show > this internals... Yeah, um... can we just forget I asked that question? (

Re: [Python-Dev] Decimal news: speedup and stabilization

2007-11-30 Thread Facundo Batista
2007/11/24, Nick Coghlan <[EMAIL PROTECTED]>: > Did you change the Decimal repr to use the same format for the mantissa? I don't understand the question. The output of repr() does not show this internals... > Could you also check the performance gain against the telco benchmark > which is in th

Re: [Python-Dev] Decimal news: speedup and stabilization

2007-11-23 Thread Nick Coghlan
Facundo Batista wrote: > Mark Dickinson found out that a lot of time was lost internally in > decimal.py when dealing with the Decimal mantissas. > > He changed the way that mantissa was stored, from a tuple of ints, to > a plain string (each character a digit). This achieved a speedup of > around

Re: [Python-Dev] Decimal news

2007-09-29 Thread Raymond Hettinger
If the differences are few, I prefer that you insert some conditionals that attach different functions based on the version number. That way we can keep a single version of the source that works on all of the pythons. Raymond On Sep 29, 2007, at 8:26 AM, "Thomas Wouters" <[EMAIL PROTECTED]

Re: [Python-Dev] Decimal news

2007-09-29 Thread Thomas Wouters
On 9/28/07, Thomas Heller <[EMAIL PROTECTED]> wrote: > > Thomas Wouters schrieb: > >> > If you re-eally need to check something into the trunk that re-eally > >> > must not be merged into py3k, but you're afraid it's not going to be > >> > obvious to the merger, please record the change as 'merged'

Re: [Python-Dev] Decimal news

2007-09-28 Thread Thomas Heller
Thomas Wouters schrieb: > On 9/27/07, Eric Smith <[EMAIL PROTECTED]> wrote: >> >> Thomas Wouters wrote: >> >> > Unfortunately, that's not how it works :-) If you check something into >> > the trunk, it will be merged into Py3k sooner or later. I may ask the >> > original submitter for assistance if

Re: [Python-Dev] Decimal news

2007-09-27 Thread Thomas Wouters
On 9/27/07, Eric Smith <[EMAIL PROTECTED]> wrote: > > Thomas Wouters wrote: > > > Unfortunately, that's not how it works :-) If you check something into > > the trunk, it will be merged into Py3k sooner or later. I may ask the > > original submitter for assistance if it's incredibly hard to figure

Re: [Python-Dev] Decimal news

2007-09-27 Thread Eric Smith
Thomas Wouters wrote: > Unfortunately, that's not how it works :-) If you check something into > the trunk, it will be merged into Py3k sooner or later. I may ask the > original submitter for assistance if it's incredibly hard to figure out > the changes, but so far, I only had to do that with

Re: [Python-Dev] Decimal news

2007-09-19 Thread Facundo Batista
2007/9/19, Thomas Wouters <[EMAIL PROTECTED]>: > > So, how is this handled? Until which moment can I expect that the > > changes in the trunk are merged to Py3k? > > Until you hear otherwise :) You can commit py3k-specific changes to the py3k > branch, the merges shouldn't lose them. (Of course, m

Re: [Python-Dev] Decimal news

2007-09-19 Thread Thomas Wouters
On 9/19/07, Facundo Batista <[EMAIL PROTECTED]> wrote: > > 2007/9/18, Thomas Wouters <[EMAIL PROTECTED]>: > > > Unfortunately, that's not how it works :-) If you check something into > the > > trunk, it will be merged into Py3k sooner or later. I may ask the > original > > submitter for assistance

Re: [Python-Dev] Decimal news

2007-09-19 Thread Facundo Batista
2007/9/18, Thomas Wouters <[EMAIL PROTECTED]>: > Unfortunately, that's not how it works :-) If you check something into the > trunk, it will be merged into Py3k sooner or later. I may ask the original > submitter for assistance if it's incredibly hard to figure out the changes, > but so far, I onl

Re: [Python-Dev] Decimal news

2007-09-18 Thread Thomas Wouters
On 9/13/07, Facundo Batista <[EMAIL PROTECTED]> wrote: > > Hi people! > > After some months, Decimal is now in the trunk again. > > It's fully updated to the latest Cowlishaw specification, and > complying with the latest test cases (from a few days ago, which even > take in consideration some feed