Message102006
| Author |
tebeka |
| Recipients |
brett.cannon, l0nwlf, skip.montanaro, tebeka, vstinner, webograph |
| Date |
2010年03月31日.13:46:33 |
| SpamBayes Score |
6.7298838e-09 |
| Marked as misclassified |
No |
| Message-id |
<1270043195.9.0.329095604027.issue1083@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It's marked on 2.7 due to the following (this is svn 79528)
>>> from datetime import timedelta
>>> d = timedelta(1)
>>> d / 2
datetime.timedelta(0, 43200)
>>> d // 2
datetime.timedelta(0, 43200)
>>> from __future__ import division
>>> d / 2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for /: 'datetime.timedelta' and 'int'
>>> |
|