Message 272444 - Python tracker (original) (raw)

Message272444

Author martin.panter
Recipients martin.panter, serhiy.storchaka, skrah, vstinner
Date 2016-08-11.13:03:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id 1470920618.23.0.819964084334.issue23545@psf.upfronthosting.co.za
In-reply-to
Content
The proposed options add exactly one warning for me (ignoring warnings from libffi). How would you work around this: ./Include/pymem.h:136:18: warning: comparison is always false due to limited range of data type [-Wtype-limits] ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL : \ ^ /media/disk/home/proj/python/cpython/Modules/_ssl.c:4435:22: note: in expansion of macro ‘PyMem_New’ _ssl_locks = PyMem_New(PyThread_type_lock, _ssl_locks_count); ^~~~~~~~~
History
Date User Action Args
2016-08-11 13:03:38 martin.panter set recipients: + martin.panter, vstinner, skrah, serhiy.storchaka
2016-08-11 13:03:38 martin.panter set messageid: 1470920618.23.0.819964084334.issue23545@psf.upfronthosting.co.za
2016-08-11 13:03:38 martin.panter link issue23545 messages
2016-08-11 13:03:37 martin.panter create