[issue17806] Add keyword args support to str/bytes.expandtabs()

Serhiy Storchaka report at bugs.python.org
Sat May 4 13:48:36 CEST 2013


Serhiy Storchaka added the comment:

> FTR the reason to add this is consistency

This always was a weak reason.

> and readability

It is a matter of taste. For me s.expandtabs(3) looks more readable than s.expandtabs(tabsize=3).

I don't see an urgent need for this feature and don't like a complication. Let's defer this change until the passing of the keyword arguments will not be significantly optimized. I'm -0 for committing right now.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17806>
_______________________________________


More information about the Python-bugs-list mailing list