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 lukasz.langa, serhiy.storchaka
Date 2018-02-09.09:27:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1518168459.08.0.467229070634.issue32805@psf.upfronthosting.co.za>
In-reply-to
Content
PyDTrace_GC_DONE() accepts the argument of type int. But it is called with the sum of collected and uncollectable objects which has type Py_ssize_t and can be larger that maximal int.

This produces a compiler warning on Windows:

..\Modules\gcmodule.c(978): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data [D:\buildarea\3.x.bolen-windows10\build\PCbuild\pythoncore.vcxproj]

and looks as not false alarm.
History
Date User Action Args
2018-02-09 09:27:39serhiy.storchakasetrecipients: + serhiy.storchaka, lukasz.langa
2018-02-09 09:27:39serhiy.storchakasetmessageid: <1518168459.08.0.467229070634.issue32805@psf.upfronthosting.co.za>
2018-02-09 09:27:38serhiy.storchakalinkissue32805 messages
2018-02-09 09:27:38serhiy.storchakacreate