- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | serhiy.storchaka |
|---|---|
| Recipients | Oren Milman, mark.dickinson, serhiy.storchaka |
| Date | 2017-09-26.07:46:23 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1506411983.44.0.323626192271.issue31577@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
There is also similar issue in timedelta.__divmod__. PyLong_Type.tp_as_number->nb_divmod() works only with integers. The different way of solving this issue is used in microseconds_to_delta_ex() in _datetimemodule.c. Perhaps the best solution is to add a check that the result of nb_divmod() is a 2-tuple in PyNumber_Divmod(). This could fix similar errors in third-party code. What is your thoughts Mark? |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-09-26 07:46:23 | serhiy.storchaka | set | recipients: + serhiy.storchaka, mark.dickinson, Oren Milman |
| 2017-09-26 07:46:23 | serhiy.storchaka | set | messageid: <1506411983.44.0.323626192271.issue31577@psf.upfronthosting.co.za> |
| 2017-09-26 07:46:23 | serhiy.storchaka | link | issue31577 messages |
| 2017-09-26 07:46:23 | serhiy.storchaka | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
