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 vstinner
Recipients David.Edelsohn, delhallt, haubi, python-dev, serhiy.storchaka, vstinner
Date 2013-12-13.11:00:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386932432.69.0.459565736266.issue17919@psf.upfronthosting.co.za>
In-reply-to
Content
+    if (uval > USHRT_MAX) {
+        PyErr_SetString(PyExc_OverflowError,
+                        "Python int too large for C unsigned int");

The message should be "C unsigned short".

The unit tests don't check that USHRT_MAX value is accepted.
History
Date User Action Args
2013-12-13 11:00:32vstinnersetrecipients: + vstinner, haubi, python-dev, serhiy.storchaka, David.Edelsohn, delhallt
2013-12-13 11:00:32vstinnersetmessageid: <1386932432.69.0.459565736266.issue17919@psf.upfronthosting.co.za>
2013-12-13 11:00:32vstinnerlinkissue17919 messages
2013-12-13 11:00:32vstinnercreate