[New-bugs-announce] [issue34024] Builtin types take no keyword arguments anymore

Kay Hayen report at bugs.python.org
Mon Jul 2 11:03:21 EDT 2018


New submission from Kay Hayen <kay.hayen at gmail.com>:

Hello,

things like list(sequence = something) ought to work in Python 3.6 back to the oldest Python2 I know.

However, in 3.7 this raises an exception about not accepting keyword arguments.

I noticed the same for tuple, int, float(x=9.0), and probably a lot others. It is not described in the release notes either.

I think it's a bug and might affect existing code. Or is this how thing will be from now on?

Yours,
Kay

----------
components: Interpreter Core
messages: 320888
nosy: kayhayen
priority: normal
severity: normal
status: open
title: Builtin types take no keyword arguments anymore
type: behavior
versions: Python 3.7

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


More information about the New-bugs-announce mailing list