[issue9169] Deprecate use of more than 3 positional arguments in timedelta constructor
Antoine Pitrou
report at bugs.python.org
Mon Jul 5 19:39:23 CEST 2010
Antoine Pitrou <pitrou at free.fr> added the comment:
> This would be a backward incompatible change, so it would need to go
> through a deprecation process, but I think someone writing
>
> HOUR = timedelta(0, 0, 0, 0, 0, 1)
>
> or
>
> WEEK = timedelta(0, 0, 0, 0, 0, 0, 1)
>
> deserves a deprecation warning.
-1 from me. Deprecating correct code should be done for serious reasons,
not aesthetical (i.e. gratuitous) ones.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9169>
_______________________________________
More information about the Python-bugs-list
mailing list