New submission from Andy Maier <andreas.r.ma...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue34434>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to