Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:

On Mon, Jul 5, 2010 at 1:39 PM, Antoine Pitrou <rep...@bugs.python.org> wrote:
..
> -1 from me. Deprecating correct code should be done for serious
> reasons, not aesthetical (i.e. gratuitous) ones.

I would think that deprecating error-prone constructs is well within normal 
library evolution.  For example, several interfaces that accepted floats by 
truncating them to ints were deprecated in the past.

PS: "aesthetical" != "gratuitous"

Someone using more than 3 positional arguments to timedelta most likely  expects

timedelta(days, hours, minutes, seconds, microseconds)

rather than

timedelta(days, seconds, microseconds, milliseconds, minutes, ...)

Has anyone seen (non-buggy) code in the wild that used > 3 positional arguments 
to timedelta?  (Mark just asked me not to use 2!)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9169>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to