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.

classification
Title: DeprecationWarnings of implicitly truncations by __int__ appearing in the standard library
Type: behavior Stage: needs patch
Components: Library (Lib) Versions: Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: lukasz.langa, serhiy.storchaka, vstinner, xtreak
Priority: normal Keywords: 3.8regression

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