Message237541
| Author | SilentGhost |
|---|---|
| Recipients | SilentGhost, belopolsky, lemburg, serhiy.storchaka |
| Date | 2015-03-08.15:50:35 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1425829835.79.0.624503292878.issue23607@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Here is the python-only fix that eliminates TypeError and produces correct number of milliseconds. The problem with C implementation lies in _PyTime_ObjectToDenominator function where there is an explicit check for a float. This check could be relaxed to include decimals as the rest of the code seem to work fine with decimal. I'm not entirely sure how that could be done though. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2015-03-08 15:50:35 | SilentGhost | set | recipients: + SilentGhost, lemburg, belopolsky, serhiy.storchaka |
| 2015-03-08 15:50:35 | SilentGhost | set | messageid: <1425829835.79.0.624503292878.issue23607@psf.upfronthosting.co.za> |
| 2015-03-08 15:50:35 | SilentGhost | link | issue23607 messages |
| 2015-03-08 15:50:35 | SilentGhost | create | |