Issue 39015: DeprecationWarnings of implicitly truncations by __int__ appearing in the standard library

Issue39015

Created on 2019-12-10 15:03 by lukasz.langa, last changed 2022-04-11 14:59 by admin.

Messages (2)
msg358195 - (view) Author: Ɓukasz Langa (lukasz.langa) * (Python committer) Date: 2019-12-10 15:03
The original issue was bpo-36048. Some call sites were not updated and now 3.8.0 and 3.8.1rc1 are emitting a lot of warnings like:

    <frozen importlib._bootstrap>:219: DeprecationWarning: an integer is required (got type float).  Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.

Adding authors of GH-11952 as nosy.
msg358197 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2019-12-10 15:30
How did you get warnings?
History
Date User Action Args
2022-04-11 14:59:24adminsetstatus: pending -> open
github: 83196
2019-12-12 09:18:19serhiy.storchakasetstatus: open -> pending
2019-12-10 15:31:45xtreaksetnosy: + xtreak
2019-12-10 15:30:59serhiy.storchakasetmessages: + msg358197
2019-12-10 15:03:06lukasz.langacreate