[New-bugs-announce] [issue34434] Removal of kwargs for int() etc not described as change

Andy Maier report at bugs.python.org
Sun Aug 19 09:37:10 EDT 2018


New submission from Andy Maier <andreas.r.maier at gmx.de>:

Python 3.7 removed support for passing the argument to the built-in functions int(), bool(), float(), list() and tuple() as a keyword argument.

This change is described in the "What's New" for 3.7 (https://docs.python.org/3/whatsnew/3.7.html) in section "API and Feature Removals":

    Functions bool(), float(), list() and tuple() no longer take
    keyword arguments. The first argument of int() can now be passed
    only as positional argument.

The issue is that this change is not described in the documentation of these built-in functions.

----------
messages: 323756
nosy: andymaier
priority: normal
severity: normal
status: open
title: Removal of kwargs for int() etc not described as change
type: enhancement
versions: Python 3.7, Python 3.8

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


More information about the New-bugs-announce mailing list