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 serhiy.storchaka, vstinner
Date 2015-11-05.16:53:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1446742415.92.0.519205819647.issue25558@psf.upfronthosting.co.za>
In-reply-to
Content
+    (void)Py_BUILD_ASSERT_EXPR(INT_MAX <= _PyTime_MAX / SEC_TO_NS);

Hum, maybe the existing macro should be renamed to Py_BUILD_ASSERT_EXPR and a new Py_BUILD_ASSERT_EXPR macro should add the (void) to ignore the result? It would avoid to have to repeat (void) everywhere.

What do you think?
History
Date User Action Args
2015-11-05 16:53:35vstinnersetrecipients: + vstinner, serhiy.storchaka
2015-11-05 16:53:35vstinnersetmessageid: <1446742415.92.0.519205819647.issue25558@psf.upfronthosting.co.za>
2015-11-05 16:53:35vstinnerlinkissue25558 messages
2015-11-05 16:53:35vstinnercreate