Re: Why can't timedeltas be divided?

2008-04-27 Thread webograph
On 2008-04-27 19:28, Martin v. Löwis wrote: Post a patch to bugs.python.org, optionally also post a message referring to that patch to python-dev. i've created an issue at [1]. let's hope for the best! thanks for your support webograph [1] http://bugs.python.org/issue270

Re: Why can't timedeltas be divided?

2008-04-27 Thread webograph
eltas -- after all, `delta2 / 5 == delta1` works, so why should not `delta2 / delta1 == 5`? regards webograph [1] http://www.mail-archive.com/[EMAIL PROTECTED]/msg21629.html [2] http://mail.python.org/pipermail/python-dev/2002-March/020604.html [3] http://www.mailinglistarchive.com/[EMAIL PROT

Re: Why can't timedeltas be divided?

2008-04-27 Thread webograph
he suggestion+patch there? regards webograph ps: i hope the patch conforms to python c coding style (most of it is just copy/pasted and modified). Index: Modules/datetimemodule.c === --- Modules/datetimemodule.c (revision 62520) +++

Re: Why can't timedeltas be divided?

2008-04-26 Thread webograph
t thinking about what intervals (currently days, seconds and microseconds) are used internally. sorry for bringing up such an old thread, but this seems important to me -- up to now, there are thousands [1] of python programs that use hardcoded time calculations. regards webograph [1] http:/

plugin interface / list

2005-11-08 Thread webograph
y of doing such things? thanks in advance webograph -- http://mail.python.org/mailman/listinfo/python-list