[issue2736] datetime needs an "epoch" method
Alexander Belopolsky
report at bugs.python.org
Tue Apr 5 02:29:51 CEST 2011
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
On Mon, Apr 4, 2011 at 5:42 PM, Jay Taylor <report at bugs.python.org> wrote:
..
> I couldn't agree more with ping's position on this.
Adding votes to a tracker issue without a working patch will not move
it any further. There are several committers besides me in the nosy
list including the original author of the datetime module. If it was
such a universally desired feature as Ka-Ping makes it sound, it would
be committed long before I became the maintainer of the datetime
module.
> It is against the spirit of what Python has set out to be, and the blocking needs to stop.
I don't think any committer has a power to *block* a patch. I
certainly don't. If Ka-Ping wants to add a feature over my
objections, it is well within his power to do so. (Note that I
objected to timedelta.total_seconds(), but it was added nevertheless.)
It would be best, however to bring this to python-dev or python-ideas
first.
> Any chance we could get a .epoch() function into python 2.7 as well?
No.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2736>
_______________________________________
More information about the Python-bugs-list
mailing list