[New-bugs-announce] [issue3249] bug adding datetime.timedelta to datetime.date
Chris Withers
report at bugs.python.org
Tue Jul 1 11:19:14 CEST 2008
New submission from Chris Withers <chris at simplistix.co.uk>:
The following demonstrates the problem:
>>> from datetime import datetime,timedelta
>>> datetime.now().date()+timedelta(hours=1)
datetime.date(2008, 7, 1)
I'd expect the above to either result in a TypeError or (preferably)
datetime.datetime(2008, 7, 1, 1, 0)
----------
components: Library (Lib)
messages: 69041
nosy: cjw296
severity: normal
status: open
title: bug adding datetime.timedelta to datetime.date
versions: Python 2.4, Python 2.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3249>
_______________________________________
More information about the New-bugs-announce
mailing list