Re: [Python-Dev] PEP 410, 3rd revision, Decimal timestamp

2012-02-20 Thread Victor Stinner
>>> We must do better than Ruby: support arbritrary precision! :-D >> >> Seriously, I do consider that a necessary requirement for the PEP (which >> the Decimal type actually meets). (...) > > (...) > Not-quite-sure-how-seriously-you-intend-supporting-yoctoseconds-ly y'rs, The point is not support

Re: [Python-Dev] PEP 410, 3rd revision, Decimal timestamp

2012-02-20 Thread Steven D'Aprano
Martin v. Löwis wrote: * Ruby (1.9.3), the `Time class `_ supports picosecond (10\ :sup:`-12`) We must do better than Ruby: support arbritrary precision! :-D Seriously, I do consider that a necessary requirement for the PEP (which the Decimal type a

Re: [Python-Dev] PEP 410, 3rd revision, Decimal timestamp

2012-02-19 Thread Martin v. Löwis
>> * Ruby (1.9.3), the `Time class `_ >> supports picosecond (10\ :sup:`-12`) > > We must do better than Ruby: support arbritrary precision! :-D Seriously, I do consider that a necessary requirement for the PEP (which the Decimal type actually meets).

Re: [Python-Dev] PEP 410, 3rd revision, Decimal timestamp

2012-02-17 Thread Victor Stinner
As asked by Martin, I tried to list *all* objections and alternatives. >  * A: (numerator, denominator) > >   * value = numerator / denominator >   * resolution = 1 / denominator >   * denominator > 0 > (...) > Tuple of integers have been rejected because they don't support > arithmetic operations