Message192163
| Author | vstinner |
|---|---|
| Recipients | Devin Jeanpierre, mark.dickinson, serhiy.storchaka, skrah, vstinner |
| Date | 2013-07-01.23:56:42 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1372723003.78.0.256567073595.issue17870@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Updated patch (version 3), addressing last issues of Mark's review: - add a simple unit test in _testcapi: check that PyLong_AsIntMax_t(INTMAX_INT - 1), PyLong_AsIntMax_t(INTMAX_MAX + 1) and PyLong_AsUintMax_t(UINTMAX_MAX + 1) fail with OverflowError - rely on stdint.h on Windows, with a fallback on __int64 for Visual Studio 2008 - PyLong_AsIntMax_t() and PyLong_AsUintMax_t() compute directly the result (rather than calling _PyLong_AsByteArray) I give you one or two days for a last review, and then I'm going to commit the new functions. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2013-07-01 23:56:44 | vstinner | set | recipients: + vstinner, mark.dickinson, Devin Jeanpierre, skrah, serhiy.storchaka |
| 2013-07-01 23:56:43 | vstinner | set | messageid: <1372723003.78.0.256567073595.issue17870@psf.upfronthosting.co.za> |
| 2013-07-01 23:56:43 | vstinner | link | issue17870 messages |
| 2013-07-01 23:56:43 | vstinner | create | |