[New-bugs-announce] [issue39015] DeprecationWarnings of implicitly truncations by __int__ appearing in the standard library

Łukasz Langa report at bugs.python.org
Tue Dec 10 10:03:06 EST 2019


New submission from Łukasz Langa <lukasz at langa.pl>:

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.

----------
components: Library (Lib)
keywords: 3.8regression
messages: 358195
nosy: lukasz.langa, serhiy.storchaka, vstinner
priority: normal
severity: normal
stage: needs patch
status: open
title: DeprecationWarnings of implicitly truncations by __int__ appearing in the standard library
type: behavior
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39015>
_______________________________________


More information about the New-bugs-announce mailing list