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.

Author serhiy.storchaka
Recipients gvanrossum, serhiy.storchaka, vstinner
Date 2017-03-02.14:54:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488466444.68.0.907226246044.issue29695@psf.upfronthosting.co.za>
In-reply-to
Content
Proposed patches deprecate the "x" keyword parameter in int(), bool() and float() and the "sequence" keyword parameter in list() and tuple(). Name "x" is meaningless, and name "sequence" is misleading (any iterable is accepted, not just sequence). The documentation uses name "iterable" for list() and tuple().

It is never documented that any of these parameters are accepted by keywords. There was only a test for int(), but it was added just for increasing coverity, not to test intended behavior. Does this mean that the support of keyword arguments can be removed without deprecation?

The general idea got preliminary approval from Guido (https://mail.python.org/pipermail/python-ideas/2017-March/044959.html).
History
Date User Action Args
2017-03-02 14:54:04serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, vstinner
2017-03-02 14:54:04serhiy.storchakasetmessageid: <1488466444.68.0.907226246044.issue29695@psf.upfronthosting.co.za>
2017-03-02 14:54:04serhiy.storchakalinkissue29695 messages
2017-03-02 14:54:04serhiy.storchakacreate