Re: Improving datetime

2008-03-21 Thread John Machin
On Mar 22, 4:36 am, Christian Heimes <[EMAIL PROTECTED]> wrote: > Colin J. Williams schrieb: > > > You might consider adding the Julian date > > (http://en.wikipedia.org/wiki/Julian_date). > > > I had a crack at this a while ago but didn't seem to get quire the right > > result, using the ACM algor

Re: Improving datetime

2008-03-21 Thread Nicholas F. Fabry
On Mar 21, 2008, at 13:36, Christian Heimes wrote: > Colin J. Williams schrieb: >> You might consider adding the Julian date >> (http://en.wikipedia.org/wiki/Julian_date). >> >> I had a crack at this a while ago but didn't seem to get quire the >> right >> result, using the ACM algorithm. I se

Re: Improving datetime

2008-03-21 Thread Christian Heimes
Colin J. Williams schrieb: > You might consider adding the Julian date > (http://en.wikipedia.org/wiki/Julian_date). > > I had a crack at this a while ago but didn't seem to get quire the right > result, using the ACM algorithm. I seemed to be a day out at the BC/AD > divide. Yes, the Julian dat

Re: Improving datetime

2008-03-21 Thread Aahz
In article <[EMAIL PROTECTED]>, Nicholas F. Fabry <[EMAIL PROTECTED]> wrote: > >Please clarify how long a novel is? The problem with the modules are >not bugs, they are problems with real world use scenarios that result >in inescabably ugly code without improvements to the module - so the >e

Python 2.x future (was Re: Improving datetime)

2008-03-21 Thread Aahz
In article <[EMAIL PROTECTED]>, Tim Roberts <[EMAIL PROTECTED]> wrote: > >I thought there wasn't going to be a 2.7... Whatever gave you that idea? There's no *guarantee* that 2.7 will exist, but certainly it's being planned. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncra

Re: Improving datetime

2008-03-21 Thread Colin J. Williams
Nicholas F. Fabry wrote: > On Mar 19, 2008, at 16:30, Christian Heimes wrote: > >> Nicholas F. Fabry schrieb: >>> This is a query for information as to how to proceed. I am not a >>> professional programmer, but I use Python a great deal to help me in >>> my main job, which involves designing

Re: Improving datetime

2008-03-20 Thread castironpi
On Mar 19, 5:32 pm, Steven D'Aprano <[EMAIL PROTECTED] cybersource.com.au> wrote: > On Wed, 19 Mar 2008 17:40:39 -0400, Nicholas F. Fabry wrote: > > To summarize my proposal VERY briefly: > > > - Make aware datetime objects display in local time, but calculate/ > > compare in UTC. > > What possible

Re: Improving datetime

2008-03-20 Thread Tim Roberts
Christian Heimes <[EMAIL PROTECTED]> wrote: > >Yes, it sounds like a good idea. The low hanging fruits (aka easy tasks) >could be implemented for 2.6 and 3.0. The more complex tasks may have to >wait for 2.7 and 3.1 I thought there wasn't going to be a 2.7... -- Tim Roberts, [EMAIL PROTECTED] P

Re: Improving datetime

2008-03-19 Thread Nicholas F. Fabry
On Mar 19, 2008, at 18:32, Steven D'Aprano wrote: On Wed, 19 Mar 2008 17:40:39 -0400, Nicholas F. Fabry wrote: To summarize my proposal VERY briefly: - Make aware datetime objects display in local time, but calculate/ compare in UTC. Your proposal is ambiguous. Wha

Re: Improving datetime

2008-03-19 Thread Steven D'Aprano
On Wed, 19 Mar 2008 17:40:39 -0400, Nicholas F. Fabry wrote: > To summarize my proposal VERY briefly: > > > - Make aware datetime objects display in local time, but calculate/ > compare in UTC. Your proposal is ambiguous. What does that mean? Can you give an example? > - Raise exceptions wh

Re: Improving datetime

2008-03-19 Thread Christian Heimes
Nicholas F. Fabry schrieb: > Thank you for the prompt response and suggestion! I am writing up a > proposal presently. There are, however, two broad category of changes > - the 'easy' changes, which could be accomplished with little > additional effort, and the 'hard' changes, which would r

Re: Improving datetime

2008-03-19 Thread Nicholas F. Fabry
On Mar 19, 2008, at 16:30, Christian Heimes wrote: > Nicholas F. Fabry schrieb: >> This is a query for information as to how to proceed. I am not a >> professional programmer, but I use Python a great deal to help me >> in my main job, which involves designing schedules for a global >> ai

Re: Improving datetime

2008-03-19 Thread Christian Heimes
Nicholas F. Fabry schrieb: > This is a query for information as to how to proceed. I am not a > professional programmer, but I use Python a great deal to help me in > my main job, which involves designing schedules for a global airline. > As such, I use datetime (and dateutil) extensively,

Re: Improving datetime

2008-03-19 Thread Preston Landers
On Mar 19, 9:12 am, "Nicholas F. Fabry" <[EMAIL PROTECTED]> wrote: > So - where should I propose these changes?  Here?  python-dev?  Should   > I write up a full PEP or should I just give a more informal outline   > with code samples?   My guess is that the python-dev folks would send you here or

Re: Improving datetime

2008-03-19 Thread Mike Driscoll
On Mar 19, 9:12 am, "Nicholas F. Fabry" <[EMAIL PROTECTED]> wrote: > This is a query for information as to how to proceed. I am not a > professional programmer, but I use Python a great deal to help me in > my main job, which involves designing schedules for a global airline. > As such, I use date

Improving datetime

2008-03-19 Thread Nicholas F. Fabry
This is a query for information as to how to proceed. I am not a professional programmer, but I use Python a great deal to help me in my main job, which involves designing schedules for a global airline. As such, I use datetime (and dateutil) extensively, and after much use, I have come t